Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.857/4.857, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002525/0.002525, allocations: 355.9 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.235/4.235, allocations: 410.7 MB / 1.113 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001895/0.001895, allocations: 186.8 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006976/0.000698, allocations: 16 kB / 1.349 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7739/0.7746, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/1.008, allocations: 161.3 MB / 1.619 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003541/1.008, allocations: 103.8 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0698/1.078, allocations: 17.74 MB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.214e-06/1.078, allocations: 0.5625 kB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.559e-05/1.078, allocations: 5.5 kB / 1.636 GB, free: 105.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001564/1.08, allocations: 0.6361 MB / 1.637 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.08, allocations: 15.62 kB / 1.637 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.081, allocations: 100.2 kB / 1.637 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000451/1.081, allocations: 284.7 kB / 1.637 GB, free: 104 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/1.081, allocations: 13.81 kB / 1.637 GB, free: 104 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/1.081, allocations: 31.88 kB / 1.637 GB, free: 104 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/1.083, allocations: 415.8 kB / 1.638 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/1.083, allocations: 7.938 kB / 1.638 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/1.083, allocations: 4.984 kB / 1.638 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-05/1.083, allocations: 25.02 kB / 1.638 GB, free: 103.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.084, allocations: 419.1 kB / 1.638 GB, free: 103.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002699/1.087, allocations: 1.653 MB / 1.64 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/1.089, allocations: 480 kB / 1.64 GB, free: 100.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007063/1.09, allocations: 208.4 kB / 1.64 GB, free: 100.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/1.09, allocations: 96.16 kB / 1.64 GB, free: 100.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008492/1.091, allocations: 280.5 kB / 1.641 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 2.805e-06/1.091, allocations: 0 / 1.641 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28): time 0.003023/1.094, allocations: 0.7776 MB / 1.642 GB, free: 99.44 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.094, allocations: 90.91 kB / 1.642 GB, free: 99.33 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/1.094, allocations: 221 kB / 1.642 GB, free: 99.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/1.094, allocations: 33.7 kB / 1.642 GB, free: 99.07 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/1.094, allocations: 173.3 kB / 1.642 GB, free: 98.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/1.094, allocations: 90.66 kB / 1.642 GB, free: 98.81 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/1.094, allocations: 8 kB / 1.642 GB, free: 98.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/1.095, allocations: 335.8 kB / 1.642 GB, free: 98.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/1.095, allocations: 179.2 kB / 1.643 GB, free: 98.29 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/1.096, allocations: 253.8 kB / 1.643 GB, free: 98.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/1.097, allocations: 239.6 kB / 1.643 GB, free: 97.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.097, allocations: 0 / 1.643 GB, free: 97.79 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0019/1.099, allocations: 0.5587 MB / 1.644 GB, free: 97.22 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/1.099, allocations: 179.9 kB / 1.644 GB, free: 97.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.099, allocations: 4.516 kB / 1.644 GB, free: 97 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003222/1.099, allocations: 37.86 kB / 1.644 GB, free: 96.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000732/1.1, allocations: 93.23 kB / 1.644 GB, free: 96.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/1.102, allocations: 1.504 MB / 1.645 GB, free: 95.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006415/1.102, allocations: 50.2 kB / 1.645 GB, free: 95.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/1.102, allocations: 16 kB / 1.645 GB, free: 95.18 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/1.102, allocations: 7.594 kB / 1.645 GB, free: 95.18 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/1.104, allocations: 0.4989 MB / 1.646 GB, free: 94.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.104, allocations: 4 kB / 1.646 GB, free: 94.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000225/1.104, allocations: 44.88 kB / 1.646 GB, free: 94.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/1.105, allocations: 83.88 kB / 1.646 GB, free: 94.55 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/1.106, allocations: 1.482 MB / 1.648 GB, free: 92.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/1.107, allocations: 58.19 kB / 1.648 GB, free: 92.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/1.107, allocations: 15.94 kB / 1.648 GB, free: 92.86 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000303/1.107, allocations: 239.4 kB / 1.648 GB, free: 92.62 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.586e-05/1.107, allocations: 27.7 kB / 1.648 GB, free: 92.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/1.109, allocations: 496.7 kB / 1.648 GB, free: 92.11 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.109, allocations: 4 kB / 1.648 GB, free: 92.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.109, allocations: 0.5312 kB / 1.648 GB, free: 92.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.109, allocations: 1.062 kB / 1.648 GB, free: 92.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008514/1.11, allocations: 0.5748 MB / 1.649 GB, free: 91.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/1.11, allocations: 0.9375 kB / 1.649 GB, free: 91.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007148/1.111, allocations: 82.78 kB / 1.649 GB, free: 91.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/1.111, allocations: 36.77 kB / 1.649 GB, free: 91.35 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/1.111, allocations: 8 kB / 1.649 GB, free: 91.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/1.112, allocations: 1.41 MB / 1.65 GB, free: 89.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.112, allocations: 0 / 1.65 GB, free: 89.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/1.114, allocations: 0.5676 MB / 1.651 GB, free: 89.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/1.114, allocations: 140.6 kB / 1.651 GB, free: 89.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/1.114, allocations: 9.688 kB / 1.651 GB, free: 89.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/1.115, allocations: 41.8 kB / 1.651 GB, free: 89.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/1.115, allocations: 29.98 kB / 1.651 GB, free: 88.99 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/1.115, allocations: 12 kB / 1.651 GB, free: 88.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002139/1.115, allocations: 168.5 kB / 1.651 GB, free: 88.81 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.115, allocations: 0 / 1.651 GB, free: 88.81 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008241/1.116, allocations: 151.9 kB / 1.651 GB, free: 88.66 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002132/1.116, allocations: 130.7 kB / 1.652 GB, free: 88.53 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002829/1.119, allocations: 1.012 MB / 1.653 GB, free: 87.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.119, allocations: 0 / 1.653 GB, free: 87.48 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009788/1.12, allocations: 343.6 kB / 1.653 GB, free: 87.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000664/1.121, allocations: 45.88 kB / 1.653 GB, free: 87.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/1.123, allocations: 0.7389 MB / 1.654 GB, free: 86.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/1.123, allocations: 0.7839 MB / 1.654 GB, free: 85.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005323/1.124, allocations: 95.98 kB / 1.655 GB, free: 85.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/1.124, allocations: 32.83 kB / 1.655 GB, free: 85.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/1.124, allocations: 0 / 1.655 GB, free: 85.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.01153/1.135, allocations: 4.057 MB / 1.659 GB, free: 81.46 MB / 0.8542 GB