Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.843/1.843, allocations: 288.4 MB / 303.4 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001607/0.001607, allocations: 177.3 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 0.6307 GB, free: 9.91 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 90.3 kB / 0.7441 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005868/0.0005868, allocations: 15.08 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2745, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008453/0.283, allocations: 6.014 MB / 0.9855 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005901/0.289, allocations: 2.925 MB / 0.9883 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000771/0.2898, allocations: 23.81 kB / 0.9883 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.2904, allocations: 134.9 kB / 0.9885 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.2917, allocations: 413.7 kB / 0.9889 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.293, allocations: 332.3 kB / 0.9892 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001461/0.2945, allocations: 1.33 MB / 0.9905 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.2964, allocations: 0.9302 MB / 0.9914 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007132/0.2971, allocations: 398.4 kB / 0.9918 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006687/0.2978, allocations: 482.2 kB / 0.9922 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2979, allocations: 32 kB / 0.9923 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007125/0.2987, allocations: 195.7 kB / 0.9925 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002857/0.299, allocations: 271.2 kB / 0.9927 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.2992, allocations: 173.3 kB / 0.9929 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.3002, allocations: 0.9118 MB / 0.9938 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3002, allocations: 0 / 0.9938 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.3002, allocations: 0 / 0.9938 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.3003, allocations: 4 kB / 0.9938 GB, free: 13.05 MB / 0.6198 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.002158/0.3024, allocations: 1.02 MB / 0.9948 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.3025, allocations: 12.03 kB / 0.9948 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.3048, allocations: 238.6 kB / 0.995 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.3059, allocations: 0.5327 MB / 0.9955 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.465e-05/0.306, allocations: 49.3 kB / 0.9956 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.3061, allocations: 67.92 kB / 0.9956 GB, free: 11.04 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.3081, allocations: 1.081 MB / 0.9967 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.615e-05/0.3081, allocations: 11.84 kB / 0.9967 GB, free: 9.844 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3082, allocations: 24 kB / 0.9967 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002021/0.3085, allocations: 85.25 kB / 0.9968 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.31, allocations: 0.7426 MB / 0.9975 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006153/0.3162, allocations: 5.909 MB / 1.003 GB, free: 2.656 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.3176, allocations: 0.5475 MB / 1.004 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/0.3182, allocations: 326 kB / 1.004 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.3182, allocations: 8.438 kB / 1.004 GB, free: 1.766 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3183, allocations: 42.94 kB / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 4.418e-06/0.3183, allocations: 0 / 1.004 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48): time 0.005437/0.3237, allocations: 1.986 MB / 1.006 GB, free: 15.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3238, allocations: 55.84 kB / 1.006 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009972/0.3248, allocations: 0.5625 MB / 1.007 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.3249, allocations: 29.7 kB / 1.007 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.3253, allocations: 422.8 kB / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.3255, allocations: 169.6 kB / 1.007 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.3256, allocations: 16 kB / 1.007 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.3258, allocations: 374.8 kB / 1.008 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.3265, allocations: 277.8 kB / 1.008 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008719/0.3274, allocations: 489 kB / 1.008 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/0.3282, allocations: 346 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.3282, allocations: 4 kB / 1.009 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003043/0.3313, allocations: 1.079 MB / 1.01 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.3313, allocations: 8.875 kB / 1.01 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/0.3314, allocations: 11.94 kB / 1.01 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001287/0.3327, allocations: 287.2 kB / 1.01 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007879/0.3335, allocations: 127.7 kB / 1.01 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009331/0.3428, allocations: 6.591 MB / 1.017 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.3439, allocations: 39.97 kB / 1.017 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.03e-05/0.344, allocations: 27.98 kB / 1.017 GB, free: 4.066 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006175/0.3447, allocations: 257.6 kB / 1.017 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.3449, allocations: 71.16 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002447/0.3473, allocations: 0.8848 MB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.3473, allocations: 7.938 kB / 1.018 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.3474, allocations: 4 kB / 1.018 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.3474, allocations: 4 kB / 1.018 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003999/0.3514, allocations: 1.724 MB / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3514, allocations: 0 / 1.02 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004047/0.3518, allocations: 67.88 kB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001137/0.353, allocations: 267.3 kB / 1.02 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.664e-05/0.3531, allocations: 15.98 kB / 1.02 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009364/0.3624, allocations: 6.571 MB / 1.026 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.3625, allocations: 4.031 kB / 1.026 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002618/0.3651, allocations: 0.9835 MB / 1.027 GB, free: 8.492 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/0.3657, allocations: 192.1 kB / 1.028 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.3659, allocations: 12.19 kB / 1.028 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007232/0.3666, allocations: 35.89 kB / 1.028 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.3668, allocations: 48.05 kB / 1.028 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.453e-05/0.3669, allocations: 16 kB / 1.028 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007072/0.3676, allocations: 387.1 kB / 1.028 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3676, allocations: 0 / 1.028 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001587/0.3692, allocations: 224 kB / 1.028 GB, free: 7.586 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003063/0.3695, allocations: 120.6 kB / 1.028 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002982/0.3725, allocations: 1.26 MB / 1.03 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3726, allocations: 0 / 1.03 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.3743, allocations: 0.8971 MB / 1.03 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.376, allocations: 217.5 kB / 1.031 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.3792, allocations: 1.586 MB / 1.032 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008349/0.3801, allocations: 1.009 MB / 1.033 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006767/0.3808, allocations: 118 kB / 1.033 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.3809, allocations: 43.44 kB / 1.033 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/0.3809, allocations: 4 kB / 1.033 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of Templates: time 0.02616/0.4071, allocations: 10.3 MB / 1.043 GB, free: 7.992 MB / 0.6667 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)