Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.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.877/4.877, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 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.00248/0.002479, allocations: 352 kB / 0.644 GB, free: 185.7 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.133/4.133, allocations: 410.7 MB / 1.112 GB, free: 6.008 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.001788/0.001788, allocations: 186.4 kB / 1.225 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008355/0.0008358, allocations: 16 kB / 1.348 GB, free: 8.312 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.628/0.6289, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01021/0.6391, allocations: 4.877 MB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.007506/0.6467, allocations: 2.497 MB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008242/0.6476, allocations: 15.88 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004397/0.6481, allocations: 91.27 kB / 1.468 GB, free: 276.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.6499, allocations: 351.1 kB / 1.468 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001757/0.6517, allocations: 299.9 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.6535, allocations: 1.057 MB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.6559, allocations: 0.7289 MB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007458/0.6566, allocations: 302.7 kB / 1.471 GB, free: 274.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007314/0.6574, allocations: 380.2 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.6575, allocations: 28 kB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008139/0.6584, allocations: 185 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.6587, allocations: 219.4 kB / 1.471 GB, free: 273.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002254/0.659, allocations: 141.3 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.6602, allocations: 0.7267 MB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 8.087e-06/0.6602, allocations: 6.844 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.822e-06/0.6602, allocations: 0 / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.6603, allocations: 0 / 1.472 GB, free: 272.5 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.002229/0.6625, allocations: 0.8579 MB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.6626, allocations: 11.62 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003197/0.6658, allocations: 207.5 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/0.6672, allocations: 485.4 kB / 1.474 GB, free: 270.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.6673, allocations: 36.98 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.6676, allocations: 55.86 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.6698, allocations: 0.8199 MB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.6699, allocations: 7.938 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.67, allocations: 27.98 kB / 1.475 GB, free: 269.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003686/0.6704, allocations: 70.52 kB / 1.475 GB, free: 269.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.6723, allocations: 0.5629 MB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007762/0.6801, allocations: 4.593 MB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009295/0.6811, allocations: 288.3 kB / 1.48 GB, free: 264 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.6817, allocations: 227.4 kB / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.472e-05/0.6818, allocations: 4.281 kB / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.6819, allocations: 38.84 kB / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=33): time 5.509e-06/0.6819, allocations: 0 / 1.48 GB, free: 263.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=40): time 0.01135/0.6933, allocations: 2.637 MB / 1.483 GB, free: 261 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.6933, allocations: 59.34 kB / 1.483 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.6943, allocations: 454 kB / 1.483 GB, free: 260.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/0.6944, allocations: 37.7 kB / 1.483 GB, free: 260.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.6947, allocations: 339.6 kB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.6949, allocations: 142 kB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.695, allocations: 12 kB / 1.484 GB, free: 260 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6952, allocations: 361.3 kB / 1.484 GB, free: 259.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000768/0.6959, allocations: 237 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008733/0.6968, allocations: 406.3 kB / 1.485 GB, free: 258.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.6978, allocations: 296 kB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.6e-06/0.6978, allocations: 4 kB / 1.485 GB, free: 258.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003615/0.7015, allocations: 0.9186 MB / 1.486 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.7015, allocations: 4 kB / 1.486 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.7016, allocations: 9.625 kB / 1.486 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/0.7034, allocations: 228.8 kB / 1.486 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.7046, allocations: 117.5 kB / 1.486 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008402/0.713, allocations: 4.933 MB / 1.491 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.7141, allocations: 37.53 kB / 1.491 GB, free: 252 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.7143, allocations: 20 kB / 1.491 GB, free: 252 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.0005774/0.7149, allocations: 229.3 kB / 1.492 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.7151, allocations: 56.06 kB / 1.492 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003056/0.7182, allocations: 0.7722 MB / 1.492 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/0.7182, allocations: 4 kB / 1.492 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.7182, allocations: 4 kB / 1.492 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.7183, allocations: 8.719 kB / 1.492 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005045/0.7233, allocations: 1.493 MB / 1.494 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.7234, allocations: 0.5625 kB / 1.494 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/0.7243, allocations: 67.88 kB / 1.494 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.7259, allocations: 205.6 kB / 1.494 GB, free: 249 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.7261, allocations: 16 kB / 1.494 GB, free: 249 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008085/0.7342, allocations: 4.872 MB / 1.499 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.028e-06/0.7342, allocations: 1.281 kB / 1.499 GB, free: 243.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.738, allocations: 1.133 MB / 1.5 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.7385, allocations: 172.3 kB / 1.5 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.7387, allocations: 14.44 kB / 1.5 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007921/0.7396, allocations: 23.97 kB / 1.5 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.7397, allocations: 43.78 kB / 1.5 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.7398, allocations: 13.94 kB / 1.5 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006463/0.7405, allocations: 310.9 kB / 1.501 GB, free: 242 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.305e-06/0.7405, allocations: 4 kB / 1.501 GB, free: 242 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001526/0.7421, allocations: 164 kB / 1.501 GB, free: 241.9 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.0002327/0.7423, allocations: 118.6 kB / 1.501 GB, free: 241.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00299/0.7453, allocations: 0.9973 MB / 1.502 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.418e-06/0.7454, allocations: 2.875 kB / 1.502 GB, free: 240.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.7472, allocations: 0.6749 MB / 1.502 GB, free: 240 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.7494, allocations: 171.2 kB / 1.503 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.7533, allocations: 1.505 MB / 1.504 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/0.7541, allocations: 0.9611 MB / 1.505 GB, free: 237.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0009554/0.7551, allocations: 117.8 kB / 1.505 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.7553, allocations: 35.44 kB / 1.505 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.346e-06/0.7553, allocations: 0 / 1.505 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.03144/0.7868, allocations: 8.157 MB / 1.513 GB, free: 229.3 MB / 0.8542 GB