Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.656/1.656, allocations: 287.5 MB / 302.6 MB, free: 8.207 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.001046/0.001046, allocations: 181.5 kB / 371.2 MB, free: 10.83 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.607/1.607, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0009131/0.000913, allocations: 103 kB / 0.7432 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004535/0.000454, allocations: 12.06 kB / 0.8661 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2591, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02013/0.2793, allocations: 24.2 MB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.2934, allocations: 7.731 MB / 1.01 GB, free: 12.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003108/0.2965, allocations: 103.4 kB / 1.01 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.299, allocations: 0.5076 MB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005059/0.3041, allocations: 1.275 MB / 1.012 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005348/0.3095, allocations: 0.9942 MB / 1.013 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01316/0.3227, allocations: 6.952 MB / 1.019 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02295/0.3457, allocations: 9.014 MB / 1.028 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006378/0.3521, allocations: 1.887 MB / 1.03 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007328/0.3595, allocations: 2.402 MB / 1.032 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002114/0.3617, allocations: 212 kB / 1.033 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004456/0.3662, allocations: 0.597 MB / 1.033 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.004587/0.3708, allocations: 1.668 MB / 1.035 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003262/0.3741, allocations: 0.8004 MB / 1.036 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.3861, allocations: 6.623 MB / 1.042 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.3862, allocations: 0 / 1.042 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3862, allocations: 4 kB / 1.042 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003503/0.3865, allocations: 0 / 1.042 GB, free: 10.95 MB / 0.6667 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.01339/0.4, allocations: 3.424 MB / 1.045 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.4, allocations: 8.031 kB / 1.045 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006817/0.4069, allocations: 0.804 MB / 1.046 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008019/0.4149, allocations: 2.424 MB / 1.049 GB, free: 4.172 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004623/0.4154, allocations: 275.6 kB / 1.049 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002498/0.4179, allocations: 372.5 kB / 1.049 GB, free: 3.539 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02026/0.4382, allocations: 5.961 MB / 1.055 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002401/0.4385, allocations: 15.88 kB / 1.055 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/0.4399, allocations: 164 kB / 1.055 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009041/0.4408, allocations: 282.9 kB / 1.056 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.4545, allocations: 4.492 MB / 1.06 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6594/1.114, allocations: 27.69 MB / 1.087 GB, free: 62.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/1.116, allocations: 1.114 MB / 1.088 GB, free: 62.34 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/1.118, allocations: 1.019 MB / 1.089 GB, free: 61.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/1.118, allocations: 12.52 kB / 1.089 GB, free: 61.95 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.118, allocations: 46.73 kB / 1.089 GB, free: 61.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 3.547e-06/1.118, allocations: 0 / 1.089 GB, free: 61.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=131): time 0.02355/1.142, allocations: 9.671 MB / 1.099 GB, free: 57.67 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/1.142, allocations: 69.19 kB / 1.099 GB, free: 57.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003015/1.145, allocations: 1.481 MB / 1.1 GB, free: 57.04 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/1.145, allocations: 51.33 kB / 1.1 GB, free: 56.99 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001373/1.146, allocations: 1.669 MB / 1.102 GB, free: 55.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005089/1.147, allocations: 466.6 kB / 1.102 GB, free: 55.37 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/1.147, allocations: 35.22 kB / 1.102 GB, free: 55.34 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.147, allocations: 377.9 kB / 1.103 GB, free: 55.01 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001782/1.149, allocations: 0.9088 MB / 1.103 GB, free: 54.66 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/1.151, allocations: 1.459 MB / 1.105 GB, free: 53.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003119/1.154, allocations: 2.535 MB / 1.107 GB, free: 52.03 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.154, allocations: 7.875 kB / 1.107 GB, free: 52.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00744/1.161, allocations: 3.269 MB / 1.111 GB, free: 50.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/1.162, allocations: 13.8 kB / 1.111 GB, free: 50.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.249e-05/1.162, allocations: 17.56 kB / 1.111 GB, free: 50.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003041/1.165, allocations: 0.7366 MB / 1.111 GB, free: 50.42 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/1.167, allocations: 392 kB / 1.112 GB, free: 50.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/1.184, allocations: 15.77 MB / 1.127 GB, free: 36.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002984/1.187, allocations: 99.95 kB / 1.127 GB, free: 36.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002566/1.188, allocations: 75.91 kB / 1.127 GB, free: 36.75 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003753/1.191, allocations: 1.311 MB / 1.129 GB, free: 36.08 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007144/1.192, allocations: 202.7 kB / 1.129 GB, free: 35.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00687/1.199, allocations: 2.788 MB / 1.131 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.199, allocations: 12.75 kB / 1.131 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.696e-05/1.199, allocations: 6.75 kB / 1.131 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-05/1.199, allocations: 9.328 kB / 1.131 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.214, allocations: 6.207 MB / 1.138 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.214, allocations: 9.203 kB / 1.138 GB, free: 30.49 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/1.215, allocations: 234.6 kB / 1.138 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002817/1.218, allocations: 0.6647 MB / 1.138 GB, free: 30.05 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/1.218, allocations: 36.66 kB / 1.138 GB, free: 30.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01642/1.235, allocations: 15.51 MB / 1.154 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/1.235, allocations: 7.531 kB / 1.154 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008209/1.243, allocations: 3.999 MB / 1.157 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.245, allocations: 463.4 kB / 1.158 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003274/1.245, allocations: 39.05 kB / 1.158 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.246, allocations: 84.55 kB / 1.158 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004093/1.247, allocations: 115.8 kB / 1.158 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.247, allocations: 38 kB / 1.158 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00179/1.249, allocations: 0.9771 MB / 1.159 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/1.249, allocations: 0 / 1.159 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003572/1.252, allocations: 0.6833 MB / 1.16 GB, free: 12.11 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003038/1.252, allocations: 150.1 kB / 1.16 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006202/1.259, allocations: 3.491 MB / 1.163 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.259, allocations: 8.062 kB / 1.163 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003522/1.262, allocations: 2.272 MB / 1.166 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005337/1.268, allocations: 0.6098 MB / 1.166 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.282, allocations: 7.844 MB / 1.174 GB, free: 13.97 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004134/1.286, allocations: 2.669 MB / 1.176 GB, free: 11.27 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002673/1.289, allocations: 489.4 kB / 1.177 GB, free: 10.79 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/1.289, allocations: 115.4 kB / 1.177 GB, free: 10.68 MB / 0.698 GB Notification: Performance of SimCode: time 8.02e-07/1.289, allocations: 4 kB / 1.177 GB, free: 10.68 MB / 0.698 GB Notification: Performance of Templates: time 0.08379/1.373, allocations: 31.17 MB / 1.207 GB, free: 11.93 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)