Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",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.0007933/0.0007932, allocations: 92.78 kB / 15.7 MB, free: 472 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.0008252/0.0008251, allocations: 172.1 kB / 16.58 MB, free: 6.066 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.239/1.239, allocations: 223.2 MB / 240.6 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.666/0.666, allocations: 113.7 MB / 405.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 8.219 kB / 493.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1409, allocations: 77.12 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003859/0.1448, allocations: 3.738 MB / 0.5606 GB, free: 7.926 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.1476, allocations: 2.203 MB / 0.5627 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.1478, allocations: 15.88 kB / 0.5627 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.148, allocations: 71.36 kB / 0.5628 GB, free: 5.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005836/0.1486, allocations: 282.6 kB / 0.5631 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.1491, allocations: 235.4 kB / 0.5633 GB, free: 5.121 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006389/0.1497, allocations: 0.7412 MB / 0.564 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006848/0.1504, allocations: 409.8 kB / 0.5644 GB, free: 3.957 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.1507, allocations: 219 kB / 0.5646 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.151, allocations: 251 kB / 0.5649 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.1511, allocations: 24 kB / 0.5649 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.1514, allocations: 219.6 kB / 0.5651 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1515, allocations: 127.6 kB / 0.5652 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.779e-05/0.1516, allocations: 105.5 kB / 0.5653 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.1521, allocations: 0.5301 MB / 0.5658 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1521, allocations: 8 kB / 0.5658 GB, free: 2.484 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1521, allocations: 3.938 kB / 0.5658 GB, free: 2.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1522, allocations: 0 / 0.5658 GB, free: 2.48 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0008854/0.153, allocations: 0.7052 MB / 0.5665 GB, free: 1.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.1531, allocations: 8.031 kB / 0.5665 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.157e-05/0.1532, allocations: 78.53 kB / 0.5666 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.1543, allocations: 179.1 kB / 0.5668 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004582/0.1548, allocations: 399.4 kB / 0.5672 GB, free: 1.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.1548, allocations: 24.98 kB / 0.5672 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.1549, allocations: 39.97 kB / 0.5672 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007753/0.1557, allocations: 0.6474 MB / 0.5679 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.1557, allocations: 8 kB / 0.5679 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.658e-05/0.1557, allocations: 15.98 kB / 0.5679 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.609e-05/0.1558, allocations: 51.97 kB / 0.5679 GB, free: 152 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006799/0.1565, allocations: 0.4921 MB / 0.5684 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.1593, allocations: 3.79 MB / 0.5721 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.1608, allocations: 0.6289 MB / 0.5727 GB, free: 10.95 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.161, allocations: 170.5 kB / 0.5729 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.161, allocations: 7.938 kB / 0.5729 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.1611, allocations: 42.56 kB / 0.5729 GB, free: 10.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.925e-06/0.1611, allocations: 0 / 0.5729 GB, free: 10.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.001963/0.1631, allocations: 1.281 MB / 0.5742 GB, free: 9.359 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.1631, allocations: 110.8 kB / 0.5743 GB, free: 9.227 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003619/0.1635, allocations: 393.8 kB / 0.5747 GB, free: 8.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1635, allocations: 29.7 kB / 0.5747 GB, free: 8.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.1637, allocations: 283.5 kB / 0.575 GB, free: 8.516 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.1638, allocations: 122.3 kB / 0.5751 GB, free: 8.395 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.1638, allocations: 8 kB / 0.5751 GB, free: 8.387 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.164, allocations: 358.8 kB / 0.5754 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.1642, allocations: 173 kB / 0.5756 GB, free: 7.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.1646, allocations: 371.5 kB / 0.5759 GB, free: 7.406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.1649, allocations: 228.8 kB / 0.5762 GB, free: 7.184 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1649, allocations: 3.953 kB / 0.5762 GB, free: 7.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009243/0.1658, allocations: 0.6799 MB / 0.5768 GB, free: 6.488 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1658, allocations: 8 kB / 0.5768 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1659, allocations: 8 kB / 0.5768 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.1662, allocations: 94.5 kB / 0.5769 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.1665, allocations: 112.1 kB / 0.577 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.1694, allocations: 4.033 MB / 0.581 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.1696, allocations: 31.97 kB / 0.581 GB, free: 1.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.1697, allocations: 24 kB / 0.581 GB, free: 1.777 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.1699, allocations: 201 kB / 0.5812 GB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-05/0.17, allocations: 47.44 kB / 0.5813 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007991/0.1708, allocations: 0.5184 MB / 0.5818 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1708, allocations: 11.98 kB / 0.5818 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1708, allocations: 4 kB / 0.5818 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1708, allocations: 0 / 0.5818 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2901/0.4609, allocations: 1.268 MB / 0.583 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.461, allocations: 3.484 kB / 0.583 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.4612, allocations: 62.27 kB / 0.5831 GB, free: 31.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.4615, allocations: 91.17 kB / 0.5832 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.4615, allocations: 10.23 kB / 0.5832 GB, free: 31.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.4637, allocations: 4.025 MB / 0.5871 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4637, allocations: 2.781 kB / 0.5871 GB, free: 28.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007707/0.4644, allocations: 0.7798 MB / 0.5879 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.4646, allocations: 157.2 kB / 0.588 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.889e-05/0.4647, allocations: 12.53 kB / 0.5881 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.465, allocations: 22.97 kB / 0.5881 GB, free: 27.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.465, allocations: 34.7 kB / 0.5881 GB, free: 27.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.4651, allocations: 13.31 kB / 0.5881 GB, free: 27.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002938/0.4654, allocations: 275.6 kB / 0.5884 GB, free: 27.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4654, allocations: 0 / 0.5884 GB, free: 27.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006293/0.466, allocations: 123.2 kB / 0.5885 GB, free: 27.66 MB / 446.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001028/0.467, allocations: 1.327 MB / 0.5898 GB, free: 26.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.4682, allocations: 0.8011 MB / 0.5906 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4682, allocations: 0.8438 kB / 0.5906 GB, free: 26.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.4689, allocations: 0.5543 MB / 0.5911 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008404/0.4697, allocations: 127.3 kB / 0.5912 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/0.4734, allocations: 2.8 MB / 0.594 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.4738, allocations: 0.8628 MB / 0.5948 GB, free: 23.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003301/0.4741, allocations: 103.2 kB / 0.5949 GB, free: 23.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.4743, allocations: 146 kB / 0.5951 GB, free: 23.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4743, allocations: 0.6562 kB / 0.5951 GB, free: 23.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.4977, allocations: 9.426 MB / 0.6043 GB, free: 22.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001525/0.4979, allocations: 213.2 kB / 0.6045 GB, free: 22.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.279, allocations: 5.125 kB / 0.6045 GB, free: 22.16 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) Environment - environmentSimulation: