Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.791/2.791, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001578/0.001578, allocations: 180.8 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001073/0.001072, allocations: 94.84 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.851e-05/2.849e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7981/0.7982, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2826/1.081, allocations: 170 MB / 1.129 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/1.081, allocations: 91.94 kB / 1.13 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.347/2.428, allocations: 178.9 MB / 1.304 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.435e-06/2.428, allocations: 0 / 1.304 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0004294/2.428, allocations: 118.1 kB / 1.304 GB, free: 184.8 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01804/2.446, allocations: 3.824 MB / 1.308 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/2.446, allocations: 9.406 kB / 1.308 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/2.457, allocations: 0.9369 MB / 1.309 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/2.469, allocations: 2.988 MB / 1.312 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/2.469, allocations: 154.2 kB / 1.312 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002579/2.472, allocations: 272.8 kB / 1.312 GB, free: 182.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01512/2.487, allocations: 4.529 MB / 1.317 GB, free: 182.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/2.509, allocations: 6.55 MB / 1.323 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002918/2.51, allocations: 26.23 kB / 1.323 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001989/2.512, allocations: 11.19 kB / 1.323 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000477/2.512, allocations: 276.1 kB / 1.323 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04933/2.562, allocations: 34.08 MB / 1.357 GB, free: 152.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/2.566, allocations: 2.095 MB / 1.359 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/2.568, allocations: 1.209 MB / 1.36 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/2.568, allocations: 14.28 kB / 1.36 GB, free: 150.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/2.568, allocations: 47.19 kB / 1.36 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=133): time 4.679e-06/2.568, allocations: 0 / 1.36 GB, free: 150.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=136): time 0.01191/2.58, allocations: 4.371 MB / 1.364 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.924e-05/2.58, allocations: 63.88 kB / 1.364 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/2.582, allocations: 1.066 MB / 1.365 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/2.582, allocations: 29.55 kB / 1.365 GB, free: 147.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/2.584, allocations: 1.99 MB / 1.367 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006682/2.584, allocations: 464.3 kB / 1.368 GB, free: 146 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/2.585, allocations: 0 / 1.368 GB, free: 146 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001402/2.585, allocations: 385.8 kB / 1.368 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/2.586, allocations: 0.8481 MB / 1.369 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/2.588, allocations: 1.483 MB / 1.37 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002263/2.591, allocations: 1.117 MB / 1.372 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.78e-05/2.591, allocations: 7.75 kB / 1.372 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.008576/2.599, allocations: 3.206 MB / 1.375 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/2.599, allocations: 19.23 kB / 1.375 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/2.6, allocations: 22.09 kB / 1.375 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004144/2.604, allocations: 0.8782 MB / 1.376 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002421/2.606, allocations: 349.8 kB / 1.376 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03547/2.642, allocations: 20.35 MB / 1.396 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003541/2.645, allocations: 69 kB / 1.396 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/2.646, allocations: 88.06 kB / 1.396 GB, free: 124.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006477/2.646, allocations: 177.8 kB / 1.396 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008623/2.655, allocations: 2.676 MB / 1.399 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007662/2.656, allocations: 189.2 kB / 1.399 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007663/2.664, allocations: 2.809 MB / 1.402 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-05/2.664, allocations: 15.03 kB / 1.402 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-05/2.664, allocations: 10.94 kB / 1.402 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/2.664, allocations: 11.08 kB / 1.402 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/2.681, allocations: 6.383 MB / 1.408 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/2.681, allocations: 3.875 kB / 1.408 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/2.683, allocations: 181.8 kB / 1.408 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00406/2.687, allocations: 0.8004 MB / 1.409 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002839/2.687, allocations: 3.719 kB / 1.409 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02168/2.709, allocations: 19.46 MB / 1.428 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/2.709, allocations: 7.75 kB / 1.428 GB, free: 102.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007542/2.717, allocations: 3.15 MB / 1.431 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/2.718, allocations: 441.3 kB / 1.431 GB, free: 99.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005934/2.719, allocations: 7.656 kB / 1.431 GB, free: 99.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/2.721, allocations: 50.69 kB / 1.431 GB, free: 99.67 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004271/2.721, allocations: 126.5 kB / 1.432 GB, free: 99.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/2.721, allocations: 36 kB / 1.432 GB, free: 99.55 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001517/2.723, allocations: 0.78 MB / 1.432 GB, free: 98.86 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.41e-07/2.723, allocations: 3.391 kB / 1.432 GB, free: 98.86 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004697/2.728, allocations: 0.7539 MB / 1.433 GB, free: 98.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0079/2.735, allocations: 4.89 MB / 1.438 GB, free: 93.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007874/2.743, allocations: 3.729 MB / 1.442 GB, free: 89.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/2.743, allocations: 0.625 kB / 1.442 GB, free: 89.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005309/2.749, allocations: 2.577 MB / 1.444 GB, free: 87.44 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00493/2.754, allocations: 0.593 MB / 1.445 GB, free: 87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/2.774, allocations: 6.659 MB / 1.451 GB, free: 81.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005621/2.78, allocations: 3.184 MB / 1.454 GB, free: 78.66 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002463/2.782, allocations: 446.9 kB / 1.455 GB, free: 78.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003185/2.786, allocations: 1.548 MB / 1.456 GB, free: 76.94 MB / 0.8542 GB Notification: Performance of SimCode: time 1.493e-06/2.786, allocations: 0 / 1.456 GB, free: 76.94 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/2.931, allocations: 56.56 MB / 1.511 GB, free: 21.46 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/2.931, allocations: 162.4 kB / 1.512 GB, free: 21.27 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.241/7.172, allocations: 3.938 kB / 1.512 GB, free: 21.27 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)