Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.271/5.271, allocations: 0.5623 GB / 0.5769 GB, free: 3.363 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.00238/0.00238, allocations: 355.8 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.262/4.262, allocations: 410.7 MB / 1.112 GB, free: 5.977 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.001776/0.001776, allocations: 183.8 kB / 1.225 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005035, allocations: 12 kB / 1.348 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6497, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01177/0.6615, allocations: 10.77 MB / 1.471 GB, free: 273.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00824/0.6698, allocations: 5.206 MB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.6709, allocations: 33.28 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008454/0.6717, allocations: 301.9 kB / 1.477 GB, free: 268 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.6736, allocations: 0.6618 MB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.6755, allocations: 0.594 MB / 1.478 GB, free: 266.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002828/0.6783, allocations: 2.914 MB / 1.481 GB, free: 263.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005975/0.6843, allocations: 3.865 MB / 1.485 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.6856, allocations: 0.7667 MB / 1.485 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001438/0.6871, allocations: 1.079 MB / 1.486 GB, free: 258.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.6873, allocations: 100 kB / 1.486 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009908/0.6883, allocations: 327.5 kB / 1.487 GB, free: 258 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.689, allocations: 0.7404 MB / 1.487 GB, free: 257.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.6894, allocations: 360.9 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.6922, allocations: 3.257 MB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.555e-06/0.6923, allocations: 4 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6923, allocations: 0 / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.475e-05/0.6923, allocations: 0 / 1.491 GB, free: 253.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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003393/0.6957, allocations: 1.769 MB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6958, allocations: 11.62 kB / 1.493 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003915/0.6997, allocations: 0.7588 MB / 1.493 GB, free: 251 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002639/0.7024, allocations: 1.239 MB / 1.495 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.7025, allocations: 123.2 kB / 1.495 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000428/0.703, allocations: 152 kB / 1.495 GB, free: 249.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005833/0.7088, allocations: 2.944 MB / 1.498 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-05/0.7089, allocations: 7.938 kB / 1.498 GB, free: 246.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002432/0.7092, allocations: 67.98 kB / 1.498 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004436/0.7097, allocations: 207 kB / 1.498 GB, free: 246.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.7148, allocations: 2.503 MB / 1.501 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/0.729, allocations: 10.89 MB / 1.511 GB, free: 231.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.7305, allocations: 0.9286 MB / 1.512 GB, free: 230.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008149/0.7313, allocations: 0.5051 MB / 1.513 GB, free: 230.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.7315, allocations: 93.47 kB / 1.513 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.7315, allocations: 38.94 kB / 1.513 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 3.346e-06/0.7316, allocations: 0 / 1.513 GB, free: 230.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=70): time 0.03175/0.7633, allocations: 8.977 MB / 1.521 GB, free: 221.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.7635, allocations: 81.67 kB / 1.522 GB, free: 221.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003117/0.7666, allocations: 0.9493 MB / 1.522 GB, free: 220.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.7669, allocations: 37.7 kB / 1.522 GB, free: 220.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008323/0.7678, allocations: 0.7697 MB / 1.523 GB, free: 219.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004316/0.7682, allocations: 256.4 kB / 1.523 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.7684, allocations: 20 kB / 1.524 GB, free: 219.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002467/0.7687, allocations: 394.7 kB / 1.524 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/0.7717, allocations: 0.7911 MB / 1.525 GB, free: 217.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/0.775, allocations: 1.167 MB / 1.526 GB, free: 216.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003456/0.7785, allocations: 0.9907 MB / 1.527 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/0.7786, allocations: 8 kB / 1.527 GB, free: 215.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.02538/0.804, allocations: 3.787 MB / 1.53 GB, free: 211.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003098/0.8044, allocations: 413.2 kB / 1.531 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/0.8044, allocations: 8 kB / 1.531 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01949/0.8239, allocations: 2.167 MB / 1.533 GB, free: 209 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.8262, allocations: 219.6 kB / 1.533 GB, free: 208.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03064/0.8569, allocations: 10.24 MB / 1.543 GB, free: 198.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.8585, allocations: 207.6 kB / 1.543 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.8587, allocations: 47.98 kB / 1.543 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.8587, allocations: 4 kB / 1.543 GB, free: 198.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008724/0.8675, allocations: 3.072 MB / 1.546 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.233e-05/0.8675, allocations: 12 kB / 1.546 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006156/0.8737, allocations: 1.362 MB / 1.548 GB, free: 193.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.8751, allocations: 291.5 kB / 1.548 GB, free: 193.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/0.8869, allocations: 6.146 MB / 1.554 GB, free: 187 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.8884, allocations: 179.6 kB / 1.554 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.8886, allocations: 51.98 kB / 1.554 GB, free: 186.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001387/0.89, allocations: 0.887 MB / 1.555 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.8902, allocations: 86.97 kB / 1.555 GB, free: 185.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/0.9005, allocations: 3.324 MB / 1.558 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.9006, allocations: 11.95 kB / 1.558 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.961e-06/0.9006, allocations: 4 kB / 1.558 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.768e-05/0.9006, allocations: 7.922 kB / 1.559 GB, free: 182.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01371/0.9143, allocations: 5.493 MB / 1.564 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.9144, allocations: 3.984 kB / 1.564 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005746/0.915, allocations: 112.1 kB / 1.564 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00878/0.9238, allocations: 1.974 MB / 1.566 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.924, allocations: 12 kB / 1.566 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01589/0.9399, allocations: 9.654 MB / 1.575 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.699e-06/0.9399, allocations: 7.938 kB / 1.575 GB, free: 164.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009456/0.9494, allocations: 3.194 MB / 1.578 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007637/0.9502, allocations: 330.4 kB / 1.579 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.9504, allocations: 16 kB / 1.579 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.9515, allocations: 151.8 kB / 1.579 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003023/0.9518, allocations: 64.41 kB / 1.579 GB, free: 161 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.9519, allocations: 20 kB / 1.579 GB, free: 161 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001006/0.9529, allocations: 0.6746 MB / 1.58 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.6e-07/0.9529, allocations: 0 / 1.58 GB, free: 160.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002776/0.9557, allocations: 0.6758 MB / 1.58 GB, free: 159.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000296/0.9561, allocations: 146.8 kB / 1.58 GB, free: 159.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008462/0.9645, allocations: 3.901 MB / 1.584 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.604e-06/0.9646, allocations: 0.75 kB / 1.584 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.9671, allocations: 1.319 MB / 1.586 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.9688, allocations: 250.1 kB / 1.586 GB, free: 154 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/0.9755, allocations: 4.071 MB / 1.59 GB, free: 149.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.9773, allocations: 1.761 MB / 1.592 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001744/0.9791, allocations: 0.5085 MB / 1.592 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.9793, allocations: 59.42 kB / 1.592 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.792e-06/0.9793, allocations: 0 / 1.592 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.05393/1.033, allocations: 29.4 MB / 1.621 GB, free: 118.5 MB / 0.8542 GB