Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.001273/0.001272, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001222/0.001222, allocations: 184 kB / 17.22 MB, free: 5.625 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.465/1.465, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.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.87/1.87, allocations: 292.3 MB / 0.5495 GB, free: 17.7 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.001447/0.001447, allocations: 71.91 kB / 0.6722 GB, free: 6.574 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2551, allocations: 114.5 MB / 0.7841 GB, free: 3.91 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.3926/0.6478, allocations: 5.506 MB / 0.7895 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003887/0.6517, allocations: 2.664 MB / 0.7921 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004801/0.6522, allocations: 24.28 kB / 0.7921 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001654/0.6539, allocations: 0.6809 MB / 0.7927 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009115/0.6548, allocations: 404.8 kB / 0.7931 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009282/0.6557, allocations: 410.3 kB / 0.7935 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008575/0.6566, allocations: 0.9615 MB / 0.7945 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005508/0.6572, allocations: 470.6 kB / 0.7949 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.6575, allocations: 361.5 kB / 0.7953 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004221/0.658, allocations: 411.7 kB / 0.7956 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.331e-05/0.6581, allocations: 55.11 kB / 0.7957 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006101/0.6587, allocations: 359.1 kB / 0.796 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001806/0.6589, allocations: 251.5 kB / 0.7963 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002517/0.6591, allocations: 349.4 kB / 0.7966 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.6602, allocations: 0.9727 MB / 0.7976 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.6602, allocations: 0 / 0.7976 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6602, allocations: 0 / 0.7976 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.6602, allocations: 0 / 0.7976 GB, free: 44.51 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00154/0.6618, allocations: 0.9885 MB / 0.7985 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.6618, allocations: 7.938 kB / 0.7985 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.6631, allocations: 192.1 kB / 0.7987 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.6638, allocations: 492.2 kB / 0.7992 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.6638, allocations: 47.23 kB / 0.7992 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.6639, allocations: 56.75 kB / 0.7993 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.665, allocations: 0.8271 MB / 0.8001 GB, free: 43.1 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.665, allocations: 6.531 kB / 0.8001 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.6651, allocations: 30.02 kB / 0.8001 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/0.6653, allocations: 64 kB / 0.8002 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008714/0.6662, allocations: 0.5732 MB / 0.8008 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00384/0.67, allocations: 4.577 MB / 0.8052 GB, free: 38.96 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005217/0.6706, allocations: 297.1 kB / 0.8055 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003537/0.6709, allocations: 227.7 kB / 0.8057 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.371e-05/0.671, allocations: 2.875 kB / 0.8057 GB, free: 38.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.671, allocations: 38.12 kB / 0.8058 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.671, allocations: 0 / 0.8058 GB, free: 38.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=40): time 0.005935/0.6769, allocations: 2.623 MB / 0.8083 GB, free: 37.33 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.677, allocations: 55.12 kB / 0.8084 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005903/0.6776, allocations: 467.2 kB / 0.8088 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.651e-05/0.6776, allocations: 34.61 kB / 0.8089 GB, free: 37 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.6778, allocations: 346.3 kB / 0.8092 GB, free: 36.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.146e-05/0.6779, allocations: 145.9 kB / 0.8093 GB, free: 36.61 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.6781, allocations: 105.6 kB / 0.8094 GB, free: 36.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.6782, allocations: 361 kB / 0.8098 GB, free: 36.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.6786, allocations: 242.7 kB / 0.81 GB, free: 36.13 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.679, allocations: 405.6 kB / 0.8104 GB, free: 35.84 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008743/0.6799, allocations: 0.6734 MB / 0.811 GB, free: 35.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6799, allocations: 1.656 kB / 0.811 GB, free: 35.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001715/0.6816, allocations: 0.9238 MB / 0.8119 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.6816, allocations: 8.734 kB / 0.812 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.6817, allocations: 4.688 kB / 0.812 GB, free: 35.01 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008073/0.6825, allocations: 233.9 kB / 0.8122 GB, free: 34.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005394/0.683, allocations: 116.3 kB / 0.8123 GB, free: 34.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.6873, allocations: 5.336 MB / 0.8175 GB, free: 30.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.6878, allocations: 29.55 kB / 0.8175 GB, free: 30.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.6878, allocations: 23.77 kB / 0.8176 GB, free: 30.27 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.000277/0.6881, allocations: 225.5 kB / 0.8178 GB, free: 30.1 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.6882, allocations: 60.86 kB / 0.8178 GB, free: 30.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.6897, allocations: 0.7761 MB / 0.8186 GB, free: 29.73 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.6897, allocations: 4.25 kB / 0.8186 GB, free: 29.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6897, allocations: 3.078 kB / 0.8186 GB, free: 29.73 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6897, allocations: 2.016 kB / 0.8186 GB, free: 29.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.6922, allocations: 1.506 MB / 0.8201 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.6922, allocations: 2.875 kB / 0.8201 GB, free: 28.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.6926, allocations: 70.34 kB / 0.8201 GB, free: 28.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006926/0.6933, allocations: 207.9 kB / 0.8203 GB, free: 28.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.6934, allocations: 8.656 kB / 0.8203 GB, free: 28.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/0.6974, allocations: 5.272 MB / 0.8255 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.6974, allocations: 5.812 kB / 0.8255 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.6992, allocations: 1.135 MB / 0.8266 GB, free: 23.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002708/0.6994, allocations: 167.3 kB / 0.8268 GB, free: 23.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.6995, allocations: 17.8 kB / 0.8268 GB, free: 23.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.6999, allocations: 27.77 kB / 0.8268 GB, free: 23.49 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.7, allocations: 37.02 kB / 0.8268 GB, free: 23.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.7, allocations: 17.5 kB / 0.8269 GB, free: 23.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003593/0.7004, allocations: 316.5 kB / 0.8272 GB, free: 23.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7004, allocations: 4 kB / 0.8272 GB, free: 23.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007814/0.7012, allocations: 166.6 kB / 0.8273 GB, free: 23.31 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,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.0001524/0.7013, allocations: 119 kB / 0.8274 GB, free: 23.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001609/0.703, allocations: 1.011 MB / 0.8284 GB, free: 22.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.703, allocations: 0 / 0.8284 GB, free: 22.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009068/0.7039, allocations: 0.6822 MB / 0.8291 GB, free: 22.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009185/0.7048, allocations: 181.1 kB / 0.8293 GB, free: 22.11 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.7067, allocations: 1.253 MB / 0.8305 GB, free: 21.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.7072, allocations: 0.9482 MB / 0.8314 GB, free: 20.68 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003927/0.7076, allocations: 115.9 kB / 0.8315 GB, free: 20.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.7077, allocations: 37.94 kB / 0.8316 GB, free: 20.66 MB / 0.6544 GB Notification: Performance of SimCode: time 4.81e-07/0.7077, allocations: 0 / 0.8316 GB, free: 20.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.01874/0.7264, allocations: 8.867 MB / 0.8402 GB, free: 20.08 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)