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.01048/0.01048, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001949/0.001949, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.875/1.875, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.737/1.737, allocations: 251.7 MB / 0.5094 GB, free: 3.051 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.001499/0.001499, allocations: 71.89 kB / 0.7258 GB, free: 9.172 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2892, allocations: 104.7 MB / 0.828 GB, free: 360 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009477/0.2987, allocations: 6.762 MB / 0.8347 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005695/0.3045, allocations: 3.095 MB / 0.8377 GB, free: 6.453 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006367/0.3052, allocations: 27.81 kB / 0.8377 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.3077, allocations: 0.9453 MB / 0.8386 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00141/0.3091, allocations: 0.505 MB / 0.8391 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.3105, allocations: 441.7 kB / 0.8395 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001964/0.3125, allocations: 1.24 MB / 0.8407 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/0.3136, allocations: 0.6622 MB / 0.8414 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000834/0.3145, allocations: 474.3 kB / 0.8418 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006815/0.3152, allocations: 0.5176 MB / 0.8424 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.761e-05/0.3153, allocations: 64 kB / 0.8424 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008476/0.3161, allocations: 379.3 kB / 0.8428 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.3165, allocations: 311.1 kB / 0.8431 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004358/0.3169, allocations: 457.7 kB / 0.8435 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001457/0.3184, allocations: 1.215 MB / 0.8447 GB, free: 15.24 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3184, allocations: 0 / 0.8447 GB, free: 15.24 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3184, allocations: 0 / 0.8447 GB, free: 15.24 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.207e-05/0.3184, allocations: 0 / 0.8447 GB, free: 15.24 MB / 0.67 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.002025/0.3204, allocations: 1.176 MB / 0.8458 GB, free: 14.01 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3205, allocations: 8.031 kB / 0.8459 GB, free: 14 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.3221, allocations: 235.6 kB / 0.8461 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.3232, allocations: 0.6115 MB / 0.8467 GB, free: 13.12 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.3232, allocations: 45.67 kB / 0.8467 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.3233, allocations: 68.36 kB / 0.8468 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.3248, allocations: 1.077 MB / 0.8478 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.3249, allocations: 19.77 kB / 0.8479 GB, free: 11.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.731e-05/0.325, allocations: 31.98 kB / 0.8479 GB, free: 11.77 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001563/0.3251, allocations: 81.27 kB / 0.848 GB, free: 11.69 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3264, allocations: 0.7621 MB / 0.8487 GB, free: 10.93 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00607/0.3324, allocations: 5.862 MB / 0.8544 GB, free: 4.637 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.3335, allocations: 0.5554 MB / 0.855 GB, free: 4.07 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004683/0.334, allocations: 322 kB / 0.8553 GB, free: 3.754 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.8e-05/0.3341, allocations: 4.438 kB / 0.8553 GB, free: 3.75 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.3341, allocations: 43 kB / 0.8553 GB, free: 3.699 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 2.515e-06/0.3341, allocations: 4 kB / 0.8553 GB, free: 3.695 MB / 0.67 GB Notification: Performance of matching and sorting (n=48): time 0.003948/0.3381, allocations: 1.982 MB / 0.8573 GB, free: 1.617 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.078e-05/0.3381, allocations: 59.84 kB / 0.8573 GB, free: 1.547 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.3388, allocations: 0.578 MB / 0.8579 GB, free: 0.957 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.3388, allocations: 33.7 kB / 0.8579 GB, free: 0.918 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.3391, allocations: 415 kB / 0.8583 GB, free: 0.5039 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.3393, allocations: 169.5 kB / 0.8585 GB, free: 344 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.3395, allocations: 126.5 kB / 0.8586 GB, free: 208 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3397, allocations: 378.7 kB / 0.859 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004066/0.3401, allocations: 277.8 kB / 0.8592 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.3407, allocations: 497 kB / 0.8597 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.3418, allocations: 0.8016 MB / 0.8605 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3418, allocations: 0 / 0.8605 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001836/0.3436, allocations: 1.087 MB / 0.8615 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.3437, allocations: 8 kB / 0.8615 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.3437, allocations: 8 kB / 0.8616 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009067/0.3446, allocations: 287.2 kB / 0.8618 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/0.3451, allocations: 123.8 kB / 0.8619 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00686/0.352, allocations: 7.13 MB / 0.8689 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.3528, allocations: 43.95 kB / 0.869 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/0.3528, allocations: 28 kB / 0.869 GB, free: 4.777 MB / 0.6856 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.0005005/0.3534, allocations: 253.5 kB / 0.8692 GB, free: 4.52 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.3535, allocations: 75.22 kB / 0.8693 GB, free: 4.445 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.3557, allocations: 0.8886 MB / 0.8702 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3557, allocations: 4 kB / 0.8702 GB, free: 3.531 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.3557, allocations: 4 kB / 0.8702 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.3557, allocations: 0 / 0.8702 GB, free: 3.527 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004133/0.3599, allocations: 1.736 MB / 0.8719 GB, free: 1.703 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.3599, allocations: 4 kB / 0.8719 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.3604, allocations: 63.88 kB / 0.8719 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001201/0.3616, allocations: 271.5 kB / 0.8722 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-05/0.3616, allocations: 12 kB / 0.8722 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/0.3722, allocations: 7.114 MB / 0.8791 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.3723, allocations: 4.031 kB / 0.8792 GB, free: 9.672 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.375, allocations: 0.9835 MB / 0.8801 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006743/0.3757, allocations: 188.3 kB / 0.8803 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.3759, allocations: 12 kB / 0.8803 GB, free: 8.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.3765, allocations: 31.91 kB / 0.8803 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.3766, allocations: 47.95 kB / 0.8804 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.3767, allocations: 16 kB / 0.8804 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007217/0.3774, allocations: 387.1 kB / 0.8808 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3775, allocations: 0 / 0.8808 GB, free: 7.957 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001424/0.3789, allocations: 224 kB / 0.881 GB, free: 7.738 MB / 0.7012 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.0002462/0.3791, allocations: 119.2 kB / 0.8811 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003/0.3822, allocations: 1.283 MB / 0.8823 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.3822, allocations: 4 kB / 0.8823 GB, free: 6.273 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.384, allocations: 0.8896 MB / 0.8832 GB, free: 5.332 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.3856, allocations: 233.5 kB / 0.8834 GB, free: 5.109 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.3893, allocations: 1.331 MB / 0.8847 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.3904, allocations: 1.009 MB / 0.8857 GB, free: 2.695 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008279/0.3913, allocations: 122 kB / 0.8858 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.3915, allocations: 43.42 kB / 0.8859 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of SimCode: time 8.92e-07/0.3915, allocations: 0 / 0.8859 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of Templates: time 0.04033/0.4318, allocations: 11.33 MB / 0.8969 GB, free: 7.34 MB / 0.7169 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)