Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.847/4.847, allocations: 0.5623 GB / 0.5775 GB, free: 3.324 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.002532/0.002531, allocations: 356.8 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.332/4.332, 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.001864/0.001864, allocations: 198.8 kB / 1.226 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006492/0.0006494, allocations: 12 kB / 1.349 GB, free: 8.266 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7505/0.7511, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2407/0.992, allocations: 181.2 MB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.9924, allocations: 104.5 kB / 1.638 GB, free: 102.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.116/1.108, allocations: 31.39 MB / 1.669 GB, free: 71.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.645e-06/1.108, allocations: 0 / 1.669 GB, free: 71.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.983e-05/1.109, allocations: 21.28 kB / 1.669 GB, free: 71.38 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001953/1.11, allocations: 0.8664 MB / 1.67 GB, free: 70.46 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.111, allocations: 15.62 kB / 1.67 GB, free: 70.45 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/1.113, allocations: 192.1 kB / 1.67 GB, free: 70.27 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/1.114, allocations: 0.4908 MB / 1.671 GB, free: 69.74 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/1.114, allocations: 37.92 kB / 1.671 GB, free: 69.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/1.114, allocations: 55.98 kB / 1.671 GB, free: 69.64 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/1.116, allocations: 0.8769 MB / 1.671 GB, free: 68.68 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.624e-05/1.116, allocations: 3.938 kB / 1.672 GB, free: 68.67 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/1.116, allocations: 33.45 kB / 1.672 GB, free: 68.64 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.567e-05/1.117, allocations: 40.98 kB / 1.672 GB, free: 68.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/1.118, allocations: 0.5709 MB / 1.672 GB, free: 68.03 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/1.124, allocations: 4.596 MB / 1.677 GB, free: 63.11 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007104/1.124, allocations: 295 kB / 1.677 GB, free: 62.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/1.125, allocations: 226.3 kB / 1.677 GB, free: 62.59 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.387e-05/1.125, allocations: 4 kB / 1.677 GB, free: 62.59 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.125, allocations: 39.06 kB / 1.677 GB, free: 62.54 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 3.085e-06/1.125, allocations: 0.5625 kB / 1.677 GB, free: 62.54 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.008699/1.134, allocations: 2.643 MB / 1.68 GB, free: 59.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/1.134, allocations: 55.41 kB / 1.68 GB, free: 59.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000641/1.134, allocations: 452.9 kB / 1.68 GB, free: 59.27 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/1.134, allocations: 37.7 kB / 1.68 GB, free: 59.23 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/1.135, allocations: 327.8 kB / 1.681 GB, free: 58.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/1.135, allocations: 141.9 kB / 1.681 GB, free: 58.77 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/1.135, allocations: 15.94 kB / 1.681 GB, free: 58.75 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/1.135, allocations: 366.7 kB / 1.681 GB, free: 58.38 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/1.136, allocations: 234.7 kB / 1.681 GB, free: 58.16 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/1.136, allocations: 383.7 kB / 1.682 GB, free: 57.72 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006298/1.137, allocations: 290.5 kB / 1.682 GB, free: 57.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.137, allocations: 6.281 kB / 1.682 GB, free: 57.44 MB / 0.8542 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002485/1.139, allocations: 0.8964 MB / 1.683 GB, free: 56.54 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/1.139, allocations: 8.125 kB / 1.683 GB, free: 56.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.139, allocations: 8.531 kB / 1.683 GB, free: 56.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/1.141, allocations: 223.2 kB / 1.683 GB, free: 56.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000915/1.142, allocations: 115.8 kB / 1.683 GB, free: 56.19 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005941/1.148, allocations: 4.929 MB / 1.688 GB, free: 50.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/1.148, allocations: 31.97 kB / 1.688 GB, free: 50.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/1.149, allocations: 25.47 kB / 1.688 GB, free: 50.82 MB / 0.8542 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 (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004306/1.149, allocations: 230.9 kB / 1.688 GB, free: 50.59 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.149, allocations: 59.33 kB / 1.688 GB, free: 50.53 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002257/1.151, allocations: 0.7636 MB / 1.689 GB, free: 49.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/1.151, allocations: 6.188 kB / 1.689 GB, free: 49.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.151, allocations: 4 kB / 1.689 GB, free: 49.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/1.151, allocations: 3.984 kB / 1.689 GB, free: 49.74 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/1.155, allocations: 1.476 MB / 1.691 GB, free: 48.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.155, allocations: 0 / 1.691 GB, free: 48.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/1.156, allocations: 71.88 kB / 1.691 GB, free: 48.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001119/1.157, allocations: 214.7 kB / 1.691 GB, free: 47.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.458e-05/1.157, allocations: 8 kB / 1.691 GB, free: 47.89 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005618/1.163, allocations: 4.867 MB / 1.696 GB, free: 42.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.163, allocations: 4 kB / 1.696 GB, free: 42.64 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002677/1.165, allocations: 1.127 MB / 1.697 GB, free: 41.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/1.166, allocations: 176.4 kB / 1.697 GB, free: 41.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.166, allocations: 8 kB / 1.697 GB, free: 41.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005587/1.166, allocations: 28.14 kB / 1.697 GB, free: 41.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/1.167, allocations: 35.91 kB / 1.697 GB, free: 41.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.424e-05/1.167, allocations: 19.92 kB / 1.697 GB, free: 41.19 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000454/1.167, allocations: 306.9 kB / 1.697 GB, free: 40.89 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/1.167, allocations: 0 / 1.697 GB, free: 40.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009047/1.168, allocations: 184 kB / 1.697 GB, free: 40.71 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001885/1.168, allocations: 119.2 kB / 1.697 GB, free: 40.58 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002228/1.17, allocations: 0.9913 MB / 1.698 GB, free: 39.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.17, allocations: 0 / 1.698 GB, free: 39.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/1.172, allocations: 0.6726 MB / 1.699 GB, free: 38.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.173, allocations: 165.7 kB / 1.699 GB, free: 38.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/1.176, allocations: 1.499 MB / 1.701 GB, free: 37.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004837/1.177, allocations: 0.961 MB / 1.702 GB, free: 36.14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000624/1.177, allocations: 108.8 kB / 1.702 GB, free: 36.04 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/1.177, allocations: 35.44 kB / 1.702 GB, free: 36 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/1.177, allocations: 0 / 1.702 GB, free: 36 MB / 0.8542 GB Notification: Performance of Templates: time 0.02083/1.198, allocations: 8.17 MB / 1.71 GB, free: 27.98 MB / 0.8542 GB