Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.000781/0.0007809, 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.0008506/0.0008506, allocations: 177.1 kB / 16.58 MB, free: 6.512 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.278/1.278, allocations: 223.2 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6433/0.6433, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002878, allocations: 13.61 kB / 493.2 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1412, allocations: 77.11 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.004933/0.1462, allocations: 4.494 MB / 0.5613 GB, free: 7.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004334/0.1506, allocations: 3.08 MB / 0.5643 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.1509, allocations: 15.94 kB / 0.5643 GB, free: 4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.1514, allocations: 159.1 kB / 0.5645 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008202/0.1522, allocations: 306.5 kB / 0.5648 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.1528, allocations: 185.4 kB / 0.5649 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008639/0.1537, allocations: 0.7048 MB / 0.5656 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.1549, allocations: 0.7317 MB / 0.5663 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003229/0.1552, allocations: 195.2 kB / 0.5665 GB, free: 1.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.1556, allocations: 263.1 kB / 0.5668 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.1557, allocations: 20 kB / 0.5668 GB, free: 1.422 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005601/0.1562, allocations: 235.7 kB / 0.567 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.1564, allocations: 139.6 kB / 0.5672 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.769e-05/0.1565, allocations: 105.5 kB / 0.5673 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.1572, allocations: 0.7208 MB / 0.568 GB, free: 228 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1572, allocations: 4 kB / 0.568 GB, free: 224 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1572, allocations: 0 / 0.568 GB, free: 224 kB / 430.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1572, allocations: 0 / 0.568 GB, free: 224 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001213/0.1584, allocations: 0.7363 MB / 0.5687 GB, free: 15.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1585, allocations: 8.031 kB / 0.5687 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.739e-05/0.1586, allocations: 74.53 kB / 0.5688 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.161, allocations: 0.6975 MB / 0.5694 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007213/0.1617, allocations: 486.6 kB / 0.5699 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1618, allocations: 20.66 kB / 0.5699 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.708e-05/0.1619, allocations: 28 kB / 0.57 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.1633, allocations: 0.8434 MB / 0.5708 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.1633, allocations: 0 / 0.5708 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.846e-05/0.1634, allocations: 15.98 kB / 0.5708 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.1636, allocations: 76.5 kB / 0.5709 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.1654, allocations: 0.9351 MB / 0.5718 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.169, allocations: 2.925 MB / 0.5746 GB, free: 9.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/0.1704, allocations: 0.561 MB / 0.5752 GB, free: 8.477 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.1711, allocations: 321.7 kB / 0.5755 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/0.1712, allocations: 85.3 kB / 0.5756 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1712, allocations: 46.73 kB / 0.5756 GB, free: 8.004 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 2.375e-06/0.1712, allocations: 0 / 0.5756 GB, free: 8.004 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.01077/0.182, allocations: 3.647 MB / 0.5792 GB, free: 4.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.1821, allocations: 81.11 kB / 0.5793 GB, free: 4.207 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.1826, allocations: 408.4 kB / 0.5796 GB, free: 3.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.1827, allocations: 37.7 kB / 0.5797 GB, free: 3.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.1829, allocations: 239.9 kB / 0.5799 GB, free: 3.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.183, allocations: 102.4 kB / 0.58 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.631e-05/0.183, allocations: 12 kB / 0.58 GB, free: 3.406 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1832, allocations: 342.8 kB / 0.5803 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008172/0.184, allocations: 407.6 kB / 0.5807 GB, free: 2.664 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008529/0.1848, allocations: 481 kB / 0.5812 GB, free: 2.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008307/0.1857, allocations: 443.5 kB / 0.5816 GB, free: 1.727 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1857, allocations: 0 / 0.5816 GB, free: 1.727 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.3433/0.529, allocations: 1.722 MB / 0.5833 GB, free: 32.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.5292, allocations: 145.1 kB / 0.5834 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.5292, allocations: 7.047 kB / 0.5834 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004864/0.5341, allocations: 0.978 MB / 0.5844 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007314/0.5349, allocations: 134 kB / 0.5845 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.5449, allocations: 6.391 MB / 0.5908 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.546, allocations: 122.2 kB / 0.5909 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-05/0.5461, allocations: 18.62 kB / 0.5909 GB, free: 28.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5462, allocations: 3.719 kB / 0.5909 GB, free: 28.46 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01526/0.5614, allocations: 1.655 MB / 0.5925 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.5615, allocations: 1.562 kB / 0.5925 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002887/0.5644, allocations: 0.7298 MB / 0.5932 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.565, allocations: 132.9 kB / 0.5934 GB, free: 27.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005109/0.5701, allocations: 5.439 MB / 0.5987 GB, free: 23.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000796/0.5709, allocations: 110.2 kB / 0.5988 GB, free: 23.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.571, allocations: 18.09 kB / 0.5988 GB, free: 23.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 29 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004575/0.5715, allocations: 323 kB / 0.5991 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.299e-05/0.5716, allocations: 39.55 kB / 0.5991 GB, free: 23.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005202/0.5768, allocations: 1.63 MB / 0.6007 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.5768, allocations: 4.062 kB / 0.6007 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5768, allocations: 5.484 kB / 0.6007 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.5769, allocations: 5.734 kB / 0.6008 GB, free: 22.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00598/0.5828, allocations: 2.312 MB / 0.603 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.5829, allocations: 4.422 kB / 0.603 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003703/0.5833, allocations: 86.56 kB / 0.6031 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/0.5867, allocations: 0.917 MB / 0.604 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.5868, allocations: 11.98 kB / 0.604 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006535/0.5933, allocations: 6.239 MB / 0.6101 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5933, allocations: 1.156 kB / 0.6101 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004425/0.5978, allocations: 1.627 MB / 0.6117 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.5981, allocations: 180.5 kB / 0.6119 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.211e-05/0.5982, allocations: 10.3 kB / 0.6119 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005264/0.5988, allocations: 97.81 kB / 0.612 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.5989, allocations: 33.48 kB / 0.612 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.599, allocations: 11.5 kB / 0.612 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004051/0.5994, allocations: 310.1 kB / 0.6123 GB, free: 15.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5994, allocations: 4 kB / 0.6123 GB, free: 15.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001198/0.6006, allocations: 240.4 kB / 0.6125 GB, free: 15.37 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * Single equations (assignments): 19 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004865/0.6055, allocations: 2.2 MB / 0.6147 GB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004681/0.6102, allocations: 2.262 MB / 0.6169 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6102, allocations: 0 / 0.6169 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.6118, allocations: 0.8235 MB / 0.6177 GB, free: 11.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000958/0.6128, allocations: 121.1 kB / 0.6178 GB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009656/0.6225, allocations: 4.582 MB / 0.6223 GB, free: 8.996 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.6228, allocations: 0.9312 MB / 0.6232 GB, free: 8.168 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.6234, allocations: 161.7 kB / 0.6233 GB, free: 8.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.6236, allocations: 139 kB / 0.6235 GB, free: 7.988 MB / 446.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6236, allocations: 0 / 0.6235 GB, free: 7.988 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.6527, allocations: 18.06 MB / 0.6411 GB, free: 8.023 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.6529, allocations: 240.6 kB / 0.6413 GB, free: 7.781 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.569, allocations: 1.719 kB / 0.6414 GB, free: 7.781 MB / 462.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: