Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.Examples.GeneratorLoadGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid",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.0007437/0.0007438, allocations: 92.86 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.0008426/0.0008428, allocations: 172 kB / 16.58 MB, free: 6.031 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.258/1.258, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6388/0.6388, allocations: 113.7 MB / 405.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003169, allocations: 8 kB / 493.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003118/0.151, allocations: 2.482 MB / 0.5593 GB, free: 9.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.1534, allocations: 1.516 MB / 0.5608 GB, free: 7.645 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.1536, allocations: 7.938 kB / 0.5608 GB, free: 7.637 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.1538, allocations: 31.77 kB / 0.5608 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.1543, allocations: 135.4 kB / 0.561 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.1548, allocations: 167.6 kB / 0.5611 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.1552, allocations: 354.9 kB / 0.5615 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007273/0.1559, allocations: 371 kB / 0.5618 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.1562, allocations: 107.6 kB / 0.5619 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.1564, allocations: 135.5 kB / 0.562 GB, free: 6.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.1565, allocations: 12 kB / 0.5621 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003114/0.1568, allocations: 135.8 kB / 0.5622 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.879e-05/0.1569, allocations: 75.78 kB / 0.5623 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.256e-05/0.157, allocations: 61.58 kB / 0.5623 GB, free: 6.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003854/0.1574, allocations: 307.5 kB / 0.5626 GB, free: 5.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1574, allocations: 3.938 kB / 0.5626 GB, free: 5.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1574, allocations: 0 / 0.5626 GB, free: 5.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1574, allocations: 4 kB / 0.5626 GB, free: 5.746 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008047/0.1582, allocations: 0.495 MB / 0.5631 GB, free: 5.199 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.1583, allocations: 8.031 kB / 0.5631 GB, free: 5.191 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.155e-05/0.1583, allocations: 58.53 kB / 0.5632 GB, free: 5.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006364/0.159, allocations: 91.61 kB / 0.5632 GB, free: 5.035 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.1593, allocations: 257 kB / 0.5635 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.1593, allocations: 20.36 kB / 0.5635 GB, free: 4.727 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.221e-05/0.1594, allocations: 20 kB / 0.5635 GB, free: 4.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005946/0.16, allocations: 382.2 kB / 0.5639 GB, free: 4.297 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.16, allocations: 7.906 kB / 0.5639 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.16, allocations: 4 kB / 0.5639 GB, free: 4.285 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.1601, allocations: 24.31 kB / 0.5639 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000586/0.1607, allocations: 340.6 kB / 0.5643 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.1625, allocations: 1.724 MB / 0.5659 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.1631, allocations: 337 kB / 0.5663 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.1634, allocations: 156 kB / 0.5664 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.1635, allocations: 89.09 kB / 0.5665 GB, free: 1.457 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.1636, allocations: 34.56 kB / 0.5665 GB, free: 1.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.1636, allocations: 4 kB / 0.5665 GB, free: 1.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.001298/0.1649, allocations: 0.6153 MB / 0.5671 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1649, allocations: 77.11 kB / 0.5672 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1651, allocations: 208.4 kB / 0.5674 GB, free: 472 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.1652, allocations: 25.7 kB / 0.5674 GB, free: 440 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.1653, allocations: 159.9 kB / 0.5676 GB, free: 276 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.1653, allocations: 70.94 kB / 0.5676 GB, free: 204 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.1653, allocations: 8 kB / 0.5677 GB, free: 196 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1655, allocations: 338.8 kB / 0.568 GB, free: 15.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.1657, allocations: 128.5 kB / 0.5681 GB, free: 15.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000283/0.166, allocations: 223.5 kB / 0.5683 GB, free: 15.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/0.1663, allocations: 159.6 kB / 0.5685 GB, free: 15.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1663, allocations: 0 / 0.5685 GB, free: 15.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007302/0.167, allocations: 444 kB / 0.5689 GB, free: 14.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.1672, allocations: 170.7 kB / 0.5691 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.1672, allocations: 4 kB / 0.5691 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.1674, allocations: 40.83 kB / 0.5691 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.1677, allocations: 71.88 kB / 0.5692 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.169, allocations: 1.497 MB / 0.5706 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002107/0.1692, allocations: 35.81 kB / 0.5707 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1693, allocations: 8 kB / 0.5707 GB, free: 12.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.13e-06/0.1693, allocations: 8.062 kB / 0.5707 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006542/0.17, allocations: 382.3 kB / 0.571 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.17, allocations: 192 / 0.571 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.1701, allocations: 40.81 kB / 0.5711 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.1704, allocations: 75.88 kB / 0.5712 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.1715, allocations: 1.473 MB / 0.5726 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.1717, allocations: 31.91 kB / 0.5726 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.1717, allocations: 12 kB / 0.5726 GB, free: 10.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.1719, allocations: 241 kB / 0.5729 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.172, allocations: 19.72 kB / 0.5729 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/0.1727, allocations: 368 kB / 0.5732 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1727, allocations: 0 / 0.5732 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1727, allocations: 4 kB / 0.5732 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1727, allocations: 0 / 0.5732 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.1741, allocations: 0.9638 MB / 0.5742 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1741, allocations: 0 / 0.5742 GB, free: 9.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.1743, allocations: 68.12 kB / 0.5742 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.1745, allocations: 36.83 kB / 0.5743 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.1745, allocations: 4 kB / 0.5743 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.1755, allocations: 1.41 MB / 0.5757 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1755, allocations: 0 / 0.5757 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006804/0.1762, allocations: 0.5437 MB / 0.5762 GB, free: 6.805 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.1763, allocations: 132.7 kB / 0.5763 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.1764, allocations: 7.938 kB / 0.5763 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/0.1766, allocations: 23.97 kB / 0.5763 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.1767, allocations: 27.88 kB / 0.5764 GB, free: 6.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1767, allocations: 4 kB / 0.5764 GB, free: 6.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1768, allocations: 163.5 kB / 0.5765 GB, free: 6.434 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1769, allocations: 4 kB / 0.5765 GB, free: 6.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000579/0.1774, allocations: 107.9 kB / 0.5766 GB, free: 6.324 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009561/0.1784, allocations: 1.096 MB / 0.5777 GB, free: 5.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00121/0.1796, allocations: 0.7355 MB / 0.5784 GB, free: 4.418 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1796, allocations: 4 kB / 0.5784 GB, free: 4.414 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003786/0.18, allocations: 277.5 kB / 0.5787 GB, free: 4.133 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.1805, allocations: 33.7 kB / 0.5787 GB, free: 4.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.183, allocations: 1.652 MB / 0.5803 GB, free: 2.352 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.1834, allocations: 0.764 MB / 0.5811 GB, free: 1.562 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.1836, allocations: 93.89 kB / 0.5812 GB, free: 1.469 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.1838, allocations: 75.41 kB / 0.5812 GB, free: 1.395 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1838, allocations: 0 / 0.5812 GB, free: 1.395 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2959/0.4796, allocations: 5.148 MB / 0.5863 GB, free: 31.32 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/0.4798, allocations: 218 kB / 0.5865 GB, free: 31.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/2.154, allocations: 3.875 kB / 0.5865 GB, free: 31.08 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Examples_GeneratorLoadGrid.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1) Environment - environmentSimulation: