Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008449/0.0008449, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.608/1.608, allocations: 252 MB / 0.5102 GB, free: 4.746 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005891/0.0005893, allocations: 15.94 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/0.5438, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.005556/0.5494, allocations: 4.482 MB / 0.7325 GB, free: 6.879 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00476/0.5542, allocations: 3.123 MB / 0.7356 GB, free: 3.746 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.5546, allocations: 4 kB / 0.7356 GB, free: 3.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.5552, allocations: 155.1 kB / 0.7357 GB, free: 3.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009086/0.5561, allocations: 314.5 kB / 0.736 GB, free: 3.281 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.5567, allocations: 183.6 kB / 0.7362 GB, free: 3.102 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.5576, allocations: 0.7086 MB / 0.7369 GB, free: 2.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.5588, allocations: 0.7314 MB / 0.7376 GB, free: 1.625 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.5591, allocations: 191.3 kB / 0.7378 GB, free: 1.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000438/0.5596, allocations: 259 kB / 0.738 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.5596, allocations: 20 kB / 0.7381 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005829/0.5602, allocations: 235.7 kB / 0.7383 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.5604, allocations: 139.6 kB / 0.7384 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.5605, allocations: 113.4 kB / 0.7385 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008036/0.5613, allocations: 0.711 MB / 0.7392 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.5613, allocations: 0 / 0.7392 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5613, allocations: 4 kB / 0.7392 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5613, allocations: 0 / 0.7392 GB, free: 15.96 MB / 0.5606 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.001394/0.5627, allocations: 0.7441 MB / 0.7399 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5628, allocations: 12.03 kB / 0.74 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002635/0.5654, allocations: 0.6936 MB / 0.7406 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/0.5663, allocations: 494.5 kB / 0.7411 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.5663, allocations: 20.66 kB / 0.7411 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.5664, allocations: 39.94 kB / 0.7412 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.5679, allocations: 0.8356 MB / 0.742 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.568, allocations: 0 / 0.742 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.568, allocations: 19.98 kB / 0.742 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.5682, allocations: 64.56 kB / 0.7421 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.5701, allocations: 0.939 MB / 0.743 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.5741, allocations: 2.933 MB / 0.7458 GB, free: 8.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.5755, allocations: 0.5572 MB / 0.7464 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006645/0.5762, allocations: 313 kB / 0.7467 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.5763, allocations: 101.2 kB / 0.7468 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.5764, allocations: 34.75 kB / 0.7468 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 4.429e-06/0.5764, allocations: 0 / 0.7468 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of matching and sorting (n=32): time 0.01157/0.588, allocations: 3.659 MB / 0.7504 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.5881, allocations: 81.11 kB / 0.7505 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005772/0.5887, allocations: 412.4 kB / 0.7509 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.5887, allocations: 29.7 kB / 0.7509 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.589, allocations: 231.9 kB / 0.7511 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.5891, allocations: 118.3 kB / 0.7512 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.5891, allocations: 4 kB / 0.7512 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5893, allocations: 358.8 kB / 0.7516 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008969/0.5902, allocations: 391.7 kB / 0.7519 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009368/0.5912, allocations: 493 kB / 0.7524 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009283/0.5921, allocations: 423.7 kB / 0.7528 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.5921, allocations: 0 / 0.7528 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.005231/0.5973, allocations: 1.725 MB / 0.7545 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.5975, allocations: 157.4 kB / 0.7546 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5975, allocations: 4 kB / 0.7546 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004067/0.6016, allocations: 0.9777 MB / 0.7556 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.6022, allocations: 127.8 kB / 0.7557 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008532/0.6108, allocations: 6.393 MB / 0.762 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007811/0.6116, allocations: 123.9 kB / 0.7621 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.683e-05/0.6117, allocations: 16 kB / 0.7621 GB, free: 7.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.6117, allocations: 11.89 kB / 0.7621 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004558/0.6162, allocations: 1.652 MB / 0.7637 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6163, allocations: 3.984 kB / 0.7637 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/0.6192, allocations: 0.7251 MB / 0.7644 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/0.6198, allocations: 135.8 kB / 0.7646 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005942/0.6258, allocations: 5.442 MB / 0.7699 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008191/0.6266, allocations: 103.9 kB / 0.77 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.832e-05/0.6267, allocations: 23.94 kB / 0.77 GB, free: 15 MB / 0.5919 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 (32): * Single equations (assignments): 29 * 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: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004682/0.6272, allocations: 325.3 kB / 0.7703 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.6273, allocations: 35.53 kB / 0.7703 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/0.6322, allocations: 1.626 MB / 0.7719 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.6322, allocations: 4 kB / 0.7719 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6322, allocations: 7.922 kB / 0.7719 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.6322, allocations: 3.984 kB / 0.772 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005858/0.6381, allocations: 2.312 MB / 0.7742 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6381, allocations: 0 / 0.7742 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.6386, allocations: 95.92 kB / 0.7743 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003644/0.6422, allocations: 0.9192 MB / 0.7752 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.6423, allocations: 8 kB / 0.7752 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007576/0.6499, allocations: 6.231 MB / 0.7813 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6499, allocations: 7.938 kB / 0.7813 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004696/0.6546, allocations: 1.647 MB / 0.7829 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.655, allocations: 180.6 kB / 0.7831 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.937e-05/0.655, allocations: 4 kB / 0.7831 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/0.6556, allocations: 95.84 kB / 0.7832 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6558, allocations: 27.97 kB / 0.7832 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.819e-05/0.6558, allocations: 15.98 kB / 0.7832 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003982/0.6562, allocations: 311.1 kB / 0.7835 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6562, allocations: 3.938 kB / 0.7835 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001077/0.6573, allocations: 240 kB / 0.7837 GB, free: 372 kB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (22): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002699/0.6576, allocations: 127.1 kB / 0.7839 GB, free: 232 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004384/0.662, allocations: 2.256 MB / 0.7861 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.662, allocations: 0 / 0.7861 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001473/0.6635, allocations: 0.8357 MB / 0.7869 GB, free: 13 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008/0.6643, allocations: 117.3 kB / 0.787 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.6666, allocations: 1.309 MB / 0.7883 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.6673, allocations: 0.9258 MB / 0.7892 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005668/0.6679, allocations: 163.2 kB / 0.7893 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.668, allocations: 39.42 kB / 0.7894 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of SimCode: time 2.334e-06/0.668, allocations: 0 / 0.7894 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of Templates: time 0.02097/0.689, allocations: 13.91 MB / 0.803 GB, free: 12.57 MB / 0.6231 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) Environment - environmentSimulation: