Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 103.2 kB / 15.98 MB, free: 6.352 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.001071/0.001071, allocations: 194.4 kB / 16.91 MB, free: 6.195 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.404/1.404, allocations: 222.9 MB / 240.6 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7465/0.7465, allocations: 122.9 MB / 413.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 61.16 kB / 0.4906 GB, free: 14.37 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1609, allocations: 77.93 MB / 0.5667 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006303/0.1673, allocations: 3.774 MB / 0.5704 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002967/0.1703, allocations: 1.785 MB / 0.5721 GB, free: 11.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.1706, allocations: 19.88 kB / 0.5722 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008851/0.1715, allocations: 235 kB / 0.5724 GB, free: 10.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.1723, allocations: 274.7 kB / 0.5726 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006276/0.1729, allocations: 223.6 kB / 0.5729 GB, free: 10.31 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007705/0.1737, allocations: 0.6087 MB / 0.5735 GB, free: 9.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005369/0.1743, allocations: 279.3 kB / 0.5737 GB, free: 9.426 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.1747, allocations: 247 kB / 0.574 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.1751, allocations: 239 kB / 0.5742 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.1752, allocations: 28 kB / 0.5742 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005093/0.1757, allocations: 271.4 kB / 0.5745 GB, free: 8.656 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.1759, allocations: 123.6 kB / 0.5746 GB, free: 8.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.1761, allocations: 210.8 kB / 0.5748 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008229/0.1769, allocations: 0.6076 MB / 0.5754 GB, free: 7.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.177, allocations: 0 / 0.5754 GB, free: 7.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.177, allocations: 0 / 0.5754 GB, free: 7.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.177, allocations: 0 / 0.5754 GB, free: 7.719 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001408/0.1784, allocations: 0.7362 MB / 0.5761 GB, free: 6.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1785, allocations: 8.031 kB / 0.5761 GB, free: 6.926 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/0.1794, allocations: 136.2 kB / 0.5762 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005104/0.1799, allocations: 371.7 kB / 0.5766 GB, free: 6.391 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.1799, allocations: 28.91 kB / 0.5766 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.327e-05/0.18, allocations: 32.28 kB / 0.5766 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008267/0.1808, allocations: 0.555 MB / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.1809, allocations: 0 / 0.5772 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.1809, allocations: 12 kB / 0.5772 GB, free: 5.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.13e-05/0.181, allocations: 44.53 kB / 0.5772 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007156/0.1817, allocations: 413.7 kB / 0.5776 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.1846, allocations: 3.33 MB / 0.5809 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.1853, allocations: 342.3 kB / 0.5812 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.1856, allocations: 176.8 kB / 0.5814 GB, free: 1.156 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.1857, allocations: 4 kB / 0.5814 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.1857, allocations: 34.56 kB / 0.5814 GB, free: 1.109 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.512e-06/0.1857, allocations: 4 kB / 0.5814 GB, free: 1.105 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.2714/0.4571, allocations: 1.05 MB / 0.5825 GB, free: 23.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.4571, allocations: 56.55 kB / 0.5825 GB, free: 23.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004921/0.4576, allocations: 340 kB / 0.5828 GB, free: 23.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.23e-05/0.4577, allocations: 31.75 kB / 0.5829 GB, free: 23.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.4579, allocations: 253.2 kB / 0.5831 GB, free: 23.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/0.458, allocations: 95.34 kB / 0.5832 GB, free: 23.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.4581, allocations: 81.06 kB / 0.5833 GB, free: 23.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.416e-05/0.4582, allocations: 344.7 kB / 0.5836 GB, free: 23.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002993/0.4585, allocations: 150.7 kB / 0.5837 GB, free: 23.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.4589, allocations: 289.5 kB / 0.584 GB, free: 23.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006898/0.4596, allocations: 491.9 kB / 0.5845 GB, free: 23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4596, allocations: 5.984 kB / 0.5845 GB, free: 23 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001022/0.4606, allocations: 0.5482 MB / 0.585 GB, free: 22.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.4606, allocations: 8.891 kB / 0.585 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4607, allocations: 5 kB / 0.585 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/0.461, allocations: 95.55 kB / 0.5851 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.4614, allocations: 86.16 kB / 0.5852 GB, free: 22.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.4614, allocations: 11.45 kB / 0.5852 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.4617, allocations: 30.97 kB / 0.5853 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.4617, allocations: 18.84 kB / 0.5853 GB, free: 22.75 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.4619, allocations: 173.5 kB / 0.5854 GB, free: 22.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.462, allocations: 39.58 kB / 0.5855 GB, free: 22.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/0.4629, allocations: 467.8 kB / 0.5859 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4629, allocations: 6.562 kB / 0.5859 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4629, allocations: 5.875 kB / 0.5859 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.463, allocations: 4.547 kB / 0.5859 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.4644, allocations: 0.9639 MB / 0.5869 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4644, allocations: 0.8438 kB / 0.5869 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.4647, allocations: 54.53 kB / 0.5869 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002325/0.4649, allocations: 78.48 kB / 0.587 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.4649, allocations: 6.562 kB / 0.587 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.4649, allocations: 2.766 kB / 0.587 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.465, allocations: 1.625 kB / 0.587 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008256/0.4658, allocations: 0.5465 MB / 0.5876 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001546/0.4659, allocations: 135.8 kB / 0.5877 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.466, allocations: 11.91 kB / 0.5877 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.4663, allocations: 25.02 kB / 0.5877 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.4664, allocations: 28.8 kB / 0.5877 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.4664, allocations: 5.25 kB / 0.5877 GB, free: 21.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002626/0.4667, allocations: 234.1 kB / 0.588 GB, free: 21.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.072e-06/0.4667, allocations: 0 / 0.588 GB, free: 21.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.4671, allocations: 89.73 kB / 0.5881 GB, free: 21.18 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001414/0.4673, allocations: 105.4 kB / 0.5882 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.4684, allocations: 0.6647 MB / 0.5888 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4684, allocations: 1.781 kB / 0.5888 GB, free: 20.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004766/0.4689, allocations: 443.7 kB / 0.5892 GB, free: 20.28 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007509/0.4696, allocations: 121 kB / 0.5893 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.471, allocations: 0.8775 MB / 0.5902 GB, free: 19.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.4714, allocations: 0.823 MB / 0.591 GB, free: 18.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.4717, allocations: 87.59 kB / 0.5911 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.4718, allocations: 28.84 kB / 0.5911 GB, free: 18.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4718, allocations: 0 / 0.5911 GB, free: 18.95 MB / 446.1 MB Notification: Performance of Templates: time 0.01136/0.4831, allocations: 4.681 MB / 0.5957 GB, free: 18.69 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)