Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 289.9 MB / 297.4 MB, free: 6.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00107/0.00107, allocations: 180.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008653/0.0008652, allocations: 90.62 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.75e-05/2.786e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7783/0.7784, allocations: 116.3 MB / 0.9734 GB, free: 76.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2461/1.025, allocations: 209.8 MB / 1.178 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/1.025, allocations: 104.5 kB / 1.178 GB, free: 4.023 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.7248/1.75, allocations: 84.82 MB / 1.261 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.714e-06/1.75, allocations: 1.375 kB / 1.261 GB, free: 208.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001423/1.75, allocations: 38.28 kB / 1.261 GB, free: 208.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003668/1.753, allocations: 1.627 MB / 1.263 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.754, allocations: 9.766 kB / 1.263 GB, free: 207.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0127/1.766, allocations: 1.959 MB / 1.265 GB, free: 207.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006345/1.773, allocations: 2.068 MB / 1.267 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.663e-05/1.773, allocations: 41.06 kB / 1.267 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/1.773, allocations: 70.78 kB / 1.267 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003283/1.776, allocations: 1.65 MB / 1.268 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003363/1.78, allocations: 2.05 MB / 1.27 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/1.78, allocations: 9.359 kB / 1.27 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/1.78, allocations: 8.281 kB / 1.271 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/1.78, allocations: 87.48 kB / 1.271 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/1.797, allocations: 10.44 MB / 1.281 GB, free: 201.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/1.8, allocations: 1.479 MB / 1.282 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/1.801, allocations: 0.8722 MB / 1.283 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.342e-05/1.801, allocations: 9.922 kB / 1.283 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/1.801, allocations: 45.19 kB / 1.283 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=89): time 3.386e-06/1.801, allocations: 6.469 kB / 1.283 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=153): time 0.01831/1.82, allocations: 6.892 MB / 1.29 GB, free: 200.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.882e-05/1.82, allocations: 225.1 kB / 1.29 GB, free: 200.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/1.821, allocations: 0.806 MB / 1.291 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002981/1.822, allocations: 27.73 kB / 1.291 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005579/1.822, allocations: 0.7512 MB / 1.292 GB, free: 199.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004762/1.823, allocations: 0.4903 MB / 1.292 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/1.823, allocations: 2.625 kB / 1.292 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.823, allocations: 363.5 kB / 1.292 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.825, allocations: 1.095 MB / 1.294 GB, free: 199.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001805/1.826, allocations: 1.365 MB / 1.295 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/1.829, allocations: 1.262 MB / 1.296 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.829, allocations: 2.906 kB / 1.296 GB, free: 198.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01161/1.84, allocations: 4.443 MB / 1.3 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.117e-05/1.84, allocations: 14.59 kB / 1.3 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/1.84, allocations: 5.5 kB / 1.3 GB, free: 197.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008865/1.849, allocations: 2.077 MB / 1.302 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/1.851, allocations: 424.4 kB / 1.303 GB, free: 197.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0252/1.877, allocations: 21.75 MB / 1.324 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/1.88, allocations: 302.1 kB / 1.324 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/1.88, allocations: 67.42 kB / 1.324 GB, free: 182.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004083/1.881, allocations: 122.2 kB / 1.325 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009466/1.89, allocations: 4.221 MB / 1.329 GB, free: 180.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007506/1.891, allocations: 164.2 kB / 1.329 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009668/1.901, allocations: 4.523 MB / 1.333 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/1.901, allocations: 13.38 kB / 1.333 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-05/1.901, allocations: 17.75 kB / 1.333 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.784e-05/1.901, allocations: 11.25 kB / 1.333 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/1.914, allocations: 6.565 MB / 1.34 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.914, allocations: 3.375 kB / 1.34 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001787/1.916, allocations: 360.1 kB / 1.34 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007404/1.924, allocations: 1.951 MB / 1.342 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/1.924, allocations: 20.8 kB / 1.342 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/1.945, allocations: 20.9 MB / 1.362 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/1.945, allocations: 6.219 kB / 1.362 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008941/1.954, allocations: 4.308 MB / 1.367 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.956, allocations: 0.4913 MB / 1.367 GB, free: 159.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/1.956, allocations: 5.688 kB / 1.367 GB, free: 159.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/1.958, allocations: 310.2 kB / 1.367 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/1.959, allocations: 153.3 kB / 1.368 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.959, allocations: 49.2 kB / 1.368 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000847/1.96, allocations: 0.609 MB / 1.368 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.252e-06/1.96, allocations: 0 / 1.368 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002885/1.963, allocations: 0.6355 MB / 1.369 GB, free: 159.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009215/1.972, allocations: 5.661 MB / 1.374 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006801/1.979, allocations: 4.183 MB / 1.378 GB, free: 154 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/1.979, allocations: 0 / 1.378 GB, free: 154 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00479/1.984, allocations: 2.83 MB / 1.381 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/1.986, allocations: 428 kB / 1.382 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007383/1.994, allocations: 3.442 MB / 1.385 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/1.995, allocations: 1.603 MB / 1.387 GB, free: 149 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001706/1.996, allocations: 381.5 kB / 1.387 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007766/1.997, allocations: 0.6627 MB / 1.388 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.483e-06/1.997, allocations: 0 / 1.388 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08422/2.081, allocations: 54.34 MB / 1.441 GB, free: 99.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/2.082, allocations: 164.5 kB / 1.441 GB, free: 99.64 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/5.794, allocations: 0 / 1.441 GB, free: 99.64 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)