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.986/4.986, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.002406/0.002405, allocations: 355.6 kB / 0.644 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.204/4.204, allocations: 410.7 MB / 1.112 GB, free: 6.074 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.001821/0.00182, allocations: 185.3 kB / 1.225 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004898, allocations: 16 kB / 1.348 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5982, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00528/0.6035, allocations: 4.807 MB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004017/0.6076, allocations: 2.479 MB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.608, allocations: 21.5 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002283/0.6082, allocations: 87.27 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008054/0.6091, allocations: 354.5 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008946/0.61, allocations: 287.7 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009712/0.6109, allocations: 1.041 MB / 1.47 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.6124, allocations: 0.7417 MB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003926/0.6128, allocations: 298.7 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004501/0.6132, allocations: 376 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.6133, allocations: 24 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.6138, allocations: 189.2 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.6141, allocations: 215.4 kB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001299/0.6142, allocations: 149.3 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006791/0.6149, allocations: 0.715 MB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.807e-06/0.6149, allocations: 4.75 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.977e-06/0.6149, allocations: 0 / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.6149, allocations: 0 / 1.472 GB, free: 272.6 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.00137/0.6163, allocations: 0.8555 MB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.6164, allocations: 11.62 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001724/0.6181, allocations: 204.6 kB / 1.473 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007694/0.6189, allocations: 477.4 kB / 1.474 GB, free: 271 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.619, allocations: 37.98 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.6191, allocations: 48 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.6204, allocations: 0.8246 MB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.6204, allocations: 9.016 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.6205, allocations: 27.98 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002091/0.6207, allocations: 64.94 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.6218, allocations: 0.5712 MB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004435/0.6262, allocations: 4.586 MB / 1.48 GB, free: 264.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.6268, allocations: 288.8 kB / 1.48 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003577/0.6272, allocations: 229.2 kB / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.6272, allocations: 5.781 kB / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6273, allocations: 39.5 kB / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 3.617e-06/0.6273, allocations: 0 / 1.48 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.008548/0.6359, allocations: 2.633 MB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.6359, allocations: 56.56 kB / 1.483 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008448/0.6368, allocations: 454 kB / 1.483 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/0.6369, allocations: 34.42 kB / 1.483 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002722/0.6372, allocations: 337.2 kB / 1.484 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.6374, allocations: 138 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.6374, allocations: 16 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.6376, allocations: 362.8 kB / 1.484 GB, free: 259.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007968/0.6384, allocations: 238.3 kB / 1.484 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/0.6393, allocations: 407 kB / 1.485 GB, free: 259 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008495/0.6401, allocations: 291.9 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.085e-06/0.6402, allocations: 4 kB / 1.485 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003797/0.644, allocations: 0.9149 MB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.551e-05/0.6441, allocations: 8 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.6441, allocations: 8 kB / 1.486 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.646, allocations: 229.2 kB / 1.486 GB, free: 257.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.6473, allocations: 115.8 kB / 1.486 GB, free: 257.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.6581, allocations: 4.941 MB / 1.491 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/0.6587, allocations: 27.97 kB / 1.491 GB, free: 252.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.6588, allocations: 25.22 kB / 1.491 GB, free: 252.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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.0003436/0.6592, allocations: 235.7 kB / 1.491 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.6593, allocations: 59.28 kB / 1.491 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.661, allocations: 0.7608 MB / 1.492 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.035e-06/0.661, allocations: 4 kB / 1.492 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.917e-06/0.661, allocations: 4 kB / 1.492 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.236e-06/0.661, allocations: 2.234 kB / 1.492 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.6639, allocations: 1.501 MB / 1.494 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.929e-06/0.664, allocations: 0 / 1.494 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.6645, allocations: 75.88 kB / 1.494 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009261/0.6655, allocations: 201.8 kB / 1.494 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.6655, allocations: 12.66 kB / 1.494 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004806/0.6703, allocations: 4.866 MB / 1.499 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.6704, allocations: 4.031 kB / 1.499 GB, free: 243.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.6724, allocations: 1.129 MB / 1.5 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.6727, allocations: 172.8 kB / 1.5 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.024e-05/0.6728, allocations: 11.98 kB / 1.5 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.6732, allocations: 27.97 kB / 1.5 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.6734, allocations: 39.84 kB / 1.5 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.6734, allocations: 15.94 kB / 1.5 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003682/0.6738, allocations: 303.4 kB / 1.5 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.35e-07/0.6738, allocations: 5 kB / 1.5 GB, free: 242.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008092/0.6746, allocations: 172 kB / 1.501 GB, free: 242 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.0001439/0.6748, allocations: 111.4 kB / 1.501 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001696/0.6765, allocations: 0.9983 MB / 1.502 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.6765, allocations: 0.7188 kB / 1.502 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6776, allocations: 0.6801 MB / 1.502 GB, free: 240.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.6787, allocations: 165.2 kB / 1.502 GB, free: 240 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.6809, allocations: 1.495 MB / 1.504 GB, free: 238.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.6814, allocations: 0.9611 MB / 1.505 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005398/0.6819, allocations: 119.7 kB / 1.505 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.6821, allocations: 35.44 kB / 1.505 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.556e-06/0.6821, allocations: 0 / 1.505 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.01741/0.6995, allocations: 8.137 MB / 1.513 GB, free: 229.4 MB / 0.8542 GB