Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001778/0.001778, allocations: 191 kB / 16.25 MB, free: 6.637 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.531/1.531, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002517/0.002517, allocations: 290.8 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.064/1.064, allocations: 178.6 MB / 0.5069 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 99.39 kB / 0.6059 GB, free: 25.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1668, allocations: 89.15 MB / 0.693 GB, free: 4.66 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04356/0.2104, allocations: 37.24 MB / 0.7294 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02257/0.2331, allocations: 12.94 MB / 0.742 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003994/0.2371, allocations: 155.1 kB / 0.7421 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009455/0.2466, allocations: 3.628 MB / 0.7457 GB, free: 14.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006359/0.2529, allocations: 2.31 MB / 0.7479 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006289/0.2592, allocations: 2.471 MB / 0.7504 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01235/0.2716, allocations: 9.614 MB / 0.7597 GB, free: 132 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3165/0.5881, allocations: 12.73 MB / 0.7722 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006187/0.5944, allocations: 4.058 MB / 0.7761 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006857/0.6012, allocations: 4.584 MB / 0.7806 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001665/0.6029, allocations: 0.7704 MB / 0.7814 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.607, allocations: 1.784 MB / 0.7831 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003289/0.6103, allocations: 3.04 MB / 0.7861 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005318/0.6156, allocations: 3.581 MB / 0.7896 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.6273, allocations: 11.88 MB / 0.8012 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6274, allocations: 5.156 kB / 0.8012 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6274, allocations: 0 / 0.8012 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000291/0.6277, allocations: 0 / 0.8012 GB, free: 11.2 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01602/0.6437, allocations: 6.35 MB / 0.8074 GB, free: 7.137 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.6437, allocations: 9.562 kB / 0.8074 GB, free: 7.137 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008025/0.6518, allocations: 1.302 MB / 0.8087 GB, free: 6.523 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007808/0.6596, allocations: 3.571 MB / 0.8121 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.6599, allocations: 382 kB / 0.8125 GB, free: 4.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001192/0.6611, allocations: 0.4916 MB / 0.813 GB, free: 4.008 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.6752, allocations: 8.891 MB / 0.8217 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001233/0.6753, allocations: 31.81 kB / 0.8217 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006193/0.676, allocations: 221.6 kB / 0.8219 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/0.678, allocations: 0.6355 MB / 0.8225 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.6905, allocations: 7.012 MB / 0.8294 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05414/0.7447, allocations: 40.33 MB / 0.8688 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004336/0.7491, allocations: 2.886 MB / 0.8716 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003835/0.7529, allocations: 2.667 MB / 0.8742 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.7531, allocations: 34.09 kB / 0.8742 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/0.7532, allocations: 60.12 kB / 0.8743 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=265): time 5.05e-06/0.7532, allocations: 4 kB / 0.8743 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=424): time 0.2932/1.046, allocations: 74.71 MB / 0.9472 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/1.047, allocations: 98.11 kB / 0.9473 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/1.051, allocations: 2.363 MB / 0.9496 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.052, allocations: 93.7 kB / 0.9497 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001974/1.054, allocations: 2.336 MB / 0.952 GB, free: 8.023 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.002038/1.056, allocations: 1.439 MB / 0.9534 GB, free: 6.594 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001541/1.057, allocations: 0.7215 MB / 0.9541 GB, free: 5.859 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001416/1.058, allocations: 313.1 kB / 0.9544 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004744/1.062, allocations: 2.995 MB / 0.9574 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005636/1.068, allocations: 3.839 MB / 0.9611 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.079, allocations: 7.38 MB / 0.9683 GB, free: 6.777 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/1.079, allocations: 8 kB / 0.9683 GB, free: 6.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03094/1.11, allocations: 12.57 MB / 0.9806 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/1.11, allocations: 12 kB / 0.9806 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.393e-05/1.11, allocations: 24 kB / 0.9806 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02409/1.134, allocations: 6.065 MB / 0.9865 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/1.137, allocations: 491.4 kB / 0.987 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.375/1.512, allocations: 73.03 MB / 1.058 GB, free: 258.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/1.516, allocations: 216.8 kB / 1.059 GB, free: 258.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003779/1.516, allocations: 154.9 kB / 1.059 GB, free: 258.5 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003372/1.519, allocations: 2.001 MB / 1.061 GB, free: 258.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000731/1.52, allocations: 398.2 kB / 1.061 GB, free: 258.4 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02631/1.546, allocations: 12.23 MB / 1.073 GB, free: 257.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/1.546, allocations: 45.27 kB / 1.073 GB, free: 257.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.906e-05/1.546, allocations: 48.91 kB / 1.073 GB, free: 257.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.367e-05/1.547, allocations: 20.48 kB / 1.073 GB, free: 257.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03552/1.582, allocations: 19.14 MB / 1.092 GB, free: 249.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.582, allocations: 7.25 kB / 1.092 GB, free: 249.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.584, allocations: 294.5 kB / 1.092 GB, free: 249.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01952/1.603, allocations: 5.618 MB / 1.098 GB, free: 248.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003453/1.603, allocations: 78.09 kB / 1.098 GB, free: 248.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06362/1.667, allocations: 70.66 MB / 1.167 GB, free: 192.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.667, allocations: 11.94 kB / 1.167 GB, free: 192.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02553/1.693, allocations: 15.62 MB / 1.182 GB, free: 176.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002529/1.695, allocations: 1.039 MB / 1.183 GB, free: 175.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005994/1.696, allocations: 87.98 kB / 1.183 GB, free: 175.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.698, allocations: 215.7 kB / 1.183 GB, free: 175.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/1.699, allocations: 414.1 kB / 1.184 GB, free: 174.8 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/1.7, allocations: 108 kB / 1.184 GB, free: 174.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001795/1.701, allocations: 1.556 MB / 1.185 GB, free: 173.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/1.701, allocations: 0 / 1.185 GB, free: 173.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005148/1.707, allocations: 1.859 MB / 1.187 GB, free: 171.3 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004553/1.707, allocations: 211.4 kB / 1.187 GB, free: 171 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.02184/1.729, allocations: 14.99 MB / 1.202 GB, free: 155.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/1.729, allocations: 0 / 1.202 GB, free: 155.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.01179/1.741, allocations: 8.354 MB / 1.21 GB, free: 147.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/1.746, allocations: 1.201 MB / 1.211 GB, free: 146 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01836/1.764, allocations: 14.79 MB / 1.226 GB, free: 131.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00348/1.768, allocations: 4.092 MB / 1.23 GB, free: 127.1 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002302/1.77, allocations: 0.6708 MB / 1.23 GB, free: 126.4 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004457/1.77, allocations: 179.4 kB / 1.23 GB, free: 126.2 MB / 0.7794 GB Notification: Performance of SimCode: time 1.523e-06/1.77, allocations: 0 / 1.23 GB, free: 126.2 MB / 0.7794 GB Notification: Performance of Templates: time 0.1465/1.917, allocations: 112.4 MB / 1.34 GB, free: 14.99 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)