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.001091/0.001091, allocations: 90.72 kB / 16.66 MB, free: 5.742 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.001311/0.001312, allocations: 183.3 kB / 17.57 MB, free: 5.477 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.335/1.335, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.742/0.742, allocations: 115.5 MB / 408.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003495, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4245, allocations: 77.52 MB / 0.5606 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003784/0.4284, allocations: 3.388 MB / 0.5639 GB, free: 33.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002882/0.4313, allocations: 1.771 MB / 0.5656 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.4316, allocations: 16.12 kB / 0.5657 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.4318, allocations: 53.67 kB / 0.5657 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007531/0.4326, allocations: 275.6 kB / 0.566 GB, free: 32.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006467/0.4332, allocations: 224.6 kB / 0.5662 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008396/0.4341, allocations: 0.7448 MB / 0.5669 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007234/0.4348, allocations: 364.8 kB / 0.5673 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003467/0.4352, allocations: 197.1 kB / 0.5674 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.4355, allocations: 227.8 kB / 0.5677 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.4355, allocations: 13.28 kB / 0.5677 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006065/0.4362, allocations: 337.4 kB / 0.568 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001314/0.4363, allocations: 103.3 kB / 0.5681 GB, free: 31.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.4365, allocations: 217.3 kB / 0.5683 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005808/0.4371, allocations: 448.9 kB / 0.5687 GB, free: 31.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4371, allocations: 3 kB / 0.5687 GB, free: 31.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4371, allocations: 0 / 0.5687 GB, free: 31.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.4371, allocations: 0 / 0.5687 GB, free: 31.29 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.001049/0.4382, allocations: 0.665 MB / 0.5694 GB, free: 30.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4382, allocations: 17.28 kB / 0.5694 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009785/0.4392, allocations: 135.2 kB / 0.5695 GB, free: 30.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.4397, allocations: 374.5 kB / 0.5699 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4397, allocations: 21.88 kB / 0.5699 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.4398, allocations: 40.91 kB / 0.5699 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009016/0.4407, allocations: 0.5539 MB / 0.5705 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.4407, allocations: 2.219 kB / 0.5705 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.39e-05/0.4408, allocations: 22.23 kB / 0.5705 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-05/0.4409, allocations: 40.12 kB / 0.5705 GB, free: 30.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.4416, allocations: 422.1 kB / 0.5709 GB, free: 29.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.444, allocations: 3.329 MB / 0.5742 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.4447, allocations: 337.1 kB / 0.5745 GB, free: 26.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.4451, allocations: 192.7 kB / 0.5747 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.4451, allocations: 2.969 kB / 0.5747 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4451, allocations: 37.72 kB / 0.5747 GB, free: 26.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.4451, allocations: 0 / 0.5747 GB, free: 26.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002078/0.4472, allocations: 1.093 MB / 0.5758 GB, free: 26.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.4472, allocations: 55.64 kB / 0.5759 GB, free: 26.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/0.4476, allocations: 344.8 kB / 0.5762 GB, free: 25.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.4476, allocations: 31.08 kB / 0.5762 GB, free: 25.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4477, allocations: 245.5 kB / 0.5765 GB, free: 25.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/0.4478, allocations: 98.75 kB / 0.5765 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.4479, allocations: 43.16 kB / 0.5766 GB, free: 25.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.448, allocations: 347.1 kB / 0.5769 GB, free: 25.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002894/0.4483, allocations: 156.9 kB / 0.5771 GB, free: 25.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.4486, allocations: 297.9 kB / 0.5774 GB, free: 24.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006202/0.4492, allocations: 490.6 kB / 0.5778 GB, free: 24.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4492, allocations: 1.375 kB / 0.5778 GB, free: 24.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009624/0.4502, allocations: 0.5721 MB / 0.5784 GB, free: 24.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4502, allocations: 9.656 kB / 0.5784 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4503, allocations: 4 kB / 0.5784 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003208/0.4506, allocations: 94.08 kB / 0.5785 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.451, allocations: 85.3 kB / 0.5786 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.451, allocations: 13.39 kB / 0.5786 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.4513, allocations: 39.34 kB / 0.5786 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.4514, allocations: 18.25 kB / 0.5786 GB, free: 24.28 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.0001845/0.4515, allocations: 170.5 kB / 0.5788 GB, free: 24.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.658e-05/0.4516, allocations: 39.48 kB / 0.5788 GB, free: 24.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009487/0.4526, allocations: 486.8 kB / 0.5793 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4526, allocations: 2.625 kB / 0.5793 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.4526, allocations: 1.094 kB / 0.5793 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4526, allocations: 2.25 kB / 0.5793 GB, free: 23.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/0.4542, allocations: 0.9745 MB / 0.5803 GB, free: 23.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4542, allocations: 5.219 kB / 0.5803 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.4545, allocations: 57.25 kB / 0.5803 GB, free: 23.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/0.4547, allocations: 78.5 kB / 0.5804 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.4548, allocations: 7.375 kB / 0.5804 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4548, allocations: 1.625 kB / 0.5804 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4548, allocations: 1.875 kB / 0.5804 GB, free: 23.28 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/0.4556, allocations: 0.556 MB / 0.5809 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.4558, allocations: 137.9 kB / 0.5811 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.4558, allocations: 7.125 kB / 0.5811 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.4561, allocations: 23.81 kB / 0.5811 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.4562, allocations: 33.55 kB / 0.5811 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.47e-05/0.4562, allocations: 3.594 kB / 0.5811 GB, free: 22.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.4564, allocations: 238.7 kB / 0.5814 GB, free: 22.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4564, allocations: 0 / 0.5814 GB, free: 22.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004603/0.4569, allocations: 83.94 kB / 0.5814 GB, free: 22.68 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.0001125/0.457, allocations: 102.4 kB / 0.5815 GB, free: 22.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008757/0.4579, allocations: 0.6432 MB / 0.5822 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4579, allocations: 5.031 kB / 0.5822 GB, free: 22.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.4583, allocations: 450 kB / 0.5826 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007752/0.4591, allocations: 117.2 kB / 0.5827 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.4603, allocations: 0.9337 MB / 0.5836 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.4606, allocations: 0.8241 MB / 0.5844 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.4607, allocations: 35.39 kB / 0.5845 GB, free: 20.43 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4607, allocations: 0 / 0.5845 GB, free: 20.43 MB / 446.1 MB Notification: Performance of Templates: time 0.01235/0.473, allocations: 9.382 MB / 0.5936 GB, free: 16.41 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)