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.001203/0.001203, allocations: 106.8 kB / 16.41 MB, free: 6.504 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.001204/0.001204, allocations: 188 kB / 17.34 MB, free: 5.738 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002522/0.002522, allocations: 292.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.3 MB / 0.499 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002769/0.002769, allocations: 99.83 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5388, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03611/0.5749, allocations: 26.7 MB / 0.7931 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.592, allocations: 8.098 MB / 0.8011 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003207/0.5952, allocations: 111.4 kB / 0.8012 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.007647/0.6029, allocations: 2.793 MB / 0.8039 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005491/0.6084, allocations: 1.668 MB / 0.8055 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004877/0.6132, allocations: 1.675 MB / 0.8072 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009248/0.6225, allocations: 6.142 MB / 0.8132 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007601/0.6301, allocations: 5.312 MB / 0.8183 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.6353, allocations: 2.617 MB / 0.8209 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.6408, allocations: 2.835 MB / 0.8237 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001438/0.6422, allocations: 0.5078 MB / 0.8242 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003453/0.6457, allocations: 1.279 MB / 0.8254 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002909/0.6486, allocations: 2.104 MB / 0.8275 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004053/0.6526, allocations: 2.377 MB / 0.8298 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.6637, allocations: 8.079 MB / 0.8377 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6637, allocations: 4 kB / 0.8377 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.6637, allocations: 0 / 0.8377 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002418/0.664, allocations: 3.938 kB / 0.8377 GB, free: 11.3 MB / 0.6075 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.01007/0.674, allocations: 4.336 MB / 0.8419 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.6741, allocations: 8.031 kB / 0.8419 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004524/0.6786, allocations: 0.8218 MB / 0.8427 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005887/0.6845, allocations: 2.586 MB / 0.8453 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.6847, allocations: 275.6 kB / 0.8455 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001128/0.6859, allocations: 380.5 kB / 0.8459 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.6968, allocations: 5.996 MB / 0.8517 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-05/0.6969, allocations: 15.83 kB / 0.8517 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004021/0.6973, allocations: 160 kB / 0.8519 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006875/0.698, allocations: 282.9 kB / 0.8522 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009826/0.7078, allocations: 4.52 MB / 0.8566 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03363/0.7414, allocations: 27.51 MB / 0.8834 GB, free: 9.547 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.7434, allocations: 1.056 MB / 0.8845 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.7448, allocations: 0.9602 MB / 0.8854 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.816e-05/0.7449, allocations: 13 kB / 0.8854 GB, free: 7.512 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.507e-05/0.7449, allocations: 43.56 kB / 0.8855 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=110): time 2.786e-06/0.7449, allocations: 0 / 0.8855 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=131): time 0.02479/0.7697, allocations: 9.707 MB / 0.895 GB, free: 13.55 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.311e-05/0.7698, allocations: 64.72 kB / 0.895 GB, free: 13.47 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.7722, allocations: 1.498 MB / 0.8965 GB, free: 11.98 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.7724, allocations: 53.64 kB / 0.8965 GB, free: 11.92 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001437/0.7739, allocations: 1.711 MB / 0.8982 GB, free: 10.19 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005463/0.7744, allocations: 491.8 kB / 0.8987 GB, free: 9.703 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005541/0.775, allocations: 327.4 kB / 0.899 GB, free: 9.375 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.7751, allocations: 313.1 kB / 0.8993 GB, free: 9.066 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.7767, allocations: 0.9135 MB / 0.9002 GB, free: 8.152 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.7788, allocations: 1.463 MB / 0.9016 GB, free: 6.453 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003688/0.7825, allocations: 2.55 MB / 0.9041 GB, free: 3.66 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.7825, allocations: 4 kB / 0.9041 GB, free: 3.656 MB / 0.67 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00656/0.789, allocations: 3.279 MB / 0.9073 GB, free: 348 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.7891, allocations: 15.12 kB / 0.9073 GB, free: 336 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.7891, allocations: 19.98 kB / 0.9073 GB, free: 316 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/0.7916, allocations: 0.7336 MB / 0.908 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.7934, allocations: 387.3 kB / 0.9084 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01997/0.8134, allocations: 17.05 MB / 0.9251 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.8152, allocations: 99.91 kB / 0.9252 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.8153, allocations: 72 kB / 0.9252 GB, free: 12.68 MB / 0.7012 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.002521/0.8179, allocations: 1.322 MB / 0.9265 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004344/0.8183, allocations: 210.7 kB / 0.9267 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00581/0.8241, allocations: 2.757 MB / 0.9294 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.282e-05/0.8241, allocations: 19.98 kB / 0.9294 GB, free: 8.328 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.8241, allocations: 7.938 kB / 0.9294 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.8242, allocations: 3.984 kB / 0.9294 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01177/0.8359, allocations: 6.209 MB / 0.9355 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.8359, allocations: 4 kB / 0.9355 GB, free: 1.938 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.8372, allocations: 236.3 kB / 0.9357 GB, free: 1.707 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/0.8393, allocations: 0.671 MB / 0.9364 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.8394, allocations: 35.98 kB / 0.9364 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01817/0.8576, allocations: 16.79 MB / 0.9528 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/0.8576, allocations: 11.94 kB / 0.9528 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007145/0.8648, allocations: 3.986 MB / 0.9567 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/0.8662, allocations: 467.7 kB / 0.9572 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.8664, allocations: 39.88 kB / 0.9572 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009835/0.8674, allocations: 79.89 kB / 0.9573 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003587/0.8678, allocations: 116.7 kB / 0.9574 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.99e-05/0.8679, allocations: 40 kB / 0.9574 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001545/0.8694, allocations: 0.9942 MB / 0.9584 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8694, allocations: 4 kB / 0.9584 GB, free: 9.082 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002551/0.872, allocations: 0.6836 MB / 0.9591 GB, free: 8.398 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.0003142/0.8723, allocations: 154.1 kB / 0.9592 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005853/0.8781, allocations: 3.385 MB / 0.9625 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.8781, allocations: 0.875 kB / 0.9625 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003679/0.8818, allocations: 2.248 MB / 0.9647 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.885, allocations: 0.6757 MB / 0.9654 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3626/1.248, allocations: 6.549 MB / 0.9718 GB, free: 181.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003174/1.251, allocations: 2.666 MB / 0.9744 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001713/1.252, allocations: 488.3 kB / 0.9748 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.253, allocations: 118 kB / 0.975 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.663e-06/1.253, allocations: 0 / 0.975 GB, free: 180.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.05454/1.307, allocations: 34.39 MB / 1.009 GB, free: 158.9 MB / 0.7325 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)