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.001237/0.001237, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001253/0.001253, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.348/1.348, 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.002044/0.002043, allocations: 282.8 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 92.16 kB / 0.5947 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1673, allocations: 86.99 MB / 0.6796 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03604/0.2033, allocations: 37.23 MB / 0.716 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01946/0.2228, allocations: 12.94 MB / 0.7286 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004093/0.227, allocations: 155.1 kB / 0.7288 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00877/0.2358, allocations: 3.621 MB / 0.7323 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006182/0.242, allocations: 2.302 MB / 0.7346 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005718/0.2477, allocations: 2.477 MB / 0.737 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.009858/0.2576, allocations: 9.606 MB / 0.7464 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.2728, allocations: 12.74 MB / 0.7588 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006224/0.279, allocations: 4.061 MB / 0.7628 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005437/0.2845, allocations: 4.584 MB / 0.7673 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.2855, allocations: 0.7734 MB / 0.768 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.2886, allocations: 1.779 MB / 0.7697 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002552/0.2911, allocations: 3.04 MB / 0.7727 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.2822/0.5734, allocations: 3.577 MB / 0.7762 GB, free: 32.44 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01413/0.5875, allocations: 11.88 MB / 0.7878 GB, free: 32.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5876, allocations: 0 / 0.7878 GB, free: 32.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5876, allocations: 0 / 0.7878 GB, free: 32.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003438/0.5879, allocations: 0 / 0.7878 GB, free: 32.11 MB / 0.5606 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.01831/0.6063, allocations: 6.354 MB / 0.794 GB, free: 29.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.6063, allocations: 8.25 kB / 0.794 GB, free: 29.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008506/0.6148, allocations: 1.306 MB / 0.7953 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00622/0.6211, allocations: 3.563 MB / 0.7988 GB, free: 28.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.6214, allocations: 382.9 kB / 0.7991 GB, free: 28.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/0.6228, allocations: 0.4969 MB / 0.7996 GB, free: 28.71 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.6393, allocations: 8.894 MB / 0.8083 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.6395, allocations: 29.06 kB / 0.8083 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006397/0.6401, allocations: 217.8 kB / 0.8085 GB, free: 27.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002121/0.6423, allocations: 0.6329 MB / 0.8092 GB, free: 27.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01104/0.6533, allocations: 7.014 MB / 0.816 GB, free: 25.9 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0397/0.693, allocations: 40.33 MB / 0.8554 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.6968, allocations: 2.89 MB / 0.8582 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003227/0.7, allocations: 2.662 MB / 0.8608 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002097/0.7003, allocations: 30.12 kB / 0.8608 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/0.7003, allocations: 69.16 kB / 0.8609 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 4.238e-06/0.7003, allocations: 4 kB / 0.8609 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.5138/1.214, allocations: 74.74 MB / 0.9339 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/1.214, allocations: 94.73 kB / 0.934 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006481/1.221, allocations: 2.352 MB / 0.9363 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/1.222, allocations: 97.7 kB / 0.9364 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002429/1.224, allocations: 2.338 MB / 0.9387 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002463/1.227, allocations: 1.436 MB / 0.9401 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/1.23, allocations: 0.7215 MB / 0.9408 GB, free: 5.223 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.23, allocations: 309 kB / 0.9411 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007077/1.237, allocations: 2.999 MB / 0.944 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008531/1.246, allocations: 3.841 MB / 0.9478 GB, free: 13.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0178/1.263, allocations: 7.385 MB / 0.955 GB, free: 6.133 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.469e-05/1.263, allocations: 8 kB / 0.955 GB, free: 6.125 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.05559/1.319, allocations: 12.56 MB / 0.9672 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/1.319, allocations: 16 kB / 0.9672 GB, free: 9.758 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.03e-05/1.319, allocations: 24 kB / 0.9673 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02804/1.347, allocations: 6.059 MB / 0.9732 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/1.35, allocations: 496.2 kB / 0.9737 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08786/1.438, allocations: 73.04 MB / 1.045 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004071/1.442, allocations: 223.8 kB / 1.045 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007952/1.442, allocations: 148 kB / 1.045 GB, free: 6.723 MB / 0.7637 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.004153/1.447, allocations: 1.993 MB / 1.047 GB, free: 4.754 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.448, allocations: 391.4 kB / 1.048 GB, free: 4.367 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3/1.748, allocations: 12.23 MB / 1.06 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/1.748, allocations: 40.06 kB / 1.06 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000169/1.748, allocations: 50.72 kB / 1.06 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-05/1.748, allocations: 24.23 kB / 1.06 GB, free: 268.8 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04347/1.791, allocations: 19.13 MB / 1.078 GB, free: 263.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/1.792, allocations: 7.219 kB / 1.078 GB, free: 263.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/1.793, allocations: 285.3 kB / 1.079 GB, free: 263.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01984/1.813, allocations: 5.632 MB / 1.084 GB, free: 262.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006035/1.814, allocations: 82.88 kB / 1.084 GB, free: 262.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07119/1.885, allocations: 70.65 MB / 1.153 GB, free: 200.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.164e-05/1.885, allocations: 14.05 kB / 1.153 GB, free: 200.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05175/1.937, allocations: 15.62 MB / 1.169 GB, free: 185.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004142/1.941, allocations: 1.05 MB / 1.17 GB, free: 184.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001831/1.943, allocations: 79.75 kB / 1.17 GB, free: 184.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005402/1.948, allocations: 219.7 kB / 1.17 GB, free: 183.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002218/1.95, allocations: 402.2 kB / 1.17 GB, free: 183.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007354/1.951, allocations: 112 kB / 1.17 GB, free: 183.4 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003891/1.955, allocations: 1.556 MB / 1.172 GB, free: 181.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.81e-07/1.955, allocations: 0 / 1.172 GB, free: 181.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.009884/1.965, allocations: 1.859 MB / 1.174 GB, free: 180 MB / 0.7637 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.001154/1.966, allocations: 223.3 kB / 1.174 GB, free: 179.8 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.02532/1.991, allocations: 14.98 MB / 1.189 GB, free: 164.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.991, allocations: 5 kB / 1.189 GB, free: 164.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0129/2.004, allocations: 8.352 MB / 1.197 GB, free: 155.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006478/2.011, allocations: 1.196 MB / 1.198 GB, free: 154.7 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0197/2.031, allocations: 14.81 MB / 1.212 GB, free: 139.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004728/2.035, allocations: 4.091 MB / 1.216 GB, free: 135.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002613/2.038, allocations: 0.6669 MB / 1.217 GB, free: 135.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/2.039, allocations: 179.4 kB / 1.217 GB, free: 135 MB / 0.7637 GB Notification: Performance of SimCode: time 5.21e-07/2.039, allocations: 0 / 1.217 GB, free: 135 MB / 0.7637 GB Notification: Performance of Templates: time 0.1386/2.177, allocations: 112.4 MB / 1.327 GB, free: 23.68 MB / 0.7637 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)