Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.839/4.839, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 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.002371/0.00237, allocations: 363.3 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.239/4.239, allocations: 410.7 MB / 1.112 GB, free: 5.996 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.001777/0.001777, allocations: 170.7 kB / 1.225 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004906, allocations: 16 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5812/0.5817, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006077/0.5878, allocations: 5.439 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.5927, allocations: 3.018 MB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.5933, allocations: 27.81 kB / 1.469 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.5936, allocations: 107.1 kB / 1.469 GB, free: 275.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009925/0.5946, allocations: 387.6 kB / 1.469 GB, free: 275.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.5958, allocations: 371.9 kB / 1.47 GB, free: 275 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.5968, allocations: 1.213 MB / 1.471 GB, free: 273.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.5986, allocations: 0.9062 MB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/0.5991, allocations: 353.7 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004905/0.5996, allocations: 436.5 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.807e-05/0.5997, allocations: 28 kB / 1.473 GB, free: 272.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006214/0.6003, allocations: 263.4 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002248/0.6006, allocations: 247.3 kB / 1.473 GB, free: 271.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.6007, allocations: 161.3 kB / 1.473 GB, free: 271.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008388/0.6016, allocations: 0.8811 MB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.177e-06/0.6016, allocations: 0 / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6016, allocations: 0 / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.853e-05/0.6016, allocations: 0 / 1.474 GB, free: 270.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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001333/0.603, allocations: 0.9245 MB / 1.475 GB, free: 269.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.603, allocations: 15.62 kB / 1.475 GB, free: 269.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002191/0.6052, allocations: 243.1 kB / 1.475 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008977/0.6062, allocations: 0.5139 MB / 1.476 GB, free: 268.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.6062, allocations: 49.92 kB / 1.476 GB, free: 268.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.6064, allocations: 64.64 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.6078, allocations: 1.028 MB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/0.6079, allocations: 3.906 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/0.608, allocations: 32.52 kB / 1.477 GB, free: 267.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.837e-05/0.6081, allocations: 70.52 kB / 1.477 GB, free: 267.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.6093, allocations: 0.6923 MB / 1.478 GB, free: 266.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004803/0.6142, allocations: 5.755 MB / 1.483 GB, free: 260.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.6151, allocations: 0.5968 MB / 1.484 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008079/0.6159, allocations: 415.9 kB / 1.484 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.616, allocations: 8.547 kB / 1.484 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.616, allocations: 46.89 kB / 1.484 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 3.289e-06/0.616, allocations: 4.906 kB / 1.484 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.004859/0.6209, allocations: 2.044 MB / 1.486 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.6209, allocations: 61.56 kB / 1.486 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.6215, allocations: 466.7 kB / 1.487 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.6215, allocations: 33.7 kB / 1.487 GB, free: 256.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.6218, allocations: 387 kB / 1.487 GB, free: 256.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6219, allocations: 145.9 kB / 1.487 GB, free: 256.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.519e-05/0.6219, allocations: 16 kB / 1.487 GB, free: 256.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.026e-05/0.622, allocations: 365.5 kB / 1.488 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.6224, allocations: 245.2 kB / 1.488 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.6229, allocations: 461.6 kB / 1.488 GB, free: 255.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.6234, allocations: 313.2 kB / 1.489 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6235, allocations: 4 kB / 1.489 GB, free: 254.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002178/0.6257, allocations: 1.05 MB / 1.49 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.6257, allocations: 12.22 kB / 1.49 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.668e-05/0.6257, allocations: 11.98 kB / 1.49 GB, free: 253.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.627, allocations: 328.4 kB / 1.49 GB, free: 253.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.6274, allocations: 97.77 kB / 1.49 GB, free: 253.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006669/0.6341, allocations: 6.955 MB / 1.497 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.6347, allocations: 28.62 kB / 1.497 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/0.6348, allocations: 36.59 kB / 1.497 GB, free: 245.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003566/0.6352, allocations: 248.1 kB / 1.497 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.6353, allocations: 63.25 kB / 1.497 GB, free: 245.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.6372, allocations: 0.9026 MB / 1.498 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6372, allocations: 4 kB / 1.498 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.41e-06/0.6372, allocations: 7.984 kB / 1.498 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.08e-06/0.6372, allocations: 4.609 kB / 1.498 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/0.6402, allocations: 1.698 MB / 1.5 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.279e-06/0.6403, allocations: 4.5 kB / 1.5 GB, free: 242.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.6405, allocations: 42.16 kB / 1.5 GB, free: 242.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001157/0.6417, allocations: 319.8 kB / 1.5 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.759e-05/0.6418, allocations: 11.95 kB / 1.5 GB, free: 242.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006844/0.6486, allocations: 6.925 MB / 1.507 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.6487, allocations: 2.469 kB / 1.507 GB, free: 234.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/0.6507, allocations: 1.006 MB / 1.508 GB, free: 233.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.651, allocations: 185 kB / 1.508 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.538e-05/0.6511, allocations: 8 kB / 1.508 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/0.6515, allocations: 29.44 kB / 1.508 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.6516, allocations: 45.75 kB / 1.508 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-05/0.6517, allocations: 16 kB / 1.508 GB, free: 233.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003569/0.652, allocations: 302.9 kB / 1.509 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.6e-07/0.6521, allocations: 0 / 1.509 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000914/0.653, allocations: 196 kB / 1.509 GB, free: 233.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,88.9%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.6531, allocations: 121.5 kB / 1.509 GB, free: 233 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001989/0.6551, allocations: 1.195 MB / 1.51 GB, free: 231.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.6552, allocations: 2 kB / 1.51 GB, free: 231.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/0.6566, allocations: 0.8783 MB / 1.511 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.6579, allocations: 177.4 kB / 1.511 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.6602, allocations: 1.48 MB / 1.513 GB, free: 229.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.6607, allocations: 1.01 MB / 1.514 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004244/0.6612, allocations: 99.52 kB / 1.514 GB, free: 228.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.88e-05/0.6613, allocations: 37.81 kB / 1.514 GB, free: 228 MB / 0.8542 GB Notification: Performance of SimCode: time 1.895e-06/0.6613, allocations: 0 / 1.514 GB, free: 228 MB / 0.8542 GB Notification: Performance of Templates: time 0.02027/0.6816, allocations: 9.201 MB / 1.523 GB, free: 219 MB / 0.8542 GB