Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.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.009424/0.009424, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001659/0.001659, allocations: 192.8 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.846/1.846, allocations: 205.1 MB / 222.5 MB, free: 4.469 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.653/1.653, allocations: 251.7 MB / 0.5094 GB, free: 3.031 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 74.08 kB / 0.7258 GB, free: 9.148 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3279, allocations: 104.7 MB / 0.828 GB, free: 348 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006737/0.3347, allocations: 3.76 MB / 0.8317 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004259/0.339, allocations: 1.836 MB / 0.8335 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.3394, allocations: 15.88 kB / 0.8335 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.3408, allocations: 270.7 kB / 0.8338 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.3418, allocations: 302.4 kB / 0.8341 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.3427, allocations: 266.8 kB / 0.8343 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009532/0.3437, allocations: 0.601 MB / 0.8349 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006742/0.3444, allocations: 266.4 kB / 0.8352 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.3449, allocations: 239.2 kB / 0.8354 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.3453, allocations: 234.9 kB / 0.8356 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.06e-05/0.3454, allocations: 28 kB / 0.8356 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007519/0.3462, allocations: 271.5 kB / 0.8359 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.3464, allocations: 115.6 kB / 0.836 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.3467, allocations: 210.9 kB / 0.8362 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.3477, allocations: 0.5918 MB / 0.8368 GB, free: 7.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.437e-06/0.3478, allocations: 4 kB / 0.8368 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of FrontEnd: time 4.208e-06/0.3478, allocations: 0 / 0.8368 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.823e-05/0.3478, allocations: 0 / 0.8368 GB, free: 7.332 MB / 0.6544 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.001409/0.3492, allocations: 0.7323 MB / 0.8375 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3493, allocations: 12.03 kB / 0.8375 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008901/0.3502, allocations: 132.2 kB / 0.8376 GB, free: 6.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005576/0.3508, allocations: 407.5 kB / 0.838 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3508, allocations: 21.03 kB / 0.838 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.3509, allocations: 32.36 kB / 0.8381 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009164/0.3518, allocations: 0.5472 MB / 0.8386 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.141e-05/0.3518, allocations: 7.938 kB / 0.8386 GB, free: 5.293 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.422e-05/0.3519, allocations: 15.98 kB / 0.8386 GB, free: 5.277 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-05/0.352, allocations: 40.53 kB / 0.8387 GB, free: 5.238 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000786/0.3528, allocations: 413.7 kB / 0.8391 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.3563, allocations: 3.333 MB / 0.8423 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.357, allocations: 338.5 kB / 0.8426 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003006/0.3573, allocations: 176.7 kB / 0.8428 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.3573, allocations: 4 kB / 0.8428 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.3573, allocations: 42.5 kB / 0.8429 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 3.116e-06/0.3574, allocations: 4 kB / 0.8429 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.002236/0.3596, allocations: 1.055 MB / 0.8439 GB, free: 15.56 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.3596, allocations: 55.64 kB / 0.8439 GB, free: 15.49 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.3602, allocations: 341.6 kB / 0.8443 GB, free: 15.15 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.985e-05/0.3602, allocations: 33.69 kB / 0.8443 GB, free: 15.11 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.3604, allocations: 243.5 kB / 0.8445 GB, free: 14.87 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.723e-05/0.3605, allocations: 94.64 kB / 0.8446 GB, free: 14.78 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3607, allocations: 78.03 kB / 0.8447 GB, free: 14.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3608, allocations: 350.8 kB / 0.845 GB, free: 14.34 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.3611, allocations: 148.8 kB / 0.8452 GB, free: 14.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.3615, allocations: 294.5 kB / 0.8455 GB, free: 13.85 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006747/0.3622, allocations: 477.9 kB / 0.8459 GB, free: 13.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.3622, allocations: 4 kB / 0.8459 GB, free: 13.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001002/0.3632, allocations: 0.5616 MB / 0.8465 GB, free: 12.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/0.3632, allocations: 8 kB / 0.8465 GB, free: 12.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.3633, allocations: 4 kB / 0.8465 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003634/0.3636, allocations: 91.06 kB / 0.8466 GB, free: 12.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.364, allocations: 91.81 kB / 0.8467 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.364, allocations: 4 kB / 0.8467 GB, free: 12.53 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.3643, allocations: 35.91 kB / 0.8467 GB, free: 12.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.846e-05/0.3643, allocations: 16 kB / 0.8467 GB, free: 12.48 MB / 0.67 GB 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.0002254/0.3645, allocations: 177.6 kB / 0.8469 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.224e-05/0.3646, allocations: 43.53 kB / 0.8469 GB, free: 12.25 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009195/0.3655, allocations: 468.2 kB / 0.8474 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3656, allocations: 0 / 0.8474 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.3656, allocations: 4 kB / 0.8474 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3656, allocations: 0 / 0.8474 GB, free: 11.78 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3671, allocations: 0.9598 MB / 0.8483 GB, free: 10.74 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3671, allocations: 7.875 kB / 0.8483 GB, free: 10.73 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/0.3673, allocations: 47.95 kB / 0.8484 GB, free: 10.69 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002502/0.3676, allocations: 82.61 kB / 0.8484 GB, free: 10.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.3676, allocations: 8 kB / 0.8484 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3676, allocations: 3.938 kB / 0.8485 GB, free: 10.59 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.3676, allocations: 7.984 kB / 0.8485 GB, free: 10.58 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008631/0.3685, allocations: 0.535 MB / 0.849 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.3687, allocations: 144.5 kB / 0.8491 GB, free: 9.848 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.3687, allocations: 8 kB / 0.8491 GB, free: 9.84 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.369, allocations: 23.97 kB / 0.8491 GB, free: 9.816 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.449e-05/0.3691, allocations: 19.91 kB / 0.8492 GB, free: 9.797 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3691, allocations: 12 kB / 0.8492 GB, free: 9.785 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0002536/0.3693, allocations: 235.2 kB / 0.8494 GB, free: 9.559 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3694, allocations: 0 / 0.8494 GB, free: 9.559 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004269/0.3698, allocations: 88 kB / 0.8495 GB, free: 9.473 MB / 0.67 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 (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.0001758/0.37, allocations: 107.1 kB / 0.8496 GB, free: 9.355 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009337/0.3709, allocations: 0.6521 MB / 0.8502 GB, free: 8.641 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3709, allocations: 0 / 0.8502 GB, free: 8.641 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004434/0.3714, allocations: 430.9 kB / 0.8506 GB, free: 8.156 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007288/0.3721, allocations: 124 kB / 0.8508 GB, free: 8.035 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.3734, allocations: 0.719 MB / 0.8515 GB, free: 7.277 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.3739, allocations: 0.8273 MB / 0.8523 GB, free: 6.422 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002465/0.3742, allocations: 83.28 kB / 0.8523 GB, free: 6.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.3743, allocations: 27.44 kB / 0.8524 GB, free: 6.312 MB / 0.67 GB Notification: Performance of SimCode: time 2.71e-07/0.3743, allocations: 0 / 0.8524 GB, free: 6.312 MB / 0.67 GB Notification: Performance of Templates: time 0.01155/0.3858, allocations: 4.745 MB / 0.857 GB, free: 1.633 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)