Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009952/0.0009952, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.007682/0.007682, allocations: 172.6 kB / 16.26 MB, free: 6.676 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001812/0.001812, allocations: 274.8 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003975, allocations: 14.52 kB / 0.5987 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02055/0.1646, allocations: 19.47 MB / 0.7042 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1747, allocations: 6.372 MB / 0.7104 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.1762, allocations: 75.56 kB / 0.7105 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.1773, allocations: 400.9 kB / 0.7108 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002804/0.1801, allocations: 1.124 MB / 0.7119 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002542/0.1826, allocations: 1.071 MB / 0.713 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006589/0.1892, allocations: 6.983 MB / 0.7198 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.1997, allocations: 7.27 MB / 0.7269 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.2026, allocations: 1.501 MB / 0.7284 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.2057, allocations: 2.02 MB / 0.7303 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000429/0.2061, allocations: 176 kB / 0.7305 GB, free: 448 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.2079, allocations: 0.9202 MB / 0.7314 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00133/0.2093, allocations: 1.352 MB / 0.7327 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.2111, allocations: 1.572 MB / 0.7343 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006325/0.2174, allocations: 6.21 MB / 0.7403 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2175, allocations: 4 kB / 0.7403 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.996e-06/0.2175, allocations: 0 / 0.7403 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0002216/0.2177, allocations: 0 / 0.7403 GB, free: 6.34 MB / 0.5294 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.006482/0.2242, allocations: 2.82 MB / 0.7431 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2243, allocations: 8.031 kB / 0.7431 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.2279, allocations: 0.641 MB / 0.7437 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/0.2313, allocations: 1.939 MB / 0.7456 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.2315, allocations: 222.3 kB / 0.7458 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005166/0.232, allocations: 288.4 kB / 0.7461 GB, free: 312 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007816/0.2398, allocations: 4.894 MB / 0.7509 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-05/0.2399, allocations: 19.78 kB / 0.7509 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003105/0.2403, allocations: 124 kB / 0.751 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004259/0.2407, allocations: 233.7 kB / 0.7512 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005968/0.2467, allocations: 3.75 MB / 0.7549 GB, free: 7.078 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3476/0.5943, allocations: 21.61 MB / 0.776 GB, free: 84.28 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002589/0.5969, allocations: 1.307 MB / 0.7773 GB, free: 84.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.5987, allocations: 1.037 MB / 0.7783 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.09e-05/0.5988, allocations: 12.58 kB / 0.7783 GB, free: 84.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.5989, allocations: 45.75 kB / 0.7783 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=107): time 3.436e-06/0.5989, allocations: 0.5938 kB / 0.7783 GB, free: 84.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=138): time 0.02546/0.6243, allocations: 8.72 MB / 0.7869 GB, free: 82.11 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.6244, allocations: 68.25 kB / 0.7869 GB, free: 82.04 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.6263, allocations: 1.126 MB / 0.788 GB, free: 81.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.6265, allocations: 51.61 kB / 0.7881 GB, free: 81.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008042/0.6273, allocations: 1.293 MB / 0.7893 GB, free: 80.57 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/0.6277, allocations: 492.8 kB / 0.7898 GB, free: 80.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.6279, allocations: 124.8 kB / 0.7899 GB, free: 80.13 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.973e-05/0.628, allocations: 304 kB / 0.7902 GB, free: 79.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00137/0.6294, allocations: 0.9118 MB / 0.7911 GB, free: 79.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.631, allocations: 1.327 MB / 0.7924 GB, free: 78.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/0.634, allocations: 2.423 MB / 0.7948 GB, free: 77.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.6341, allocations: 9.219 kB / 0.7948 GB, free: 77.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006313/0.6404, allocations: 3.461 MB / 0.7982 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.6404, allocations: 10.28 kB / 0.7982 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.6405, allocations: 13.47 kB / 0.7982 GB, free: 75.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.6437, allocations: 1.187 MB / 0.7993 GB, free: 75.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008879/0.6446, allocations: 256.1 kB / 0.7996 GB, free: 75.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.6594, allocations: 12.77 MB / 0.8121 GB, free: 67.19 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.6608, allocations: 90.02 kB / 0.8121 GB, free: 67.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.6609, allocations: 67.48 kB / 0.8122 GB, free: 67.12 MB / 0.5606 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.001725/0.6626, allocations: 1.112 MB / 0.8133 GB, free: 66.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/0.6629, allocations: 165 kB / 0.8134 GB, free: 66.34 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005053/0.668, allocations: 3.172 MB / 0.8165 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.668, allocations: 15.62 kB / 0.8166 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.668, allocations: 11.81 kB / 0.8166 GB, free: 64.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.668, allocations: 7.969 kB / 0.8166 GB, free: 64.47 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008976/0.677, allocations: 6.236 MB / 0.8227 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.6771, allocations: 10.08 kB / 0.8227 GB, free: 60.71 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.6776, allocations: 153.6 kB / 0.8228 GB, free: 60.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.6803, allocations: 1.073 MB / 0.8239 GB, free: 60.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.6804, allocations: 31.72 kB / 0.8239 GB, free: 60.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.6928, allocations: 12.44 MB / 0.8361 GB, free: 48.22 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.6928, allocations: 11.94 kB / 0.8361 GB, free: 48.21 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004519/0.6973, allocations: 3.146 MB / 0.8391 GB, free: 44.98 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006365/0.698, allocations: 434.9 kB / 0.8396 GB, free: 44.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.6982, allocations: 35.81 kB / 0.8396 GB, free: 44.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007555/0.6989, allocations: 79.89 kB / 0.8397 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.6992, allocations: 124.7 kB / 0.8398 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.467e-05/0.6993, allocations: 44 kB / 0.8398 GB, free: 44.26 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008098/0.7001, allocations: 0.7632 MB / 0.8406 GB, free: 43.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7001, allocations: 0 / 0.8406 GB, free: 43.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001774/0.7019, allocations: 0.6641 MB / 0.8412 GB, free: 42.83 MB / 0.5606 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.0001953/0.7021, allocations: 139.1 kB / 0.8414 GB, free: 42.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003858/0.706, allocations: 3.133 MB / 0.8444 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.706, allocations: 4 kB / 0.8444 GB, free: 39.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002345/0.7083, allocations: 1.955 MB / 0.8463 GB, free: 37.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002736/0.7111, allocations: 477 kB / 0.8468 GB, free: 37.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007361/0.7185, allocations: 6.75 MB / 0.8534 GB, free: 30.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.7203, allocations: 2.34 MB / 0.8557 GB, free: 27.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001053/0.7214, allocations: 350.1 kB / 0.856 GB, free: 27.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.7216, allocations: 88.69 kB / 0.8561 GB, free: 27.45 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/0.7216, allocations: 0 / 0.8561 GB, free: 27.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.04387/0.7655, allocations: 30.96 MB / 0.8863 GB, free: 12.95 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)