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.01173/0.01173, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.002077/0.002077, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.653/1.653, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.731/1.731, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001465/0.001465, allocations: 66.09 kB / 0.7258 GB, free: 9.031 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.277, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008959/0.286, allocations: 6.774 MB / 0.8347 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.005734/0.2918, allocations: 3.087 MB / 0.8377 GB, free: 6.312 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006011/0.2925, allocations: 27.81 kB / 0.8377 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002919/0.2954, allocations: 0.9487 MB / 0.8386 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.2971, allocations: 0.5168 MB / 0.8391 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001493/0.2986, allocations: 449.7 kB / 0.8396 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.3004, allocations: 1.232 MB / 0.8408 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.3014, allocations: 0.666 MB / 0.8414 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006773/0.3021, allocations: 474.3 kB / 0.8419 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007108/0.3029, allocations: 0.5253 MB / 0.8424 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.303, allocations: 68 kB / 0.8424 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007022/0.3037, allocations: 383.2 kB / 0.8428 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002929/0.304, allocations: 315.1 kB / 0.8431 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004288/0.3044, allocations: 445.8 kB / 0.8435 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.3058, allocations: 1.219 MB / 0.8447 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.3058, allocations: 0 / 0.8447 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3058, allocations: 0 / 0.8447 GB, free: 15.07 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.657e-05/0.3059, allocations: 0 / 0.8447 GB, free: 15.07 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.002313/0.3082, allocations: 1.172 MB / 0.8459 GB, free: 13.84 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 7.272e-05/0.3083, allocations: 8.031 kB / 0.8459 GB, free: 13.84 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.3097, allocations: 235.6 kB / 0.8461 GB, free: 13.61 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008989/0.3106, allocations: 0.6076 MB / 0.8467 GB, free: 12.96 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.3107, allocations: 53.61 kB / 0.8467 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.3108, allocations: 60.38 kB / 0.8468 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.3123, allocations: 1.085 MB / 0.8479 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.3124, allocations: 11.91 kB / 0.8479 GB, free: 11.64 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.178e-05/0.3124, allocations: 32 kB / 0.8479 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001554/0.3126, allocations: 81.25 kB / 0.848 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.3137, allocations: 0.7542 MB / 0.8487 GB, free: 10.78 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/0.3195, allocations: 5.874 MB / 0.8545 GB, free: 4.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000965/0.3204, allocations: 0.5477 MB / 0.855 GB, free: 3.922 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.3209, allocations: 330 kB / 0.8553 GB, free: 3.598 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/0.3209, allocations: 12.44 kB / 0.8553 GB, free: 3.586 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.321, allocations: 35 kB / 0.8554 GB, free: 3.543 MB / 0.67 GB Notification: Performance of pre-optimization done (n=47): time 2.164e-06/0.321, allocations: 0 / 0.8554 GB, free: 3.543 MB / 0.67 GB Notification: Performance of matching and sorting (n=48): time 0.003861/0.3248, allocations: 1.99 MB / 0.8573 GB, free: 1.457 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.3249, allocations: 59.84 kB / 0.8574 GB, free: 1.387 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.3256, allocations: 0.5625 MB / 0.8579 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.3256, allocations: 33.7 kB / 0.8579 GB, free: 0.7734 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.3259, allocations: 415 kB / 0.8583 GB, free: 368 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.3261, allocations: 169.6 kB / 0.8585 GB, free: 196 kB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.3263, allocations: 134.4 kB / 0.8586 GB, free: 52 kB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3265, allocations: 374.8 kB / 0.859 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/0.3269, allocations: 281.8 kB / 0.8592 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.3275, allocations: 493 kB / 0.8597 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.3285, allocations: 0.8054 MB / 0.8605 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.3285, allocations: 4 kB / 0.8605 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001779/0.3303, allocations: 1.087 MB / 0.8616 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.3303, allocations: 8 kB / 0.8616 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3304, allocations: 4 kB / 0.8616 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009032/0.3313, allocations: 279.7 kB / 0.8618 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004925/0.3318, allocations: 127.7 kB / 0.862 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006481/0.3383, allocations: 7.134 MB / 0.8689 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00057/0.3389, allocations: 39.97 kB / 0.869 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.788e-05/0.3389, allocations: 28 kB / 0.869 GB, free: 4.629 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.0003636/0.3393, allocations: 263.6 kB / 0.8693 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3394, allocations: 75.16 kB / 0.8693 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.3409, allocations: 0.8886 MB / 0.8702 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.341, allocations: 12 kB / 0.8702 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.341, allocations: 0 / 0.8702 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.341, allocations: 4 kB / 0.8702 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002534/0.3435, allocations: 1.721 MB / 0.8719 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.3435, allocations: 7.984 kB / 0.8719 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.3438, allocations: 71.77 kB / 0.872 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007107/0.3445, allocations: 259.4 kB / 0.8722 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.3446, allocations: 12 kB / 0.8722 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00644/0.351, allocations: 7.13 MB / 0.8792 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.3511, allocations: 4.031 kB / 0.8792 GB, free: 9.508 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.3527, allocations: 0.9834 MB / 0.8801 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.3531, allocations: 188.4 kB / 0.8803 GB, free: 8.273 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3533, allocations: 12 kB / 0.8803 GB, free: 8.262 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004018/0.3537, allocations: 31.91 kB / 0.8804 GB, free: 8.23 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.3538, allocations: 43.92 kB / 0.8804 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.3539, allocations: 19.94 kB / 0.8804 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005072/0.3544, allocations: 391.1 kB / 0.8808 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3544, allocations: 0 / 0.8808 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001025/0.3554, allocations: 224 kB / 0.881 GB, free: 7.57 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.0002054/0.3556, allocations: 111.2 kB / 0.8811 GB, free: 7.449 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002278/0.3579, allocations: 1.287 MB / 0.8824 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.3579, allocations: 0 / 0.8824 GB, free: 6.113 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001284/0.3592, allocations: 0.8897 MB / 0.8832 GB, free: 5.172 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3603, allocations: 216 kB / 0.8835 GB, free: 4.965 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.3628, allocations: 1.347 MB / 0.8848 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006851/0.3635, allocations: 1.009 MB / 0.8858 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004067/0.3639, allocations: 122 kB / 0.8859 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.364, allocations: 43.44 kB / 0.8859 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of SimCode: time 8.71e-07/0.364, allocations: 0 / 0.8859 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of Templates: time 0.02337/0.3874, allocations: 11.31 MB / 0.897 GB, free: 7.191 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)