Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.895/4.895, 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.004001/0.004001, allocations: 360.5 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.085/4.085, allocations: 410.7 MB / 1.112 GB, free: 5.883 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.001766/0.001766, allocations: 179.4 kB / 1.225 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0008212/0.0008215, allocations: 12 kB / 1.348 GB, free: 8.172 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6135/0.6143, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01178/0.6262, allocations: 10.67 MB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.009252/0.6355, allocations: 5.001 MB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.6367, allocations: 31.88 kB / 1.476 GB, free: 268.6 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008453/0.6375, allocations: 308.1 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.6396, allocations: 0.6292 MB / 1.477 GB, free: 267.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.6415, allocations: 0.5666 MB / 1.478 GB, free: 267.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.003077/0.6446, allocations: 2.794 MB / 1.48 GB, free: 264.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/0.6508, allocations: 3.617 MB / 1.484 GB, free: 260.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.6521, allocations: 0.7174 MB / 1.485 GB, free: 260.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001221/0.6533, allocations: 1.003 MB / 1.485 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002012/0.6535, allocations: 92.53 kB / 1.486 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008871/0.6544, allocations: 304.9 kB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0007853/0.6552, allocations: 0.721 MB / 1.487 GB, free: 258.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0004148/0.6557, allocations: 345 kB / 1.487 GB, free: 257.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.002478/0.6582, allocations: 3.009 MB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.09e-06/0.6582, allocations: 4 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.415e-06/0.6582, allocations: 4 kB / 1.49 GB, free: 254.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.819e-05/0.6583, allocations: 0 / 1.49 GB, free: 254.7 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: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003107/0.6614, allocations: 1.639 MB / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6614, allocations: 11.62 kB / 1.491 GB, free: 253 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003187/0.6646, allocations: 497.5 kB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002416/0.6671, allocations: 1.135 MB / 1.493 GB, free: 251.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.994e-05/0.6672, allocations: 115.1 kB / 1.493 GB, free: 251.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.6676, allocations: 159.8 kB / 1.493 GB, free: 251.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005209/0.6728, allocations: 2.732 MB / 1.496 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.274e-05/0.6729, allocations: 7.938 kB / 1.496 GB, free: 248.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.6731, allocations: 64 kB / 1.496 GB, free: 248.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000369/0.6735, allocations: 170.9 kB / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/0.6782, allocations: 2.284 MB / 1.498 GB, free: 245.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.6959, allocations: 10.53 MB / 1.509 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.698, allocations: 0.581 MB / 1.509 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/0.6992, allocations: 384.6 kB / 1.51 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.6994, allocations: 101 kB / 1.51 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.6995, allocations: 34.56 kB / 1.51 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=36): time 5.388e-06/0.6995, allocations: 0 / 1.51 GB, free: 233.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=52): time 0.04454/0.7441, allocations: 6.273 MB / 1.516 GB, free: 226.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.7442, allocations: 85.55 kB / 1.516 GB, free: 226.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.7469, allocations: 0.8983 MB / 1.517 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.7471, allocations: 33.7 kB / 1.517 GB, free: 225.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008193/0.748, allocations: 0.7538 MB / 1.518 GB, free: 225.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.7483, allocations: 185.5 kB / 1.518 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.7485, allocations: 16 kB / 1.518 GB, free: 224.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000247/0.7488, allocations: 390.8 kB / 1.518 GB, free: 224.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.7507, allocations: 0.6382 MB / 1.519 GB, free: 223.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.752, allocations: 1.007 MB / 1.52 GB, free: 222.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.7534, allocations: 0.8102 MB / 1.521 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.129e-06/0.7534, allocations: 4 kB / 1.521 GB, free: 221.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.009964/0.7634, allocations: 3.217 MB / 1.524 GB, free: 218.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.7636, allocations: 431.4 kB / 1.524 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.7636, allocations: 15.98 kB / 1.524 GB, free: 218.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008917/0.7726, allocations: 1.858 MB / 1.526 GB, free: 216.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.7737, allocations: 223.6 kB / 1.526 GB, free: 216 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.7888, allocations: 10.22 MB / 1.536 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.7904, allocations: 175.7 kB / 1.536 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.7905, allocations: 44 kB / 1.536 GB, free: 205 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.7906, allocations: 4 kB / 1.536 GB, free: 205 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007924/0.7985, allocations: 2.618 MB / 1.539 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/0.7986, allocations: 16.06 kB / 1.539 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005748/0.8043, allocations: 1.203 MB / 1.54 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001183/0.8056, allocations: 255.5 kB / 1.54 GB, free: 200.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00812/0.8137, allocations: 5.536 MB / 1.546 GB, free: 195.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.8151, allocations: 151.8 kB / 1.546 GB, free: 195 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.8152, allocations: 44 kB / 1.546 GB, free: 194.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001224/0.8164, allocations: 0.8476 MB / 1.547 GB, free: 194.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.8167, allocations: 75.06 kB / 1.547 GB, free: 194 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008859/0.8255, allocations: 2.688 MB / 1.549 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.8256, allocations: 4 kB / 1.549 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.635e-06/0.8256, allocations: 0 / 1.549 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.8256, allocations: 4 kB / 1.549 GB, free: 191.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/0.8375, allocations: 4.631 MB / 1.554 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.8376, allocations: 4.062 kB / 1.554 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005429/0.8381, allocations: 103.8 kB / 1.554 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008031/0.8462, allocations: 1.706 MB / 1.556 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/0.8464, allocations: 12 kB / 1.556 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/0.8599, allocations: 9.754 MB / 1.565 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.833e-06/0.86, allocations: 16.58 kB / 1.565 GB, free: 174.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008478/0.8685, allocations: 2.644 MB / 1.568 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/0.8692, allocations: 280.1 kB / 1.568 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001866/0.8694, allocations: 15.98 kB / 1.568 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009811/0.8704, allocations: 127.8 kB / 1.568 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.8706, allocations: 55.89 kB / 1.568 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.704e-05/0.8707, allocations: 16 kB / 1.568 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009882/0.8717, allocations: 0.6356 MB / 1.569 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.03e-07/0.8717, allocations: 3.938 kB / 1.569 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00265/0.8744, allocations: 0.582 MB / 1.57 GB, free: 170 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): 38 * 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: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002736/0.8747, allocations: 133.1 kB / 1.57 GB, free: 169.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005984/0.8807, allocations: 3.235 MB / 1.573 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.954e-06/0.8808, allocations: 4 kB / 1.573 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/0.883, allocations: 1.277 MB / 1.574 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.8845, allocations: 216.1 kB / 1.574 GB, free: 165 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/0.89, allocations: 3.546 MB / 1.578 GB, free: 161.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.8916, allocations: 1.645 MB / 1.579 GB, free: 159.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001647/0.8933, allocations: 0.4918 MB / 1.58 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.8935, allocations: 55.44 kB / 1.58 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.734e-06/0.8935, allocations: 0 / 1.58 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.04307/0.9366, allocations: 23.32 MB / 1.603 GB, free: 136.1 MB / 0.8542 GB