Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource",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.0007729/0.0007729, allocations: 93.33 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.0009175/0.0009176, allocations: 171.6 kB / 16.58 MB, free: 5.664 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.224/1.224, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6167/0.6167, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003034, allocations: 12 kB / 493.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.145, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.00289/0.1479, allocations: 2.233 MB / 0.5591 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1499, allocations: 1.318 MB / 0.5604 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1501, allocations: 4 kB / 0.5604 GB, free: 8.109 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000157/0.1502, allocations: 19.8 kB / 0.5604 GB, free: 8.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003775/0.1506, allocations: 107.5 kB / 0.5605 GB, free: 7.984 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.1511, allocations: 143 kB / 0.5606 GB, free: 7.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003267/0.1514, allocations: 255.2 kB / 0.5609 GB, free: 7.598 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004513/0.1519, allocations: 222 kB / 0.5611 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1521, allocations: 71.7 kB / 0.5612 GB, free: 7.289 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.1523, allocations: 99.64 kB / 0.5612 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.1524, allocations: 8 kB / 0.5613 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002539/0.1526, allocations: 103.8 kB / 0.5614 GB, free: 7.082 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.462e-05/0.1527, allocations: 59.86 kB / 0.5614 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.131e-05/0.1528, allocations: 53.58 kB / 0.5615 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.153, allocations: 203.8 kB / 0.5617 GB, free: 6.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1531, allocations: 0 / 0.5617 GB, free: 6.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1531, allocations: 0 / 0.5617 GB, free: 6.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1531, allocations: 0 / 0.5617 GB, free: 6.766 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006135/0.1537, allocations: 459 kB / 0.5621 GB, free: 6.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1537, allocations: 8.031 kB / 0.5621 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.815e-05/0.1538, allocations: 46.55 kB / 0.5621 GB, free: 6.203 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.1543, allocations: 71.64 kB / 0.5622 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.1545, allocations: 208.5 kB / 0.5624 GB, free: 5.891 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1546, allocations: 12.28 kB / 0.5624 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1546, allocations: 15.98 kB / 0.5624 GB, free: 5.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000394/0.155, allocations: 279.6 kB / 0.5627 GB, free: 5.555 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.155, allocations: 7.938 kB / 0.5627 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.155, allocations: 4 kB / 0.5627 GB, free: 5.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/0.1551, allocations: 20.22 kB / 0.5627 GB, free: 5.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003125/0.1554, allocations: 208.5 kB / 0.5629 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.157, allocations: 1.587 MB / 0.5645 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1574, allocations: 315.3 kB / 0.5648 GB, free: 3.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.1575, allocations: 69.61 kB / 0.5649 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1575, allocations: 4 kB / 0.5649 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.1576, allocations: 38.5 kB / 0.5649 GB, free: 3.105 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.1576, allocations: 0 / 0.5649 GB, free: 3.105 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.000533/0.1581, allocations: 240.8 kB / 0.5651 GB, free: 2.863 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1582, allocations: 85.05 kB / 0.5652 GB, free: 2.762 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1584, allocations: 199.4 kB / 0.5654 GB, free: 2.559 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.1584, allocations: 25.7 kB / 0.5654 GB, free: 2.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1585, allocations: 151.7 kB / 0.5656 GB, free: 2.375 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.1586, allocations: 35.55 kB / 0.5656 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/0.1586, allocations: 4 kB / 0.5656 GB, free: 2.336 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1587, allocations: 327 kB / 0.5659 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.1588, allocations: 63.97 kB / 0.566 GB, free: 1.945 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.159, allocations: 163.4 kB / 0.5661 GB, free: 1.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.1591, allocations: 91.97 kB / 0.5662 GB, free: 1.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1591, allocations: 0 / 0.5662 GB, free: 1.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003786/0.1595, allocations: 257.1 kB / 0.5665 GB, free: 1.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.1596, allocations: 183.6 kB / 0.5666 GB, free: 1.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1596, allocations: 4 kB / 0.5666 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.1597, allocations: 4 kB / 0.5666 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.1599, allocations: 47.91 kB / 0.5667 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1599, allocations: 4 kB / 0.5667 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.16, allocations: 23.88 kB / 0.5667 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1601, allocations: 8 kB / 0.5667 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.701e-06/0.1601, allocations: 4 kB / 0.5667 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002848/0.1604, allocations: 199.6 kB / 0.5669 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1604, allocations: 4 kB / 0.5669 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.1604, allocations: 4 kB / 0.5669 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.1605, allocations: 47.91 kB / 0.567 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1606, allocations: 4 kB / 0.567 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.726e-05/0.1607, allocations: 19.89 kB / 0.567 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.1607, allocations: 8 kB / 0.567 GB, free: 0.8047 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.1608, allocations: 221.4 kB / 0.5672 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1609, allocations: 19.8 kB / 0.5672 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.1611, allocations: 159.2 kB / 0.5674 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1612, allocations: 0 / 0.5674 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1612, allocations: 4 kB / 0.5674 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1612, allocations: 0 / 0.5674 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00089/0.1621, allocations: 0.7119 MB / 0.5681 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.1621, allocations: 4 kB / 0.5681 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.907e-05/0.1622, allocations: 27.92 kB / 0.5681 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.1622, allocations: 4.344 kB / 0.5681 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1622, allocations: 7.938 kB / 0.5681 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.1622, allocations: 7.984 kB / 0.5681 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1622, allocations: 4 kB / 0.5681 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.1625, allocations: 379.5 kB / 0.5685 GB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.1626, allocations: 105 kB / 0.5686 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1627, allocations: 11.97 kB / 0.5686 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.1628, allocations: 16.06 kB / 0.5686 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.777e-05/0.1629, allocations: 15.94 kB / 0.5686 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.1629, allocations: 11.94 kB / 0.5687 GB, free: 14.95 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.163, allocations: 145.1 kB / 0.5688 GB, free: 14.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.163, allocations: 4 kB / 0.5688 GB, free: 14.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004689/0.1635, allocations: 64 kB / 0.5689 GB, free: 14.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005972/0.1641, allocations: 0.9111 MB / 0.5697 GB, free: 13.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.1645, allocations: 269.5 kB / 0.57 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1645, allocations: 0 / 0.57 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.193e-05/0.1646, allocations: 59.84 kB / 0.5701 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.1651, allocations: 34.06 kB / 0.5701 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.1666, allocations: 1.14 MB / 0.5712 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.167, allocations: 0.7402 MB / 0.5719 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001892/0.1672, allocations: 73.47 kB / 0.572 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/0.1673, allocations: 47.42 kB / 0.572 GB, free: 11.29 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1673, allocations: 0 / 0.572 GB, free: 11.29 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.1807, allocations: 3.302 MB / 0.5753 GB, free: 8.199 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.1809, allocations: 216.6 kB / 0.5755 GB, free: 7.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.832, allocations: 0 / 0.5755 GB, free: 7.957 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) Environment - environmentSimulation: