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.001554/0.001554, allocations: 101.6 kB / 16.27 MB, free: 5.934 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.001805/0.001806, allocations: 186.9 kB / 17.2 MB, free: 5.574 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8108/0.8108, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 63.91 kB / 0.4911 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.442, allocations: 77.92 MB / 0.5672 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005033/0.4471, allocations: 3.738 MB / 0.5709 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.4499, allocations: 1.794 MB / 0.5726 GB, free: 28.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002427/0.4501, allocations: 16.69 kB / 0.5726 GB, free: 28.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008383/0.4511, allocations: 262.3 kB / 0.5729 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006065/0.4517, allocations: 296.6 kB / 0.5732 GB, free: 28.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005782/0.4523, allocations: 249.7 kB / 0.5734 GB, free: 28.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005663/0.4528, allocations: 0.6052 MB / 0.574 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.4532, allocations: 251.5 kB / 0.5742 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.4536, allocations: 231.5 kB / 0.5744 GB, free: 27.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.4539, allocations: 233.6 kB / 0.5747 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.569e-05/0.454, allocations: 27.09 kB / 0.5747 GB, free: 27.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.4546, allocations: 279.4 kB / 0.575 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.4547, allocations: 130 kB / 0.5751 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.455, allocations: 207 kB / 0.5753 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007665/0.4557, allocations: 0.5775 MB / 0.5758 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4558, allocations: 1.062 kB / 0.5758 GB, free: 27.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4558, allocations: 1.062 kB / 0.5758 GB, free: 27.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.4558, allocations: 3.938 kB / 0.5759 GB, free: 27.36 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.00102/0.4568, allocations: 0.7376 MB / 0.5766 GB, free: 26.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4568, allocations: 9.594 kB / 0.5766 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009072/0.4578, allocations: 134.3 kB / 0.5767 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.4582, allocations: 379.7 kB / 0.5771 GB, free: 26.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.4582, allocations: 27.67 kB / 0.5771 GB, free: 26.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.4583, allocations: 26.44 kB / 0.5771 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007634/0.4591, allocations: 0.5527 MB / 0.5777 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.4591, allocations: 12.2 kB / 0.5777 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.4591, allocations: 13.5 kB / 0.5777 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.4592, allocations: 40.56 kB / 0.5777 GB, free: 26.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006884/0.4599, allocations: 405.4 kB / 0.5781 GB, free: 25.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.4622, allocations: 3.341 MB / 0.5814 GB, free: 22.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006613/0.4629, allocations: 338.2 kB / 0.5817 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.4632, allocations: 181.1 kB / 0.5819 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.4633, allocations: 4.5 kB / 0.5819 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.4633, allocations: 31.78 kB / 0.5819 GB, free: 22.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.643e-06/0.4633, allocations: 0 / 0.5819 GB, free: 22.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001855/0.4652, allocations: 1.057 MB / 0.5829 GB, free: 22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.4652, allocations: 59.98 kB / 0.583 GB, free: 21.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.4655, allocations: 339.4 kB / 0.5833 GB, free: 21.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.4655, allocations: 30.55 kB / 0.5833 GB, free: 21.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.4656, allocations: 246.5 kB / 0.5836 GB, free: 21.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.4657, allocations: 98.22 kB / 0.5837 GB, free: 21.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4658, allocations: 76.42 kB / 0.5837 GB, free: 21.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.4659, allocations: 346.7 kB / 0.5841 GB, free: 20.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.4662, allocations: 151.5 kB / 0.5842 GB, free: 20.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.4665, allocations: 290 kB / 0.5845 GB, free: 20.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005929/0.4671, allocations: 482.4 kB / 0.585 GB, free: 20.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4671, allocations: 2.469 kB / 0.585 GB, free: 20.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009148/0.468, allocations: 0.5634 MB / 0.5855 GB, free: 20 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.468, allocations: 7.219 kB / 0.5855 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4681, allocations: 5.688 kB / 0.5855 GB, free: 20 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.4684, allocations: 89.42 kB / 0.5856 GB, free: 19.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.4687, allocations: 84.69 kB / 0.5857 GB, free: 19.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.4688, allocations: 14.36 kB / 0.5857 GB, free: 19.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.4691, allocations: 30.48 kB / 0.5857 GB, free: 19.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.4691, allocations: 22.08 kB / 0.5858 GB, free: 19.89 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.0002275/0.4693, allocations: 181.5 kB / 0.5859 GB, free: 19.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.052e-05/0.4694, allocations: 39.59 kB / 0.586 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009371/0.4704, allocations: 466.7 kB / 0.5864 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4704, allocations: 3.938 kB / 0.5864 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4704, allocations: 0 / 0.5864 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4704, allocations: 3.984 kB / 0.5864 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.4718, allocations: 0.966 MB / 0.5874 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4719, allocations: 5.266 kB / 0.5874 GB, free: 18.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002341/0.4721, allocations: 56.22 kB / 0.5874 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002193/0.4723, allocations: 80.03 kB / 0.5875 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.4724, allocations: 10.78 kB / 0.5875 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.4724, allocations: 1.156 kB / 0.5875 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4724, allocations: 0.9062 kB / 0.5875 GB, free: 18.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.4732, allocations: 0.5524 MB / 0.588 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.4734, allocations: 134.2 kB / 0.5882 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.155e-05/0.4734, allocations: 6.656 kB / 0.5882 GB, free: 18.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002107/0.4736, allocations: 26.53 kB / 0.5882 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.4737, allocations: 26.03 kB / 0.5882 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.4738, allocations: 5.531 kB / 0.5882 GB, free: 18.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.474, allocations: 238 kB / 0.5885 GB, free: 17.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.474, allocations: 0 / 0.5885 GB, free: 17.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004269/0.4744, allocations: 84.91 kB / 0.5885 GB, free: 17.91 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.0001119/0.4745, allocations: 108.8 kB / 0.5886 GB, free: 17.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008148/0.4754, allocations: 0.6553 MB / 0.5893 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4754, allocations: 128 / 0.5893 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003452/0.4757, allocations: 443.2 kB / 0.5897 GB, free: 16.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.4764, allocations: 131.3 kB / 0.5898 GB, free: 16.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4777, allocations: 0.7273 MB / 0.5905 GB, free: 16.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.478, allocations: 0.8225 MB / 0.5914 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002673/0.4783, allocations: 82.75 kB / 0.5914 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.672e-05/0.4783, allocations: 28.34 kB / 0.5915 GB, free: 15.57 MB / 446.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4783, allocations: 1.031 kB / 0.5915 GB, free: 15.57 MB / 446.1 MB Notification: Performance of Templates: time 0.007958/0.4863, allocations: 4.667 MB / 0.596 GB, free: 12.21 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)