Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.601/1.601, allocations: 297.8 MB / 313.7 MB, free: 152 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 176.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 0.6626 GB, free: 4.344 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007628/0.0007628, allocations: 95.48 kB / 0.7808 GB, free: 50.22 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003697, allocations: 12 kB / 0.9088 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6096/0.61, allocations: 120.3 MB / 1.026 GB, free: 56.14 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.7817, allocations: 157.7 MB / 1.18 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.782, allocations: 96.81 kB / 1.18 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.05088/0.8329, allocations: 22.36 MB / 1.202 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.884e-06/0.833, allocations: 0.9375 kB / 1.202 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.055e-05/0.833, allocations: 8 kB / 1.202 GB, free: 13.78 MB / 0.7761 GB 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.001017/0.834, allocations: 0.6863 MB / 1.203 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.8341, allocations: 8.031 kB / 1.203 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008273/0.8349, allocations: 136.2 kB / 1.203 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005066/0.8354, allocations: 395.5 kB / 1.203 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.8355, allocations: 25.03 kB / 1.203 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.314e-05/0.8355, allocations: 32.36 kB / 1.204 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007936/0.8363, allocations: 0.6072 MB / 1.204 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.8363, allocations: 192 / 1.204 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.974e-05/0.8364, allocations: 20.5 kB / 1.204 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/0.8365, allocations: 36.48 kB / 1.204 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006644/0.8371, allocations: 417.8 kB / 1.205 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.8399, allocations: 3.364 MB / 1.208 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.8405, allocations: 336.8 kB / 1.208 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002823/0.8408, allocations: 185.6 kB / 1.208 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.8408, allocations: 4 kB / 1.208 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.8409, allocations: 34.5 kB / 1.208 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=26): time 1.904e-06/0.8409, allocations: 0 / 1.208 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=27): time 0.001982/0.8429, allocations: 1.078 MB / 1.209 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.8429, allocations: 55.64 kB / 1.209 GB, free: 5.855 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.8433, allocations: 346.2 kB / 1.21 GB, free: 5.508 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.8433, allocations: 29.7 kB / 1.21 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.8434, allocations: 243.7 kB / 1.21 GB, free: 5.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.8435, allocations: 94.64 kB / 1.21 GB, free: 5.137 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/0.8435, allocations: 8 kB / 1.21 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.8437, allocations: 342.8 kB / 1.21 GB, free: 4.785 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.844, allocations: 148.7 kB / 1.211 GB, free: 4.637 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.8443, allocations: 273.6 kB / 1.211 GB, free: 4.316 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005947/0.8449, allocations: 471.8 kB / 1.211 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8449, allocations: 0 / 1.211 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008807/0.8458, allocations: 0.5542 MB / 1.212 GB, free: 3.234 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.8458, allocations: 8 kB / 1.212 GB, free: 3.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8458, allocations: 4 kB / 1.212 GB, free: 3.223 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002676/0.8461, allocations: 82.5 kB / 1.212 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.8464, allocations: 91.81 kB / 1.212 GB, free: 3.043 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.8464, allocations: 4 kB / 1.212 GB, free: 3.039 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.8467, allocations: 40.03 kB / 1.212 GB, free: 3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.8467, allocations: 16 kB / 1.212 GB, free: 2.984 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.8469, allocations: 173.6 kB / 1.212 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.847, allocations: 43.52 kB / 1.212 GB, free: 2.762 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/0.8478, allocations: 473.2 kB / 1.213 GB, free: 2.281 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.8478, allocations: 9.688 kB / 1.213 GB, free: 2.273 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.8478, allocations: 3.984 kB / 1.213 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8478, allocations: 0 / 1.213 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.8493, allocations: 0.9716 MB / 1.214 GB, free: 1.223 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.8493, allocations: 4.094 kB / 1.214 GB, free: 1.219 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.8495, allocations: 55.91 kB / 1.214 GB, free: 1.164 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.8498, allocations: 79.53 kB / 1.214 GB, free: 1.078 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.8498, allocations: 8 kB / 1.214 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8498, allocations: 0 / 1.214 GB, free: 1.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8498, allocations: 3.938 kB / 1.214 GB, free: 1.066 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.8507, allocations: 0.5625 MB / 1.214 GB, free: 480 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.8508, allocations: 136.6 kB / 1.215 GB, free: 324 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.8509, allocations: 8 kB / 1.215 GB, free: 316 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.8511, allocations: 26.09 kB / 1.215 GB, free: 292 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.405e-05/0.8512, allocations: 23.95 kB / 1.215 GB, free: 268 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.8512, allocations: 8 kB / 1.215 GB, free: 260 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002093/0.8514, allocations: 235.2 kB / 1.215 GB, free: 28 kB / 0.7761 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8514, allocations: 1.125 kB / 1.215 GB, free: 28 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004012/0.8518, allocations: 92.05 kB / 1.215 GB, free: 15.93 MB / 0.7917 GB 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001386/0.852, allocations: 115.9 kB / 1.215 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008595/0.8528, allocations: 0.6309 MB / 1.216 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.8529, allocations: 1.062 kB / 1.216 GB, free: 15.12 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.8533, allocations: 444.7 kB / 1.216 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.854, allocations: 110.8 kB / 1.216 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.8551, allocations: 0.8761 MB / 1.217 GB, free: 13.61 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.8555, allocations: 0.8156 MB / 1.218 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002413/0.8557, allocations: 84.92 kB / 1.218 GB, free: 12.68 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.8558, allocations: 31.44 kB / 1.218 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of SimCode: time 2.3e-07/0.8558, allocations: 0 / 1.218 GB, free: 12.65 MB / 0.7917 GB Notification: Performance of Templates: time 0.007845/0.8636, allocations: 4.386 MB / 1.222 GB, free: 8.395 MB / 0.7917 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)