Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.006/5.006, allocations: 0.5623 GB / 0.5776 GB, free: 3.344 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.002607/0.002606, allocations: 360.6 kB / 0.6447 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.682/4.682, allocations: 410.7 MB / 1.113 GB, free: 5.988 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.00189/0.00189, allocations: 195.3 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006594/0.0006597, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7555/0.7562, 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.ACSimpleGridMedium): time 0.006651/0.7629, allocations: 4.55 MB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006376/0.7693, allocations: 3.492 MB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004101/0.7698, allocations: 4 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000943/0.7707, allocations: 214.8 kB / 1.469 GB, free: 276.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001305/0.7721, allocations: 360.8 kB / 1.47 GB, free: 275.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.7728, allocations: 182.6 kB / 1.47 GB, free: 275.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.7742, allocations: 0.7631 MB / 1.471 GB, free: 274.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001583/0.7758, allocations: 0.7328 MB / 1.471 GB, free: 274.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004032/0.7763, allocations: 200.4 kB / 1.472 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004929/0.7768, allocations: 268.8 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.452e-05/0.7769, allocations: 20 kB / 1.472 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001071/0.778, allocations: 312.4 kB / 1.472 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001937/0.7782, allocations: 147.5 kB / 1.472 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.7783, allocations: 114.4 kB / 1.472 GB, free: 273.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001086/0.7794, allocations: 0.7443 MB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7795, allocations: 1.156 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7795, allocations: 4 kB / 1.473 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.7795, allocations: 0 / 1.473 GB, free: 272.3 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.00191/0.7814, allocations: 0.767 MB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.7815, allocations: 11.62 kB / 1.474 GB, free: 271.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005281/0.7868, allocations: 0.7318 MB / 1.475 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.7883, allocations: 0.5282 MB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.7884, allocations: 24.59 kB / 1.475 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.7885, allocations: 36.73 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.7912, allocations: 0.8399 MB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.7913, allocations: 0.5312 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.7914, allocations: 12 kB / 1.476 GB, free: 269.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003576/0.7917, allocations: 77.72 kB / 1.476 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003635/0.7954, allocations: 0.9429 MB / 1.477 GB, free: 268.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006151/0.8016, allocations: 2.942 MB / 1.48 GB, free: 265.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.8045, allocations: 0.5712 MB / 1.48 GB, free: 264.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.8059, allocations: 320.3 kB / 1.481 GB, free: 264.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001615/0.8061, allocations: 89.23 kB / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.8062, allocations: 39.75 kB / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=22): time 3.026e-06/0.8062, allocations: 0 / 1.481 GB, free: 264.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36): time 0.02571/0.8319, allocations: 4.07 MB / 1.485 GB, free: 260 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.832, allocations: 82.23 kB / 1.485 GB, free: 259.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007323/0.8327, allocations: 453.5 kB / 1.485 GB, free: 259.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.8329, allocations: 35.36 kB / 1.485 GB, free: 259.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.8331, allocations: 244.1 kB / 1.486 GB, free: 259.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.8332, allocations: 122.3 kB / 1.486 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.375e-05/0.8333, allocations: 4 kB / 1.486 GB, free: 259.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.8334, allocations: 355.5 kB / 1.486 GB, free: 258.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.8351, allocations: 444.4 kB / 1.487 GB, free: 258.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.8369, allocations: 0.5296 MB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001784/0.8387, allocations: 476.9 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.8387, allocations: 0.5 kB / 1.487 GB, free: 257.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.01072/0.8495, allocations: 1.924 MB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.8496, allocations: 149.5 kB / 1.49 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8496, allocations: 0 / 1.49 GB, free: 255.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008792/0.8584, allocations: 1.096 MB / 1.491 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.8596, allocations: 129.4 kB / 1.491 GB, free: 254 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01584/0.8755, allocations: 6.412 MB / 1.497 GB, free: 247.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.877, allocations: 112 kB / 1.497 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.8772, allocations: 24.48 kB / 1.497 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.8772, allocations: 8.953 kB / 1.497 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008931/0.8861, allocations: 1.626 MB / 1.499 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.8862, allocations: 9.141 kB / 1.499 GB, free: 245.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006057/0.8923, allocations: 0.7964 MB / 1.499 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.8935, allocations: 145.2 kB / 1.5 GB, free: 244.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/0.9051, allocations: 5.548 MB / 1.505 GB, free: 238.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.9066, allocations: 114 kB / 1.505 GB, free: 238.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.9067, allocations: 19.98 kB / 1.505 GB, free: 238.7 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (29): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004981/0.9072, allocations: 338.4 kB / 1.505 GB, free: 238.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001737/0.9074, allocations: 41.47 kB / 1.506 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009779/0.9172, allocations: 1.834 MB / 1.507 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.9172, allocations: 4 kB / 1.507 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.9172, allocations: 4.266 kB / 1.507 GB, free: 236.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004199/0.9177, allocations: 196.4 kB / 1.508 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.9178, allocations: 8 kB / 1.508 GB, free: 236.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.919, allocations: 103.8 kB / 1.508 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.9192, allocations: 39.92 kB / 1.508 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007441/0.9266, allocations: 1.62 MB / 1.509 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004373/0.931, allocations: 1.474 MB / 1.511 GB, free: 233 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001347/0.9324, allocations: 427.6 kB / 1.511 GB, free: 232.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005037/0.9329, allocations: 339.1 kB / 1.511 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of Backend: time 6.62e-07/0.9329, allocations: 0 / 1.511 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01016/0.9431, allocations: 2.408 MB / 1.514 GB, free: 229.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.002507/0.9456, allocations: 1.789 MB / 1.515 GB, free: 228 MB / 0.8542 GB Notification: Performance of Templates: time 0.03796/0.9836, allocations: 18.69 MB / 1.534 GB, free: 209.6 MB / 0.8542 GB