Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.0008183/0.0008183, allocations: 92.7 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.0009427/0.0009427, allocations: 172.2 kB / 16.58 MB, free: 6.848 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.29/1.29, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6947/0.6947, allocations: 113.7 MB / 405.5 MB, free: 4.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000286/0.000286, allocations: 18.53 kB / 493.2 MB, free: 8.605 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003175/0.1414, allocations: 2.818 MB / 0.5597 GB, free: 8.863 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002308/0.1437, allocations: 1.735 MB / 0.5614 GB, free: 7.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.366e-05/0.1438, allocations: 7.938 kB / 0.5614 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.144, allocations: 39.64 kB / 0.5614 GB, free: 7.074 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003607/0.1444, allocations: 163.3 kB / 0.5616 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.1448, allocations: 223.5 kB / 0.5618 GB, free: 6.695 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.1453, allocations: 474.6 kB / 0.5622 GB, free: 6.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00068/0.146, allocations: 437.5 kB / 0.5626 GB, free: 5.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.1461, allocations: 127.5 kB / 0.5628 GB, free: 5.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003077/0.1464, allocations: 191.3 kB / 0.5629 GB, free: 5.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.965e-05/0.1465, allocations: 12 kB / 0.563 GB, free: 5.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.1467, allocations: 135.8 kB / 0.5631 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.1468, allocations: 107.7 kB / 0.5632 GB, free: 5.207 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.027e-05/0.1469, allocations: 69.58 kB / 0.5633 GB, free: 5.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000337/0.1473, allocations: 359 kB / 0.5636 GB, free: 4.781 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1473, allocations: 0 / 0.5636 GB, free: 4.781 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1473, allocations: 0 / 0.5636 GB, free: 4.781 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1473, allocations: 0 / 0.5636 GB, free: 4.781 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008442/0.1481, allocations: 0.5456 MB / 0.5641 GB, free: 4.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1482, allocations: 12.03 kB / 0.5641 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.339e-05/0.1482, allocations: 62.53 kB / 0.5642 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006266/0.1489, allocations: 95.52 kB / 0.5643 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1492, allocations: 264.7 kB / 0.5645 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.1492, allocations: 20.55 kB / 0.5646 GB, free: 3.691 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1493, allocations: 35.92 kB / 0.5646 GB, free: 3.656 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.1499, allocations: 449.1 kB / 0.565 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.15, allocations: 4 kB / 0.565 GB, free: 3.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.15, allocations: 4 kB / 0.565 GB, free: 3.176 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.1501, allocations: 40.53 kB / 0.5651 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004902/0.1506, allocations: 349.9 kB / 0.5654 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.1528, allocations: 2.203 MB / 0.5676 GB, free: 404 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003883/0.1532, allocations: 267 kB / 0.5678 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.1535, allocations: 165.1 kB / 0.568 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.1535, allocations: 192 / 0.568 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.1535, allocations: 42.69 kB / 0.568 GB, free: 15.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.022e-06/0.1535, allocations: 0 / 0.568 GB, free: 15.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.001631/0.1552, allocations: 1.043 MB / 0.569 GB, free: 14.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.1552, allocations: 63.27 kB / 0.5691 GB, free: 14.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.1555, allocations: 248.8 kB / 0.5693 GB, free: 14.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.1555, allocations: 33.7 kB / 0.5694 GB, free: 14.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1556, allocations: 180 kB / 0.5695 GB, free: 14.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.551e-05/0.1557, allocations: 82.84 kB / 0.5696 GB, free: 14.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.1557, allocations: 12 kB / 0.5696 GB, free: 14.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1558, allocations: 326.8 kB / 0.5699 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.1561, allocations: 151.9 kB / 0.5701 GB, free: 13.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002763/0.1563, allocations: 249.5 kB / 0.5703 GB, free: 13.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.1566, allocations: 185.3 kB / 0.5705 GB, free: 13.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1566, allocations: 0 / 0.5705 GB, free: 13.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001015/0.1576, allocations: 0.5819 MB / 0.5711 GB, free: 12.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1577, allocations: 8 kB / 0.5711 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1577, allocations: 4 kB / 0.5711 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006072/0.1583, allocations: 186.7 kB / 0.5713 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.1586, allocations: 59.89 kB / 0.5713 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.1611, allocations: 2.308 MB / 0.5736 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.1614, allocations: 24.05 kB / 0.5736 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.1614, allocations: 19.94 kB / 0.5736 GB, free: 9.895 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 31 * 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 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001758/0.1616, allocations: 158.4 kB / 0.5738 GB, free: 9.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.1616, allocations: 27.7 kB / 0.5738 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.1622, allocations: 351.3 kB / 0.5741 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1622, allocations: 0 / 0.5741 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.1622, allocations: 0 / 0.5741 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1622, allocations: 8 kB / 0.5741 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009771/0.1632, allocations: 0.8215 MB / 0.5749 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1632, allocations: 0 / 0.5749 GB, free: 8.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.1636, allocations: 67.94 kB / 0.575 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1636, allocations: 4 kB / 0.575 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.217e-05/0.1636, allocations: 11.94 kB / 0.575 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1636, allocations: 0 / 0.575 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1636, allocations: 3.953 kB / 0.575 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006978/0.1643, allocations: 0.6075 MB / 0.5756 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.1645, allocations: 128.8 kB / 0.5757 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.1645, allocations: 7.984 kB / 0.5757 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1647, allocations: 11.98 kB / 0.5757 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.1647, allocations: 23.88 kB / 0.5758 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1648, allocations: 8 kB / 0.5758 GB, free: 7.562 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1649, allocations: 180.5 kB / 0.5759 GB, free: 7.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1649, allocations: 0 / 0.5759 GB, free: 7.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.1653, allocations: 84 kB / 0.576 GB, free: 7.309 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.000963/0.1663, allocations: 1.152 MB / 0.5772 GB, free: 6.121 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008009/0.1671, allocations: 0.5342 MB / 0.5777 GB, free: 5.574 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1671, allocations: 0 / 0.5777 GB, free: 5.574 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.1673, allocations: 155.9 kB / 0.5778 GB, free: 5.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.1677, allocations: 46.05 kB / 0.5779 GB, free: 5.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.1708, allocations: 2.276 MB / 0.5801 GB, free: 3.008 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.1712, allocations: 0.7912 MB / 0.5809 GB, free: 2.191 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.1714, allocations: 74.91 kB / 0.5809 GB, free: 2.121 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.1715, allocations: 87.41 kB / 0.581 GB, free: 2.035 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1715, allocations: 4 kB / 0.581 GB, free: 2.031 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2511/0.4227, allocations: 6.269 MB / 0.5871 GB, free: 31.91 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001201/0.4228, allocations: 216 kB / 0.5873 GB, free: 31.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.165, allocations: 0 / 0.5873 GB, free: 31.67 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) Environment - environmentSimulation: