Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007552/0.0007552, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007982/0.0007982, allocations: 170.8 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.222/1.222, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7018/0.7018, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002989/0.0002989, allocations: 13.84 kB / 493.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1318, allocations: 77.1 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01044/0.1422, allocations: 10.68 MB / 0.5673 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.149, allocations: 5.012 MB / 0.5722 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007264/0.1498, allocations: 31.81 kB / 0.5723 GB, free: 11.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.1506, allocations: 298 kB / 0.5725 GB, free: 11.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.1516, allocations: 0.5014 MB / 0.573 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.1528, allocations: 478.2 kB / 0.5735 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.1551, allocations: 2.789 MB / 0.5762 GB, free: 7.812 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004435/0.1595, allocations: 3.618 MB / 0.5797 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009458/0.1605, allocations: 0.7318 MB / 0.5805 GB, free: 3.406 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001083/0.1616, allocations: 1.012 MB / 0.5814 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1617, allocations: 92 kB / 0.5815 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007028/0.1624, allocations: 299.7 kB / 0.5818 GB, free: 2.008 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005926/0.163, allocations: 0.7249 MB / 0.5825 GB, free: 1.281 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.1633, allocations: 344.9 kB / 0.5829 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2372/0.4005, allocations: 3.023 MB / 0.5858 GB, free: 16.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4005, allocations: 0 / 0.5858 GB, free: 16.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.4005, allocations: 0 / 0.5858 GB, free: 16.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.34e-05/0.4006, allocations: 1.188 kB / 0.5858 GB, free: 16.36 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003142/0.4038, allocations: 1.64 MB / 0.5874 GB, free: 15.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.4038, allocations: 9 kB / 0.5874 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003713/0.4042, allocations: 248.9 kB / 0.5877 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.4064, allocations: 481.5 kB / 0.5881 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001961/0.4084, allocations: 1.136 MB / 0.5892 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-05/0.4085, allocations: 120.1 kB / 0.5893 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002878/0.4088, allocations: 150 kB / 0.5895 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004578/0.4134, allocations: 2.739 MB / 0.5922 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.4134, allocations: 4.406 kB / 0.5922 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001863/0.4136, allocations: 64.38 kB / 0.5922 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003386/0.414, allocations: 174.1 kB / 0.5924 GB, free: 14.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003965/0.418, allocations: 2.291 MB / 0.5946 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01004/0.428, allocations: 10.54 MB / 0.6049 GB, free: 9.301 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008093/0.4289, allocations: 0.5816 MB / 0.6055 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.4294, allocations: 386.6 kB / 0.6059 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-05/0.4295, allocations: 90.41 kB / 0.6059 GB, free: 9.164 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.4295, allocations: 37.8 kB / 0.606 GB, free: 9.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=36): time 2.555e-06/0.4295, allocations: 0 / 0.606 GB, free: 9.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.0166/0.4461, allocations: 6.272 MB / 0.6121 GB, free: 7.277 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.4462, allocations: 86.8 kB / 0.6122 GB, free: 7.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.4473, allocations: 0.8953 MB / 0.6131 GB, free: 6.672 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.4474, allocations: 37.27 kB / 0.6131 GB, free: 6.633 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003309/0.4477, allocations: 0.7506 MB / 0.6138 GB, free: 5.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.4479, allocations: 186.5 kB / 0.614 GB, free: 5.816 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.4479, allocations: 19.22 kB / 0.614 GB, free: 5.801 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.448, allocations: 386.5 kB / 0.6144 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008486/0.4489, allocations: 0.6371 MB / 0.615 GB, free: 5.105 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009432/0.4498, allocations: 1.008 MB / 0.616 GB, free: 4.285 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.4509, allocations: 0.8109 MB / 0.6168 GB, free: 3.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4509, allocations: 4.188 kB / 0.6168 GB, free: 3.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.007276/0.4582, allocations: 3.212 MB / 0.6199 GB, free: 2.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.4583, allocations: 437.9 kB / 0.6203 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4584, allocations: 12.44 kB / 0.6204 GB, free: 1.695 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006191/0.4646, allocations: 1.862 MB / 0.6222 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/0.4654, allocations: 227.5 kB / 0.6224 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0117/0.4771, allocations: 10.22 MB / 0.6324 GB, free: 8.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.4786, allocations: 179.1 kB / 0.6325 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.098e-05/0.4787, allocations: 44.69 kB / 0.6326 GB, free: 8.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.4787, allocations: 3.688 kB / 0.6326 GB, free: 8.41 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006088/0.4848, allocations: 2.619 MB / 0.6351 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.4848, allocations: 8 kB / 0.6352 GB, free: 6.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004223/0.4891, allocations: 1.214 MB / 0.6363 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/0.49, allocations: 250.6 kB / 0.6366 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/0.4964, allocations: 5.538 MB / 0.642 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.4975, allocations: 147.7 kB / 0.6421 GB, free: 14.95 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/0.4976, allocations: 48.06 kB / 0.6422 GB, free: 14.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001277/0.4989, allocations: 0.8432 MB / 0.643 GB, free: 14.06 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.499, allocations: 71.16 kB / 0.6431 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006745/0.5058, allocations: 2.69 MB / 0.6457 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.5058, allocations: 8 kB / 0.6457 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5058, allocations: 0 / 0.6457 GB, free: 11.28 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5059, allocations: 3.953 kB / 0.6457 GB, free: 11.27 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009327/0.5152, allocations: 4.626 MB / 0.6502 GB, free: 6.566 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5152, allocations: 0 / 0.6502 GB, free: 6.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.5156, allocations: 94.73 kB / 0.6503 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005757/0.5214, allocations: 1.709 MB / 0.652 GB, free: 4.758 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/0.5215, allocations: 11.98 kB / 0.652 GB, free: 4.746 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.5321, allocations: 9.765 MB / 0.6615 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5321, allocations: 10.47 kB / 0.6615 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006455/0.5386, allocations: 2.647 MB / 0.6641 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005493/0.5391, allocations: 280.1 kB / 0.6644 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.5393, allocations: 16 kB / 0.6644 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.54, allocations: 138 kB / 0.6645 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/0.5401, allocations: 47.12 kB / 0.6646 GB, free: 7.297 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.5402, allocations: 16 kB / 0.6646 GB, free: 7.281 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008195/0.541, allocations: 0.6395 MB / 0.6652 GB, free: 6.645 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.541, allocations: 0 / 0.6652 GB, free: 6.645 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001962/0.543, allocations: 0.5977 MB / 0.6658 GB, free: 6.047 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006732/0.5497, allocations: 3.244 MB / 0.669 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0047/0.5545, allocations: 3.248 MB / 0.6721 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.5545, allocations: 0 / 0.6721 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.5562, allocations: 1.272 MB / 0.6734 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5574, allocations: 214.1 kB / 0.6736 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.5745, allocations: 9.847 MB / 0.6832 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.5758, allocations: 1.626 MB / 0.6848 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001149/0.577, allocations: 498.3 kB / 0.6853 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/0.5776, allocations: 491.3 kB / 0.6857 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of SimCode: time 1.252e-06/0.5776, allocations: 0 / 0.6857 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04833/0.6259, allocations: 34.52 MB / 0.7195 GB, free: 15.24 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.6261, allocations: 240.9 kB / 0.7197 GB, free: 15 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.976/2.602, allocations: 0 / 0.7197 GB, free: 15 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: