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.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001904/0.001904, allocations: 191.9 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.1 MB / 222 MB, free: 4.785 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.692/1.692, allocations: 251.6 MB / 0.5088 GB, free: 3.297 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.001349/0.001349, allocations: 63.91 kB / 0.6216 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6646, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008499/0.6732, allocations: 6.781 MB / 0.7304 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005124/0.6784, allocations: 3.095 MB / 0.7335 GB, free: 3.223 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005327/0.6789, allocations: 27.81 kB / 0.7335 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00213/0.6811, allocations: 0.8867 MB / 0.7343 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.6824, allocations: 477.7 kB / 0.7348 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.6835, allocations: 406 kB / 0.7352 GB, free: 1.445 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.6851, allocations: 1.595 MB / 0.7367 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.6862, allocations: 0.65 MB / 0.7374 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005435/0.6868, allocations: 426.2 kB / 0.7378 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.6874, allocations: 0.5253 MB / 0.7383 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.6875, allocations: 48 kB / 0.7383 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000836/0.6884, allocations: 451.1 kB / 0.7388 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.6886, allocations: 295.1 kB / 0.7391 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.6891, allocations: 429.7 kB / 0.7395 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.6903, allocations: 1.211 MB / 0.7407 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6903, allocations: 0 / 0.7407 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6903, allocations: 0 / 0.7407 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.6903, allocations: 0 / 0.7407 GB, free: 11.84 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001949/0.6923, allocations: 1.169 MB / 0.7418 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.6923, allocations: 8.031 kB / 0.7418 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.6939, allocations: 239.6 kB / 0.742 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007796/0.6946, allocations: 0.5608 MB / 0.7426 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.284e-05/0.6947, allocations: 45.67 kB / 0.7426 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6948, allocations: 60.38 kB / 0.7427 GB, free: 9.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6963, allocations: 1.093 MB / 0.7437 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.6964, allocations: 11.84 kB / 0.7438 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-05/0.6965, allocations: 31.98 kB / 0.7438 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.6966, allocations: 81.25 kB / 0.7439 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.6978, allocations: 0.7543 MB / 0.7446 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006288/0.7041, allocations: 5.889 MB / 0.7504 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.7053, allocations: 0.5523 MB / 0.7509 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004809/0.7058, allocations: 326 kB / 0.7512 GB, free: 392 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.7059, allocations: 4.438 kB / 0.7512 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.7059, allocations: 46.92 kB / 0.7513 GB, free: 332 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 3.747e-06/0.7059, allocations: 0 / 0.7513 GB, free: 332 kB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.004315/0.7102, allocations: 1.982 MB / 0.7532 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.7103, allocations: 59.84 kB / 0.7532 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.7109, allocations: 0.5702 MB / 0.7538 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.711, allocations: 33.7 kB / 0.7538 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.7113, allocations: 422.8 kB / 0.7542 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.7114, allocations: 165.6 kB / 0.7544 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.7116, allocations: 130.5 kB / 0.7545 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.7118, allocations: 378.7 kB / 0.7549 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.7122, allocations: 277.8 kB / 0.7551 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005764/0.7128, allocations: 489 kB / 0.7556 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.7139, allocations: 0.8094 MB / 0.7564 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.7139, allocations: 4 kB / 0.7564 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001859/0.7158, allocations: 1.09 MB / 0.7575 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.7158, allocations: 8 kB / 0.7575 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.7158, allocations: 4 kB / 0.7575 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008487/0.7167, allocations: 283.8 kB / 0.7578 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004756/0.7172, allocations: 123.8 kB / 0.7579 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006552/0.7237, allocations: 6.595 MB / 0.7643 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006456/0.7244, allocations: 44.03 kB / 0.7644 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-05/0.7245, allocations: 24 kB / 0.7644 GB, free: 1.98 MB / 0.5762 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004002/0.7249, allocations: 257.5 kB / 0.7646 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.725, allocations: 71.16 kB / 0.7647 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.7266, allocations: 0.8965 MB / 0.7656 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7266, allocations: 4 kB / 0.7656 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.7266, allocations: 4 kB / 0.7656 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.7266, allocations: 3.984 kB / 0.7656 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00268/0.7293, allocations: 1.728 MB / 0.7673 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7293, allocations: 3.938 kB / 0.7673 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002914/0.7296, allocations: 68.08 kB / 0.7673 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007926/0.7304, allocations: 267.1 kB / 0.7676 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/0.7305, allocations: 8 kB / 0.7676 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006379/0.7369, allocations: 6.583 MB / 0.774 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7369, allocations: 0 / 0.774 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.7387, allocations: 0.9797 MB / 0.775 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003383/0.739, allocations: 200.2 kB / 0.7752 GB, free: 6.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.7391, allocations: 15.94 kB / 0.7752 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003758/0.7395, allocations: 27.97 kB / 0.7752 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.7396, allocations: 43.94 kB / 0.7753 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.544e-05/0.7397, allocations: 12 kB / 0.7753 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005521/0.7403, allocations: 395 kB / 0.7756 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7403, allocations: 0 / 0.7756 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001034/0.7413, allocations: 220 kB / 0.7759 GB, free: 5.496 MB / 0.5919 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003013/0.7416, allocations: 120.3 kB / 0.776 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002336/0.744, allocations: 1.264 MB / 0.7772 GB, free: 4.051 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.417e-05/0.744, allocations: 8.062 kB / 0.7772 GB, free: 4.043 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.7454, allocations: 0.9012 MB / 0.7781 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.7466, allocations: 209.7 kB / 0.7783 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.7493, allocations: 1.647 MB / 0.7799 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.7501, allocations: 1.017 MB / 0.7809 GB, free: 156 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004869/0.7506, allocations: 122 kB / 0.781 GB, free: 32 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.7508, allocations: 39.48 kB / 0.781 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.7508, allocations: 0 / 0.781 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.02511/0.7759, allocations: 10.79 MB / 0.7916 GB, free: 5.328 MB / 0.6075 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)