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.0009752/0.0009752, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009463/0.0009463, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 275 kB / 291.4 MB, free: 1.965 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9599/0.9599, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004554, allocations: 14.41 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 88.54 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03649/0.2547, allocations: 34.24 MB / 0.7179 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02128/0.2761, allocations: 12.43 MB / 0.7301 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004763/0.2809, allocations: 147.1 kB / 0.7302 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.2846, allocations: 0.7441 MB / 0.7309 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00983/0.2944, allocations: 2.064 MB / 0.7329 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006431/0.3009, allocations: 1.619 MB / 0.7345 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01478/0.3157, allocations: 10.65 MB / 0.7449 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02127/0.337, allocations: 11.44 MB / 0.7561 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007275/0.3443, allocations: 2.965 MB / 0.759 GB, free: 2.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.4274/0.7717, allocations: 3.763 MB / 0.7627 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002681/0.7745, allocations: 318.9 kB / 0.763 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00512/0.7796, allocations: 0.7808 MB / 0.7637 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005943/0.7856, allocations: 2.453 MB / 0.7661 GB, free: 22.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.004822/0.7904, allocations: 1.176 MB / 0.7673 GB, free: 21.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0158/0.8062, allocations: 9.732 MB / 0.7768 GB, free: 21.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.8063, allocations: 2.469 kB / 0.7768 GB, free: 21.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8063, allocations: 0 / 0.7768 GB, free: 21.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004927/0.8068, allocations: 0 / 0.7768 GB, free: 21.57 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.01788/0.8247, allocations: 5.198 MB / 0.7819 GB, free: 19.37 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.8247, allocations: 11.5 kB / 0.7819 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009479/0.8342, allocations: 1.308 MB / 0.7832 GB, free: 19.04 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008858/0.8431, allocations: 3.469 MB / 0.7865 GB, free: 18.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.8437, allocations: 383.6 kB / 0.7869 GB, free: 18.35 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002606/0.8463, allocations: 0.4921 MB / 0.7874 GB, free: 18.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.868, allocations: 8.849 MB / 0.796 GB, free: 16.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.8682, allocations: 24.09 kB / 0.796 GB, free: 16.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.8693, allocations: 224.8 kB / 0.7963 GB, free: 16.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002009/0.8713, allocations: 0.6346 MB / 0.7969 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01816/0.8894, allocations: 6.97 MB / 0.8037 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05442/0.9439, allocations: 40.41 MB / 0.8432 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005221/0.9492, allocations: 2.891 MB / 0.846 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004634/0.9539, allocations: 2.661 MB / 0.8486 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/0.9541, allocations: 24.22 kB / 0.8486 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.727e-05/0.9542, allocations: 71.36 kB / 0.8487 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=265): time 4.499e-06/0.9542, allocations: 1.969 kB / 0.8487 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of matching and sorting (n=424): time 0.2807/1.235, allocations: 77.42 MB / 0.9243 GB, free: 36 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/1.235, allocations: 94.73 kB / 0.9244 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004103/1.239, allocations: 2.332 MB / 0.9266 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.001238/1.24, allocations: 96 kB / 0.9267 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002088/1.243, allocations: 2.339 MB / 0.929 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002828/1.245, allocations: 1.433 MB / 0.9304 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004262/1.246, allocations: 88 kB / 0.9305 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0003946/1.246, allocations: 487.2 kB / 0.931 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005544/1.252, allocations: 2.98 MB / 0.9339 GB, free: 6.152 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006488/1.258, allocations: 3.831 MB / 0.9376 GB, free: 2 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006935/1.265, allocations: 3.55 MB / 0.9411 GB, free: 14.46 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.297e-05/1.265, allocations: 4 kB / 0.9411 GB, free: 14.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03261/1.298, allocations: 12.49 MB / 0.9533 GB, free: 2.172 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.846e-05/1.298, allocations: 18.03 kB / 0.9533 GB, free: 2.156 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.722e-05/1.298, allocations: 24 kB / 0.9533 GB, free: 2.133 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02232/1.32, allocations: 6.022 MB / 0.9592 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/1.323, allocations: 490.4 kB / 0.9597 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08601/1.409, allocations: 67.2 MB / 1.025 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004742/1.414, allocations: 219.8 kB / 1.026 GB, free: 5.301 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001071/1.415, allocations: 156 kB / 1.026 GB, free: 5.148 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005385/1.42, allocations: 1.987 MB / 1.028 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001253/1.422, allocations: 391.4 kB / 1.028 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02855/1.45, allocations: 12.18 MB / 1.04 GB, free: 6.68 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.583e-05/1.45, allocations: 40 kB / 1.04 GB, free: 6.641 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001766/1.45, allocations: 52 kB / 1.04 GB, free: 6.59 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.447e-05/1.451, allocations: 23.88 kB / 1.04 GB, free: 6.566 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4004/1.851, allocations: 19.11 MB / 1.059 GB, free: 263.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-05/1.851, allocations: 5.469 kB / 1.059 GB, free: 263.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.853, allocations: 284.9 kB / 1.059 GB, free: 263.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02012/1.873, allocations: 5.573 MB / 1.064 GB, free: 262.9 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007151/1.874, allocations: 78.44 kB / 1.064 GB, free: 262.9 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06355/1.937, allocations: 64.81 MB / 1.128 GB, free: 217.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.937, allocations: 11.62 kB / 1.128 GB, free: 217.7 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02631/1.964, allocations: 15.55 MB / 1.143 GB, free: 205 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002533/1.966, allocations: 1.055 MB / 1.144 GB, free: 203.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007633/1.967, allocations: 80 kB / 1.144 GB, free: 203.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002212/1.969, allocations: 217.3 kB / 1.144 GB, free: 203.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/1.97, allocations: 394.4 kB / 1.145 GB, free: 203.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002688/1.971, allocations: 115.9 kB / 1.145 GB, free: 203.1 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001984/1.973, allocations: 1.537 MB / 1.146 GB, free: 201.6 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.6e-07/1.973, allocations: 0 / 1.146 GB, free: 201.6 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.007073/1.98, allocations: 1.859 MB / 1.148 GB, free: 199.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000658/1.98, allocations: 216.7 kB / 1.148 GB, free: 199.5 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01825/1.999, allocations: 12.19 MB / 1.16 GB, free: 187 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.203e-05/1.999, allocations: 3.906 kB / 1.16 GB, free: 187 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01429/2.013, allocations: 8.37 MB / 1.168 GB, free: 178.3 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005915/2.019, allocations: 1.121 MB / 1.169 GB, free: 177.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/2.038, allocations: 14.27 MB / 1.183 GB, free: 162.9 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004733/2.043, allocations: 4.09 MB / 1.187 GB, free: 158.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002923/2.046, allocations: 0.6669 MB / 1.188 GB, free: 158.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/2.047, allocations: 179.4 kB / 1.188 GB, free: 157.9 MB / 0.7637 GB Notification: Performance of SimCode: time 1.573e-06/2.047, allocations: 0 / 1.188 GB, free: 157.9 MB / 0.7637 GB Notification: Performance of Templates: time 0.1368/2.183, allocations: 102.6 MB / 1.288 GB, free: 56.38 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)