Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002109/0.00211, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.505/1.505, allocations: 205.1 MB / 222 MB, free: 4.969 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.2 MB / 0.5484 GB, free: 13.65 MB / 462.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.001725/0.001725, allocations: 65.7 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2542, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02808/0.2824, allocations: 26.37 MB / 0.8084 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.2975, allocations: 8.123 MB / 0.8164 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.3004, allocations: 103.4 kB / 0.8165 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.006654/0.3071, allocations: 2.564 MB / 0.819 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00474/0.3119, allocations: 1.493 MB / 0.8204 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004636/0.3165, allocations: 1.518 MB / 0.8219 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01038/0.3269, allocations: 8.716 MB / 0.8304 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01285/0.3398, allocations: 8.183 MB / 0.8384 GB, free: 4.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005625/0.3455, allocations: 2.191 MB / 0.8405 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0067/0.3522, allocations: 2.889 MB / 0.8434 GB, free: 15.56 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.3538, allocations: 344 kB / 0.8437 GB, free: 15.23 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003905/0.3578, allocations: 1.334 MB / 0.845 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.3603, allocations: 1.871 MB / 0.8468 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003205/0.3635, allocations: 2.185 MB / 0.849 GB, free: 9.82 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007998/0.3715, allocations: 7.934 MB / 0.8567 GB, free: 1.863 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3715, allocations: 0 / 0.8567 GB, free: 1.863 MB / 0.67 GB Notification: Performance of FrontEnd: time 9.71e-07/0.3716, allocations: 0 / 0.8567 GB, free: 1.863 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002057/0.3718, allocations: 0 / 0.8567 GB, free: 1.863 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009132/0.3809, allocations: 4.228 MB / 0.8608 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.381, allocations: 8.031 kB / 0.8608 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004437/0.3854, allocations: 0.8078 MB / 0.8616 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/0.3898, allocations: 2.432 MB / 0.864 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/0.39, allocations: 271.6 kB / 0.8643 GB, free: 9.996 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007731/0.3908, allocations: 380.5 kB / 0.8646 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.4021, allocations: 5.988 MB / 0.8705 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-05/0.4022, allocations: 15.88 kB / 0.8705 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.4026, allocations: 156 kB / 0.8706 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000597/0.4032, allocations: 282.9 kB / 0.8709 GB, free: 2.938 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008024/0.4113, allocations: 4.52 MB / 0.8753 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02947/0.4408, allocations: 27.67 MB / 0.9023 GB, free: 240 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.4424, allocations: 1.115 MB / 0.9034 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.4437, allocations: 1.03 MB / 0.9044 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/0.4438, allocations: 12.94 kB / 0.9045 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.4438, allocations: 51.55 kB / 0.9045 GB, free: 14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=110): time 2.806e-06/0.4438, allocations: 4 kB / 0.9045 GB, free: 14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.02074/0.4646, allocations: 9.643 MB / 0.9139 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.4647, allocations: 68.66 kB / 0.914 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.4665, allocations: 1.494 MB / 0.9154 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.4666, allocations: 49.7 kB / 0.9155 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.4677, allocations: 1.667 MB / 0.9171 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/0.4681, allocations: 473.3 kB / 0.9176 GB, free: 360 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004842/0.4686, allocations: 327.2 kB / 0.9179 GB, free: 28 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.4028/0.8714, allocations: 312.2 kB / 0.9182 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/0.8735, allocations: 0.9068 MB / 0.9191 GB, free: 126.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.8754, allocations: 1.466 MB / 0.9205 GB, free: 126 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003227/0.8786, allocations: 2.549 MB / 0.923 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.8786, allocations: 5.031 kB / 0.923 GB, free: 125.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005451/0.8841, allocations: 3.284 MB / 0.9262 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.419e-05/0.8842, allocations: 16.58 kB / 0.9262 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.8842, allocations: 17.84 kB / 0.9262 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/0.8865, allocations: 0.7334 MB / 0.927 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.888, allocations: 385.5 kB / 0.9273 GB, free: 123.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01365/0.9017, allocations: 15.76 MB / 0.9427 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.9035, allocations: 99.75 kB / 0.9428 GB, free: 110.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002069/0.9037, allocations: 78.31 kB / 0.9429 GB, free: 110.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002979/0.9067, allocations: 1.303 MB / 0.9441 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/0.9073, allocations: 209.8 kB / 0.9443 GB, free: 109.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/0.913, allocations: 2.787 MB / 0.9471 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/0.9131, allocations: 16.67 kB / 0.9471 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/0.9131, allocations: 11.22 kB / 0.9471 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.9131, allocations: 7.391 kB / 0.9471 GB, free: 108.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/0.926, allocations: 6.214 MB / 0.9532 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.9261, allocations: 4.594 kB / 0.9532 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.9273, allocations: 238.6 kB / 0.9534 GB, free: 105.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002003/0.9293, allocations: 0.6675 MB / 0.9541 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.9294, allocations: 33.22 kB / 0.9541 GB, free: 105.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01246/0.9419, allocations: 15.52 MB / 0.9692 GB, free: 92.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.9419, allocations: 5.781 kB / 0.9692 GB, free: 92.07 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006692/0.9486, allocations: 4.008 MB / 0.9732 GB, free: 90.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.9499, allocations: 457.8 kB / 0.9736 GB, free: 90.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.9501, allocations: 37.23 kB / 0.9736 GB, free: 89.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009339/0.9511, allocations: 79.27 kB / 0.9737 GB, free: 89.95 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004049/0.9515, allocations: 116.2 kB / 0.9738 GB, free: 89.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.9516, allocations: 41.92 kB / 0.9739 GB, free: 89.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001265/0.9528, allocations: 0.9983 MB / 0.9748 GB, free: 89.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9528, allocations: 0 / 0.9748 GB, free: 89.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002527/0.9554, allocations: 0.6866 MB / 0.9755 GB, free: 89.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002471/0.9556, allocations: 150.7 kB / 0.9756 GB, free: 89.17 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004415/0.9601, allocations: 3.502 MB / 0.9791 GB, free: 86.85 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/0.9601, allocations: 3.938 kB / 0.9791 GB, free: 86.85 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002669/0.9628, allocations: 2.293 MB / 0.9813 GB, free: 85.12 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.9654, allocations: 0.6236 MB / 0.9819 GB, free: 84.83 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009892/0.9753, allocations: 8.11 MB / 0.9898 GB, free: 79.46 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002134/0.9775, allocations: 2.666 MB / 0.9924 GB, free: 76.76 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001529/0.9791, allocations: 489.4 kB / 0.9929 GB, free: 76.28 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002933/0.9794, allocations: 115.4 kB / 0.993 GB, free: 76.17 MB / 0.7325 GB Notification: Performance of SimCode: time 1.042e-06/0.9794, allocations: 0 / 0.993 GB, free: 76.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.04406/1.023, allocations: 32.58 MB / 1.025 GB, free: 44.08 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)