Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 293 MB / 309 MB, free: 4.773 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 188.1 kB / 378.7 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 0.6383 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007801/0.0007801, allocations: 93.47 kB / 0.7527 GB, free: 62.86 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003894, allocations: 12 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2781, allocations: 116.4 MB / 0.9905 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.73/1.008, allocations: 155.3 MB / 1.142 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003356/1.008, allocations: 93.75 kB / 1.142 GB, free: 21.73 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04675/1.055, allocations: 20.51 MB / 1.162 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.647e-06/1.055, allocations: 0 / 1.162 GB, free: 5.516 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.545e-05/1.055, allocations: 15.94 kB / 1.162 GB, free: 5.5 MB / 0.7292 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.001281/1.057, allocations: 0.6832 MB / 1.163 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/1.057, allocations: 11.97 kB / 1.163 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009919/1.058, allocations: 144.1 kB / 1.163 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/1.058, allocations: 375.7 kB / 1.163 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/1.058, allocations: 29.77 kB / 1.163 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/1.058, allocations: 28.38 kB / 1.163 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/1.059, allocations: 0.6134 MB / 1.164 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/1.059, allocations: 192 / 1.164 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/1.059, allocations: 19.94 kB / 1.164 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-05/1.059, allocations: 32.53 kB / 1.164 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/1.06, allocations: 417.7 kB / 1.165 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002684/1.063, allocations: 3.357 MB / 1.168 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/1.064, allocations: 342.4 kB / 1.168 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/1.064, allocations: 181.9 kB / 1.168 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.762e-05/1.064, allocations: 7.938 kB / 1.168 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/1.064, allocations: 42.5 kB / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=26): time 2.094e-06/1.064, allocations: 0 / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=27): time 0.002203/1.066, allocations: 1.072 MB / 1.169 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/1.066, allocations: 63.62 kB / 1.169 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/1.067, allocations: 337.6 kB / 1.17 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/1.067, allocations: 29.7 kB / 1.17 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/1.067, allocations: 239.6 kB / 1.17 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/1.067, allocations: 98.66 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/1.067, allocations: 4 kB / 1.17 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.067, allocations: 346.8 kB / 1.17 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/1.068, allocations: 152.7 kB / 1.171 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/1.068, allocations: 272.8 kB / 1.171 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007206/1.069, allocations: 470.4 kB / 1.171 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.069, allocations: 0 / 1.171 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001027/1.07, allocations: 0.554 MB / 1.172 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/1.07, allocations: 8 kB / 1.172 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.07, allocations: 4 kB / 1.172 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/1.07, allocations: 86.98 kB / 1.172 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/1.071, allocations: 83.88 kB / 1.172 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/1.071, allocations: 8.875 kB / 1.172 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/1.071, allocations: 31.97 kB / 1.172 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/1.071, allocations: 20 kB / 1.172 GB, free: 10.71 MB / 0.7448 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.0002487/1.071, allocations: 178.8 kB / 1.172 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.461e-05/1.071, allocations: 39.53 kB / 1.172 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009281/1.072, allocations: 479.9 kB / 1.173 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.072, allocations: 3.938 kB / 1.173 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/1.072, allocations: 4 kB / 1.173 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/1.072, allocations: 3.984 kB / 1.173 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/1.074, allocations: 0.9716 MB / 1.174 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.074, allocations: 0 / 1.174 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002433/1.074, allocations: 51.89 kB / 1.174 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/1.075, allocations: 91.48 kB / 1.174 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/1.075, allocations: 3.984 kB / 1.174 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/1.075, allocations: 4 kB / 1.174 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.075, allocations: 3.938 kB / 1.174 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000899/1.076, allocations: 0.5522 MB / 1.174 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/1.076, allocations: 136.6 kB / 1.175 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/1.076, allocations: 8 kB / 1.175 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/1.076, allocations: 28.72 kB / 1.175 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/1.076, allocations: 27.91 kB / 1.175 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/1.076, allocations: 4 kB / 1.175 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002824/1.076, allocations: 235.2 kB / 1.175 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.076, allocations: 0 / 1.175 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004794/1.077, allocations: 95.98 kB / 1.175 GB, free: 7.66 MB / 0.7448 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.0001959/1.077, allocations: 116.8 kB / 1.175 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001058/1.078, allocations: 0.6333 MB / 1.176 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.078, allocations: 0 / 1.176 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005619/1.079, allocations: 436.9 kB / 1.176 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008449/1.08, allocations: 116.8 kB / 1.176 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/1.081, allocations: 0.8727 MB / 1.177 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006047/1.082, allocations: 0.8195 MB / 1.178 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003283/1.082, allocations: 78.05 kB / 1.178 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/1.082, allocations: 27.44 kB / 1.178 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/1.082, allocations: 3.938 kB / 1.178 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.009619/1.092, allocations: 4.391 MB / 1.182 GB, free: 68 kB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)