Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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: translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 106 kB / 16.4 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 195 kB / 17.34 MB, free: 5.715 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8014/0.8014, allocations: 122.9 MB / 414.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 62.03 kB / 0.5685 GB, free: 28.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1478, allocations: 77.93 MB / 0.6446 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.004317/0.1522, allocations: 3.017 MB / 0.6475 GB, free: 5.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.1551, allocations: 1.894 MB / 0.6494 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.1553, allocations: 4 kB / 0.6494 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.1561, allocations: 242.9 kB / 0.6496 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.1566, allocations: 219 kB / 0.6498 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.1572, allocations: 251.3 kB / 0.65 GB, free: 3.371 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004192/0.1577, allocations: 390.8 kB / 0.6504 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000383/0.1581, allocations: 206.7 kB / 0.6506 GB, free: 2.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.1583, allocations: 159.4 kB / 0.6508 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003342/0.1587, allocations: 179.3 kB / 0.6509 GB, free: 2.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.1587, allocations: 28 kB / 0.651 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.1592, allocations: 303.4 kB / 0.6512 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1593, allocations: 87.78 kB / 0.6513 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.1595, allocations: 147.2 kB / 0.6515 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.1601, allocations: 494.2 kB / 0.6519 GB, free: 1.41 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1601, allocations: 4 kB / 0.6519 GB, free: 1.406 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1601, allocations: 0 / 0.6519 GB, free: 1.406 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.1601, allocations: 0 / 0.6519 GB, free: 1.406 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001178/0.1613, allocations: 0.6559 MB / 0.6526 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1614, allocations: 8.625 kB / 0.6526 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000929/0.1623, allocations: 112.6 kB / 0.6527 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.1627, allocations: 299.7 kB / 0.653 GB, free: 252 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1627, allocations: 20.81 kB / 0.653 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.1628, allocations: 20.38 kB / 0.653 GB, free: 212 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.1636, allocations: 422.9 kB / 0.6534 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.1636, allocations: 3.938 kB / 0.6534 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.1637, allocations: 12 kB / 0.6534 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.442e-05/0.1637, allocations: 24.34 kB / 0.6535 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009585/0.1647, allocations: 416.4 kB / 0.6539 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001858/0.1666, allocations: 1.623 MB / 0.6554 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.1678, allocations: 480.9 kB / 0.6559 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.1683, allocations: 197.6 kB / 0.6561 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.1685, allocations: 89.09 kB / 0.6562 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/0.1691, allocations: 267.9 kB / 0.6564 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.1691, allocations: 0 / 0.6564 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28): time 0.002017/0.1711, allocations: 0.767 MB / 0.6572 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1712, allocations: 81.11 kB / 0.6573 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1714, allocations: 221 kB / 0.6575 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1715, allocations: 33.89 kB / 0.6575 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.1716, allocations: 176.6 kB / 0.6577 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.1717, allocations: 95.17 kB / 0.6578 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1718, allocations: 73.39 kB / 0.6578 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1719, allocations: 334.8 kB / 0.6582 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.1724, allocations: 181 kB / 0.6583 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.1729, allocations: 253.2 kB / 0.6586 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009191/0.1738, allocations: 470.3 kB / 0.659 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1738, allocations: 0 / 0.659 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001195/0.175, allocations: 0.5517 MB / 0.6596 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.1751, allocations: 37.77 kB / 0.6596 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1751, allocations: 0 / 0.6596 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002299/0.1753, allocations: 40.81 kB / 0.6596 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.1757, allocations: 87.86 kB / 0.6597 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.1772, allocations: 1.604 MB / 0.6613 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003685/0.1776, allocations: 55.88 kB / 0.6613 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.1777, allocations: 20 kB / 0.6614 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005113/0.1782, allocations: 276.3 kB / 0.6616 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004862/0.1787, allocations: 249.9 kB / 0.6619 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008776/0.1796, allocations: 439.3 kB / 0.6623 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.631e-06/0.1796, allocations: 7.984 kB / 0.6623 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.001207/0.1808, allocations: 0.525 MB / 0.6628 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/0.1808, allocations: 33.7 kB / 0.6628 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1808, allocations: 0 / 0.6628 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.181, allocations: 45.09 kB / 0.6629 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.1814, allocations: 83.88 kB / 0.6629 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.1827, allocations: 1.615 MB / 0.6645 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003849/0.1831, allocations: 51.73 kB / 0.6646 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.1832, allocations: 19.98 kB / 0.6646 GB, free: 3.57 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001819/0.1834, allocations: 200.2 kB / 0.6648 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.1834, allocations: 27.92 kB / 0.6648 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.1847, allocations: 473.9 kB / 0.6653 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1847, allocations: 4 kB / 0.6653 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1847, allocations: 3.938 kB / 0.6653 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.1847, allocations: 7.984 kB / 0.6653 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.1854, allocations: 0.5624 MB / 0.6658 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.1855, allocations: 8.094 kB / 0.6658 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.1859, allocations: 79.84 kB / 0.6659 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.186, allocations: 32.83 kB / 0.6659 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.186, allocations: 8 kB / 0.666 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.1873, allocations: 1.527 MB / 0.6674 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1873, allocations: 4.031 kB / 0.6674 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.1884, allocations: 0.55 MB / 0.668 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.1885, allocations: 124.9 kB / 0.6681 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.015e-05/0.1886, allocations: 15.98 kB / 0.6681 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.1889, allocations: 31.95 kB / 0.6681 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.1891, allocations: 35.95 kB / 0.6682 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.1891, allocations: 4 kB / 0.6682 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002173/0.1893, allocations: 184.5 kB / 0.6684 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.01e-07/0.1893, allocations: 0 / 0.6684 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006509/0.19, allocations: 132 kB / 0.6685 GB, free: 15.32 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001728/0.1902, allocations: 115.1 kB / 0.6686 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.1921, allocations: 0.9926 MB / 0.6696 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1922, allocations: 4 kB / 0.6696 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006036/0.1928, allocations: 322.5 kB / 0.6699 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.1932, allocations: 49.91 kB / 0.6699 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.1944, allocations: 0.6208 MB / 0.6705 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1948, allocations: 0.7839 MB / 0.6713 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003053/0.1951, allocations: 102.2 kB / 0.6714 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.1952, allocations: 27.44 kB / 0.6714 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.1952, allocations: 0 / 0.6714 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.009093/0.2043, allocations: 4.833 MB / 0.6761 GB, free: 7.363 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1)