Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.759/1.759, allocations: 289.7 MB / 302.2 MB, free: 2.133 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.001255/0.001255, allocations: 180.5 kB / 371.6 MB, free: 3.438 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.721/1.721, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009436/0.0009437, allocations: 91.7 kB / 0.745 GB, free: 54.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.197e-05/4.199e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3211, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9901/1.311, allocations: 171.8 MB / 1.148 GB, free: 20.93 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.312, allocations: 95.73 kB / 1.148 GB, free: 20.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.4335/1.745, allocations: 181.6 MB / 1.325 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.925e-06/1.745, allocations: 4 kB / 1.325 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004081/1.746, allocations: 124 kB / 1.325 GB, free: 15.44 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01629/1.762, allocations: 4.155 MB / 1.329 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/1.762, allocations: 8.031 kB / 1.329 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003983/1.766, allocations: 0.6982 MB / 1.33 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008146/1.774, allocations: 1.012 MB / 1.331 GB, free: 9.496 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/1.785, allocations: 3.217 MB / 1.334 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004413/1.785, allocations: 361.9 kB / 1.334 GB, free: 5.867 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00268/1.788, allocations: 472 kB / 1.335 GB, free: 5.406 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02132/1.809, allocations: 7.43 MB / 1.342 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001677/1.81, allocations: 23.78 kB / 1.342 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008641/1.811, allocations: 212 kB / 1.342 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003188/1.811, allocations: 265.2 kB / 1.343 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/1.824, allocations: 5.31 MB / 1.348 GB, free: 7.688 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04793/1.872, allocations: 36.26 MB / 1.383 GB, free: 204 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7544/2.627, allocations: 2.105 MB / 1.385 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002201/2.629, allocations: 1.458 MB / 1.387 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/2.629, allocations: 17.62 kB / 1.387 GB, free: 185.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/2.629, allocations: 57.08 kB / 1.387 GB, free: 185.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=157): time 3.616e-06/2.629, allocations: 3 kB / 1.387 GB, free: 185.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=160): time 0.01122/2.64, allocations: 4.971 MB / 1.392 GB, free: 185 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/2.64, allocations: 71.5 kB / 1.392 GB, free: 185 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004073/2.644, allocations: 1.538 MB / 1.393 GB, free: 184.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004148/2.645, allocations: 51.95 kB / 1.393 GB, free: 184.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002416/2.647, allocations: 2.096 MB / 1.395 GB, free: 184 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008525/2.648, allocations: 0.5614 MB / 1.396 GB, free: 183.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/2.648, allocations: 41.75 kB / 1.396 GB, free: 183.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001657/2.648, allocations: 391.4 kB / 1.396 GB, free: 183.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/2.65, allocations: 0.9957 MB / 1.397 GB, free: 183.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002537/2.653, allocations: 1.706 MB / 1.399 GB, free: 182.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002387/2.655, allocations: 1.292 MB / 1.4 GB, free: 182.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.081e-05/2.655, allocations: 7.125 kB / 1.4 GB, free: 182.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.008716/2.664, allocations: 3.768 MB / 1.404 GB, free: 182.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/2.664, allocations: 17.66 kB / 1.404 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.786e-05/2.664, allocations: 25.91 kB / 1.404 GB, free: 182.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/2.667, allocations: 0.9113 MB / 1.405 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/2.668, allocations: 420.1 kB / 1.405 GB, free: 182.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01758/2.686, allocations: 20.99 MB / 1.426 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00309/2.689, allocations: 119.6 kB / 1.426 GB, free: 167 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/2.689, allocations: 97.64 kB / 1.426 GB, free: 167 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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%) 6,(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.0005193/2.69, allocations: 240.4 kB / 1.426 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004946/2.69, allocations: 256 kB / 1.426 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00521/2.695, allocations: 3.235 MB / 1.429 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/2.695, allocations: 16.56 kB / 1.429 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/2.695, allocations: 13.7 kB / 1.429 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/2.695, allocations: 6.891 kB / 1.429 GB, free: 166.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/2.707, allocations: 7.47 MB / 1.437 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/2.707, allocations: 6.594 kB / 1.437 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008882/2.708, allocations: 222.2 kB / 1.437 GB, free: 165.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/2.71, allocations: 0.8718 MB / 1.438 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/2.71, allocations: 36.73 kB / 1.438 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01548/2.726, allocations: 20.96 MB / 1.458 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/2.726, allocations: 12.09 kB / 1.458 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006173/2.732, allocations: 3.669 MB / 1.462 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001713/2.734, allocations: 0.5301 MB / 1.462 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008758/2.735, allocations: 32.56 kB / 1.462 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/2.737, allocations: 96.89 kB / 1.463 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004722/2.737, allocations: 138.5 kB / 1.463 GB, free: 149.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/2.737, allocations: 48.53 kB / 1.463 GB, free: 149.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002431/2.74, allocations: 1.162 MB / 1.464 GB, free: 149.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.7e-07/2.74, allocations: 4.438 kB / 1.464 GB, free: 149.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00486/2.744, allocations: 0.9348 MB / 1.465 GB, free: 149.2 MB / 0.948 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00598/2.75, allocations: 5.393 MB / 1.47 GB, free: 146.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006485/2.757, allocations: 4.284 MB / 1.474 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.106e-05/2.757, allocations: 3 kB / 1.474 GB, free: 145.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004453/2.762, allocations: 2.95 MB / 1.477 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004533/2.766, allocations: 0.7224 MB / 1.478 GB, free: 143.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02096/2.787, allocations: 7.173 MB / 1.485 GB, free: 142.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003452/2.791, allocations: 3.287 MB / 1.488 GB, free: 141.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002168/2.793, allocations: 0.5154 MB / 1.489 GB, free: 141.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/2.795, allocations: 1.679 MB / 1.49 GB, free: 141.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/2.795, allocations: 0 / 1.49 GB, free: 141.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1444/2.939, allocations: 68.21 MB / 1.557 GB, free: 138.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/2.939, allocations: 189.5 kB / 1.557 GB, free: 138.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.202/7.141, allocations: 7.234 kB / 1.557 GB, free: 138.6 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)