Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009594/0.0009595, allocations: 92.95 kB / 16.02 MB, free: 84 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.001219/0.001219, allocations: 181.9 kB / 16.91 MB, free: 6.914 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.423/1.423, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7543/0.7543, allocations: 115.5 MB / 407.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 8 kB / 495.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 77.54 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.00469/0.1488, allocations: 3.211 MB / 0.5631 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00333/0.1521, allocations: 1.879 MB / 0.5649 GB, free: 3.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.1524, allocations: 4 kB / 0.5649 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002431/0.1526, allocations: 35.7 kB / 0.565 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007224/0.1534, allocations: 199.2 kB / 0.5652 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.1541, allocations: 223.5 kB / 0.5654 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006004/0.1547, allocations: 0.4947 MB / 0.5659 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000853/0.1555, allocations: 422.5 kB / 0.5663 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003184/0.1559, allocations: 119.5 kB / 0.5664 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.1563, allocations: 171.3 kB / 0.5665 GB, free: 2.234 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.1563, allocations: 12 kB / 0.5666 GB, free: 2.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000603/0.157, allocations: 339.3 kB / 0.5669 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1571, allocations: 91.64 kB / 0.567 GB, free: 1.801 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.1573, allocations: 149 kB / 0.5671 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007104/0.158, allocations: 486.7 kB / 0.5676 GB, free: 1.172 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.158, allocations: 0 / 0.5676 GB, free: 1.172 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.158, allocations: 4 kB / 0.5676 GB, free: 1.168 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1581, allocations: 0 / 0.5676 GB, free: 1.168 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001297/0.1594, allocations: 0.6098 MB / 0.5682 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1594, allocations: 8.031 kB / 0.5682 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009924/0.1604, allocations: 124.4 kB / 0.5683 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003483/0.1608, allocations: 271.8 kB / 0.5686 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.1608, allocations: 16.8 kB / 0.5686 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.495e-05/0.1609, allocations: 24.38 kB / 0.5686 GB, free: 32 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008626/0.1617, allocations: 442.8 kB / 0.569 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1618, allocations: 0 / 0.569 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.1618, allocations: 15.98 kB / 0.569 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.1619, allocations: 24.34 kB / 0.5691 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.163, allocations: 436.7 kB / 0.5695 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.1649, allocations: 1.626 MB / 0.5711 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.1662, allocations: 0.4971 MB / 0.5715 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.1667, allocations: 217.6 kB / 0.5718 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/0.1669, allocations: 89.09 kB / 0.5718 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/0.1675, allocations: 287.3 kB / 0.5721 GB, free: 12.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=27): time 2.956e-06/0.1675, allocations: 0 / 0.5721 GB, free: 12.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=28): time 0.002206/0.1697, allocations: 0.8025 MB / 0.5729 GB, free: 11.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.1698, allocations: 81.11 kB / 0.573 GB, free: 11.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.1701, allocations: 225 kB / 0.5732 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.209e-05/0.1701, allocations: 33.7 kB / 0.5732 GB, free: 11.01 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.1702, allocations: 168.3 kB / 0.5734 GB, free: 10.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.1703, allocations: 94.64 kB / 0.5735 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.1704, allocations: 29.7 kB / 0.5735 GB, free: 10.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1705, allocations: 338.8 kB / 0.5738 GB, free: 10.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004765/0.171, allocations: 188.2 kB / 0.574 GB, free: 10.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.1715, allocations: 265.3 kB / 0.5743 GB, free: 9.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.1726, allocations: 487.4 kB / 0.5747 GB, free: 9.387 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1726, allocations: 7.938 kB / 0.5747 GB, free: 9.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00141/0.174, allocations: 0.5729 MB / 0.5753 GB, free: 8.793 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.1742, allocations: 183.1 kB / 0.5755 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1742, allocations: 8 kB / 0.5755 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002762/0.1745, allocations: 40.81 kB / 0.5755 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004538/0.1749, allocations: 91.86 kB / 0.5756 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.1767, allocations: 1.501 MB / 0.5771 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.1771, allocations: 55.86 kB / 0.5771 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.1772, allocations: 16 kB / 0.5771 GB, free: 6.727 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.358e-06/0.1772, allocations: 4 kB / 0.5771 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001246/0.1785, allocations: 0.506 MB / 0.5776 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1785, allocations: 4 kB / 0.5776 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001358/0.1786, allocations: 44.81 kB / 0.5777 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.179, allocations: 91.97 kB / 0.5778 GB, free: 6.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001267/0.1803, allocations: 1.493 MB / 0.5792 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.1807, allocations: 59.89 kB / 0.5793 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.1807, allocations: 15.98 kB / 0.5793 GB, free: 4.359 MB / 446.1 MB 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.0002562/0.181, allocations: 233 kB / 0.5795 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.1811, allocations: 27.66 kB / 0.5795 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.1823, allocations: 0.4982 MB / 0.58 GB, free: 3.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.1823, allocations: 7.938 kB / 0.58 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1823, allocations: 0 / 0.58 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1823, allocations: 0 / 0.58 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007192/0.183, allocations: 0.57 MB / 0.5806 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.183, allocations: 0 / 0.5806 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.1834, allocations: 87.95 kB / 0.5807 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001235/0.1836, allocations: 36.81 kB / 0.5807 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.921e-05/0.1836, allocations: 8 kB / 0.5807 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.1848, allocations: 1.413 MB / 0.5821 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1848, allocations: 4.031 kB / 0.5821 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.1859, allocations: 0.5615 MB / 0.5827 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.186, allocations: 140.6 kB / 0.5828 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.1861, allocations: 8 kB / 0.5828 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.1865, allocations: 43.95 kB / 0.5828 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.1866, allocations: 31.95 kB / 0.5829 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.1866, allocations: 12 kB / 0.5829 GB, free: 436 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.1868, allocations: 184.4 kB / 0.5831 GB, free: 252 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1868, allocations: 0 / 0.5831 GB, free: 252 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006381/0.1875, allocations: 135.9 kB / 0.5832 GB, free: 116 kB / 446.1 MB 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.2838/0.4713, allocations: 111.8 kB / 0.5833 GB, free: 30.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002366/0.4737, allocations: 1.018 MB / 0.5843 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.4737, allocations: 1.344 kB / 0.5843 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007151/0.4744, allocations: 339.5 kB / 0.5846 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006057/0.475, allocations: 46.28 kB / 0.5847 GB, free: 30.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4764, allocations: 0.7347 MB / 0.5854 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.4767, allocations: 0.7856 MB / 0.5861 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003762/0.4771, allocations: 98.44 kB / 0.5862 GB, free: 29.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4772, allocations: 27.25 kB / 0.5863 GB, free: 29.2 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4772, allocations: 0 / 0.5863 GB, free: 29.2 MB / 446.1 MB Notification: Performance of Templates: time 0.012/0.4892, allocations: 4.401 MB / 0.5906 GB, free: 29.07 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)