Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001116, allocations: 105.4 kB / 16.29 MB, free: 6.426 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.00115/0.00115, allocations: 188.6 kB / 17.22 MB, free: 5.957 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.498/1.498, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.873/1.873, allocations: 292.3 MB / 0.5495 GB, free: 17.39 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.001391/0.001391, allocations: 67.91 kB / 0.6722 GB, free: 6.523 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2712, allocations: 114.6 MB / 0.7841 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.5407/0.8119, allocations: 20.17 MB / 0.8038 GB, free: 39.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0137/0.8257, allocations: 6.488 MB / 0.8101 GB, free: 35.06 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003196/0.829, allocations: 89.78 kB / 0.8102 GB, free: 35.04 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006344/0.8354, allocations: 2.232 MB / 0.8124 GB, free: 33.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.8403, allocations: 1.178 MB / 0.8135 GB, free: 32.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00452/0.8449, allocations: 1.283 MB / 0.8148 GB, free: 32.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.8551, allocations: 4.848 MB / 0.8195 GB, free: 30.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009191/0.8643, allocations: 5.637 MB / 0.825 GB, free: 28.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005299/0.8697, allocations: 2.09 MB / 0.8271 GB, free: 27.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005939/0.8757, allocations: 2.342 MB / 0.8294 GB, free: 26.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001991/0.8777, allocations: 430.3 kB / 0.8298 GB, free: 26.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.882, allocations: 1.003 MB / 0.8307 GB, free: 25.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.00318/0.8852, allocations: 1.665 MB / 0.8324 GB, free: 25.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004622/0.8898, allocations: 1.911 MB / 0.8342 GB, free: 23.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01286/0.9027, allocations: 6.52 MB / 0.8406 GB, free: 21.87 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.9028, allocations: 0 / 0.8406 GB, free: 21.87 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.036e-06/0.9028, allocations: 1.094 kB / 0.8406 GB, free: 21.87 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0003682/0.9032, allocations: 0 / 0.8406 GB, free: 21.87 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01839/0.9216, allocations: 3.45 MB / 0.844 GB, free: 19.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.952e-05/0.9217, allocations: 13 kB / 0.844 GB, free: 19.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006772/0.9285, allocations: 0.6384 MB / 0.8446 GB, free: 19.59 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007636/0.9361, allocations: 1.941 MB / 0.8465 GB, free: 18.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005528/0.9367, allocations: 222.6 kB / 0.8467 GB, free: 18.17 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002823/0.9396, allocations: 292 kB / 0.847 GB, free: 18.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/0.9563, allocations: 4.892 MB / 0.8518 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.9565, allocations: 13 kB / 0.8518 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00057/0.9571, allocations: 125.9 kB / 0.8519 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005732/0.9577, allocations: 232 kB / 0.8521 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.9699, allocations: 3.75 MB / 0.8558 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03811/1.008, allocations: 21.41 MB / 0.8767 GB, free: 9.117 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003305/1.011, allocations: 1.315 MB / 0.878 GB, free: 8.422 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/1.014, allocations: 1.052 MB / 0.879 GB, free: 7.867 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/1.014, allocations: 13 kB / 0.879 GB, free: 7.852 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.603e-05/1.014, allocations: 43.56 kB / 0.8791 GB, free: 7.801 MB / 0.67 GB Notification: Performance of pre-optimization done (n=107): time 8.275e-06/1.014, allocations: 3.984 kB / 0.8791 GB, free: 7.797 MB / 0.67 GB Notification: Performance of matching and sorting (n=138): time 0.04444/1.059, allocations: 8.648 MB / 0.8875 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/1.059, allocations: 68.72 kB / 0.8876 GB, free: 15 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002766/1.062, allocations: 1.13 MB / 0.8887 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002425/1.062, allocations: 49.7 kB / 0.8887 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.064, allocations: 1.3 MB / 0.89 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007223/1.064, allocations: 485 kB / 0.8905 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008106/1.065, allocations: 291.3 kB / 0.8907 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.065, allocations: 309.1 kB / 0.891 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002337/1.068, allocations: 0.9096 MB / 0.8919 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/1.07, allocations: 1.322 MB / 0.8932 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005447/1.076, allocations: 2.433 MB / 0.8956 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/1.076, allocations: 0 / 0.8956 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.009548/1.085, allocations: 3.467 MB / 0.899 GB, free: 2.926 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.086, allocations: 12 kB / 0.899 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/1.086, allocations: 12 kB / 0.899 GB, free: 2.902 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00309/1.089, allocations: 1.183 MB / 0.9002 GB, free: 1.715 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009787/1.09, allocations: 259.5 kB / 0.9004 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01721/1.107, allocations: 13.84 MB / 0.9139 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/1.108, allocations: 83.98 kB / 0.914 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/1.109, allocations: 63.98 kB / 0.9141 GB, free: 3.062 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002038/1.111, allocations: 1.11 MB / 0.9151 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003495/1.111, allocations: 166.1 kB / 0.9153 GB, free: 1.777 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/1.117, allocations: 3.169 MB / 0.9184 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/1.117, allocations: 16 kB / 0.9184 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.81e-05/1.117, allocations: 19.88 kB / 0.9184 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/1.117, allocations: 7.969 kB / 0.9184 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/1.127, allocations: 6.241 MB / 0.9245 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.127, allocations: 4 kB / 0.9245 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005867/1.128, allocations: 147.8 kB / 0.9247 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002741/1.131, allocations: 1.081 MB / 0.9257 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.324e-05/1.131, allocations: 28 kB / 0.9258 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01651/1.147, allocations: 13.53 MB / 0.939 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/1.147, allocations: 15.92 kB / 0.939 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005493/1.153, allocations: 3.15 MB / 0.9421 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/1.154, allocations: 423.1 kB / 0.9425 GB, free: 5.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/1.154, allocations: 31.94 kB / 0.9425 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008117/1.155, allocations: 87.89 kB / 0.9426 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004012/1.155, allocations: 124.7 kB / 0.9427 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.218e-05/1.155, allocations: 40 kB / 0.9427 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00115/1.157, allocations: 0.7671 MB / 0.9435 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.157, allocations: 0 / 0.9435 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002241/1.159, allocations: 0.6562 MB / 0.9441 GB, free: 3.559 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002568/1.159, allocations: 145.7 kB / 0.9443 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004842/1.164, allocations: 3.15 MB / 0.9473 GB, free: 232 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.164, allocations: 0 / 0.9473 GB, free: 232 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002858/1.167, allocations: 1.947 MB / 0.9492 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.169, allocations: 0.4923 MB / 0.9497 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009423/1.179, allocations: 5.366 MB / 0.955 GB, free: 8.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00241/1.181, allocations: 2.332 MB / 0.9572 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001104/1.182, allocations: 358.1 kB / 0.9576 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/1.182, allocations: 87.38 kB / 0.9577 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of SimCode: time 1.082e-06/1.182, allocations: 0 / 0.9577 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of Templates: time 0.05478/1.237, allocations: 32.69 MB / 0.9896 GB, free: 5.301 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)