Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001454/0.001454, 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.001631/0.001631, allocations: 199.2 kB / 16.14 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002041/0.002041, allocations: 282.8 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 91.91 kB / 0.5945 GB, free: 28.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1722, allocations: 86.98 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02731/0.1995, allocations: 26.42 MB / 0.7052 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.213, allocations: 8.068 MB / 0.7131 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003065/0.2161, allocations: 107.4 kB / 0.7132 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006772/0.2229, allocations: 2.573 MB / 0.7157 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004864/0.2278, allocations: 1.493 MB / 0.7172 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004362/0.2322, allocations: 1.532 MB / 0.7187 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009287/0.2415, allocations: 8.689 MB / 0.7272 GB, free: 172 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.2531, allocations: 8.203 MB / 0.7352 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.2575, allocations: 2.183 MB / 0.7373 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005041/0.2626, allocations: 2.897 MB / 0.7402 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.2636, allocations: 344 kB / 0.7405 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003522/0.2672, allocations: 1.33 MB / 0.7418 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002275/0.2695, allocations: 1.875 MB / 0.7436 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003278/0.2728, allocations: 2.185 MB / 0.7457 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008398/0.2812, allocations: 7.93 MB / 0.7535 GB, free: 5.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2812, allocations: 3.938 kB / 0.7535 GB, free: 5.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2812, allocations: 0 / 0.7535 GB, free: 5.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002329/0.2815, allocations: 0 / 0.7535 GB, free: 5.07 MB / 0.545 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.009078/0.2905, allocations: 4.228 MB / 0.7576 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.2906, allocations: 8.031 kB / 0.7576 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.2949, allocations: 0.8001 MB / 0.7584 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.2995, allocations: 2.428 MB / 0.7608 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001794/0.2997, allocations: 271.6 kB / 0.761 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008379/0.3006, allocations: 380.5 kB / 0.7614 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009973/0.3106, allocations: 5.988 MB / 0.7672 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.731e-05/0.3107, allocations: 27.77 kB / 0.7673 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003838/0.3111, allocations: 164 kB / 0.7674 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005736/0.3117, allocations: 278.9 kB / 0.7677 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007601/0.3193, allocations: 4.52 MB / 0.7721 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3096/0.629, allocations: 27.65 MB / 0.7991 GB, free: 65.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.6304, allocations: 1.12 MB / 0.8002 GB, free: 64.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.6316, allocations: 1.02 MB / 0.8012 GB, free: 64.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.49e-05/0.6316, allocations: 11.56 kB / 0.8012 GB, free: 64.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6317, allocations: 46 kB / 0.8013 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.655e-06/0.6317, allocations: 0 / 0.8013 GB, free: 64.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.01977/0.6514, allocations: 9.67 MB / 0.8107 GB, free: 60.04 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.6515, allocations: 65.06 kB / 0.8108 GB, free: 59.97 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.6535, allocations: 1.498 MB / 0.8122 GB, free: 59.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/0.6536, allocations: 47.42 kB / 0.8123 GB, free: 59.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007321/0.6544, allocations: 1.664 MB / 0.8139 GB, free: 57.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.6546, allocations: 466 kB / 0.8143 GB, free: 57.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004728/0.6551, allocations: 335.6 kB / 0.8147 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.946e-05/0.6552, allocations: 302.2 kB / 0.815 GB, free: 56.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.6564, allocations: 0.9169 MB / 0.8158 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.6578, allocations: 1.461 MB / 0.8173 GB, free: 55.11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.6605, allocations: 2.55 MB / 0.8198 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.6606, allocations: 5.5 kB / 0.8198 GB, free: 53.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005126/0.6657, allocations: 3.288 MB / 0.823 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.6657, allocations: 12.38 kB / 0.823 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.6658, allocations: 16.5 kB / 0.823 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.6679, allocations: 0.7391 MB / 0.8237 GB, free: 51.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0014/0.6693, allocations: 384.4 kB / 0.8241 GB, free: 51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01077/0.6801, allocations: 15.77 MB / 0.8395 GB, free: 36.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.6815, allocations: 99.22 kB / 0.8396 GB, free: 36.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.6816, allocations: 79.02 kB / 0.8397 GB, free: 36.38 MB / 0.5606 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.00161/0.6833, allocations: 1.32 MB / 0.841 GB, free: 35.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.6835, allocations: 202.8 kB / 0.8411 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/0.6877, allocations: 2.787 MB / 0.8439 GB, free: 33.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.6877, allocations: 19.14 kB / 0.8439 GB, free: 33.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.6878, allocations: 3.812 kB / 0.8439 GB, free: 33.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.6878, allocations: 7.969 kB / 0.8439 GB, free: 33.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00791/0.6957, allocations: 6.222 MB / 0.85 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.6957, allocations: 4 kB / 0.85 GB, free: 28.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.6968, allocations: 231.6 kB / 0.8502 GB, free: 28.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00179/0.6986, allocations: 0.6713 MB / 0.8509 GB, free: 27.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.504e-05/0.6987, allocations: 31.94 kB / 0.8509 GB, free: 27.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.709, allocations: 15.5 MB / 0.866 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7091, allocations: 8 kB / 0.866 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005073/0.7142, allocations: 4.008 MB / 0.87 GB, free: 7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006873/0.7149, allocations: 458.5 kB / 0.8704 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.7151, allocations: 32 kB / 0.8704 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008212/0.7159, allocations: 83.89 kB / 0.8705 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.7162, allocations: 112.7 kB / 0.8706 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/0.7163, allocations: 40.12 kB / 0.8706 GB, free: 6.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00107/0.7174, allocations: 0.9942 MB / 0.8716 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7174, allocations: 0 / 0.8716 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001909/0.7193, allocations: 0.6875 MB / 0.8723 GB, free: 4.598 MB / 0.5606 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.0001888/0.7195, allocations: 151.8 kB / 0.8724 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00402/0.7235, allocations: 3.508 MB / 0.8759 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7235, allocations: 0 / 0.8759 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002786/0.7263, allocations: 2.292 MB / 0.8781 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.7288, allocations: 0.6266 MB / 0.8787 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01042/0.7393, allocations: 8.11 MB / 0.8866 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00268/0.742, allocations: 2.668 MB / 0.8892 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001588/0.7436, allocations: 489.4 kB / 0.8897 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.7439, allocations: 119.4 kB / 0.8898 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of SimCode: time 6.62e-07/0.7439, allocations: 0 / 0.8898 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of Templates: time 0.07716/0.8211, allocations: 32.59 MB / 0.9216 GB, free: 2.238 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)