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.001285/0.001285, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001229/0.001229, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.372/1.372, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00251/0.00251, allocations: 274 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 178.5 MB / 0.5079 GB, free: 12.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002733/0.002733, allocations: 99.83 kB / 0.6071 GB, free: 9.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 89.14 MB / 0.6942 GB, free: 24 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.2911/0.4668, allocations: 37.58 MB / 0.7309 GB, free: 33.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.4833, allocations: 13.04 MB / 0.7436 GB, free: 24.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002972/0.4863, allocations: 172.3 kB / 0.7438 GB, free: 24.33 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.007754/0.4941, allocations: 3.889 MB / 0.7476 GB, free: 21.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005474/0.4996, allocations: 2.483 MB / 0.75 GB, free: 20.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005524/0.5051, allocations: 2.706 MB / 0.7526 GB, free: 18.95 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009051/0.5142, allocations: 9.568 MB / 0.762 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.015/0.5293, allocations: 10.63 MB / 0.7723 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00707/0.5364, allocations: 3.976 MB / 0.7762 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007693/0.5441, allocations: 4.385 MB / 0.7805 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.003044/0.5471, allocations: 0.7701 MB / 0.7813 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.553, allocations: 1.777 MB / 0.783 GB, free: 6.312 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.005664/0.5586, allocations: 3.039 MB / 0.786 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009477/0.5681, allocations: 3.582 MB / 0.7895 GB, free: 2.777 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01796/0.5861, allocations: 11.78 MB / 0.801 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5862, allocations: 0 / 0.801 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5862, allocations: 0 / 0.801 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003735/0.5865, allocations: 1.438 kB / 0.801 GB, free: 12.84 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.0206/0.6072, allocations: 6.351 MB / 0.8072 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.6072, allocations: 16.03 kB / 0.8072 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009262/0.6165, allocations: 1.305 MB / 0.8085 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007949/0.6245, allocations: 3.564 MB / 0.8119 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.6248, allocations: 382.5 kB / 0.8123 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001593/0.6264, allocations: 0.4962 MB / 0.8128 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/0.6442, allocations: 8.882 MB / 0.8215 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.6444, allocations: 27.78 kB / 0.8215 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008324/0.6453, allocations: 219.9 kB / 0.8217 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/0.6477, allocations: 0.6343 MB / 0.8223 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.6627, allocations: 7.014 MB / 0.8292 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05509/0.7178, allocations: 40.33 MB / 0.8686 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004483/0.7223, allocations: 2.894 MB / 0.8714 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.7262, allocations: 2.667 MB / 0.874 GB, free: 64 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.7264, allocations: 30.08 kB / 0.874 GB, free: 32 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.239e-05/0.7265, allocations: 68.59 kB / 0.8741 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=265): time 4.458e-06/0.7265, allocations: 4 kB / 0.8741 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=424): time 0.3127/1.039, allocations: 74.71 MB / 0.947 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/1.039, allocations: 98.67 kB / 0.9471 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/1.043, allocations: 2.355 MB / 0.9494 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0007427/1.044, allocations: 101.7 kB / 0.9495 GB, free: 1.996 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001818/1.045, allocations: 2.337 MB / 0.9518 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001838/1.047, allocations: 1.44 MB / 0.9532 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/1.049, allocations: 0.7215 MB / 0.9539 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.049, allocations: 305.1 kB / 0.9542 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004787/1.054, allocations: 2.995 MB / 0.9571 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005674/1.059, allocations: 3.847 MB / 0.9609 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/1.071, allocations: 7.387 MB / 0.9681 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.153e-05/1.071, allocations: 8 kB / 0.9681 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03143/1.102, allocations: 12.56 MB / 0.9804 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.102, allocations: 16 kB / 0.9804 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.353e-05/1.102, allocations: 20 kB / 0.9804 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2786/1.381, allocations: 6.064 MB / 0.9863 GB, free: 216.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/1.383, allocations: 496.4 kB / 0.9868 GB, free: 216.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07002/1.453, allocations: 73.03 MB / 1.058 GB, free: 165.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/1.457, allocations: 215.3 kB / 1.058 GB, free: 165.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004084/1.458, allocations: 154.4 kB / 1.058 GB, free: 165.4 MB / 0.7325 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.003303/1.461, allocations: 1.997 MB / 1.06 GB, free: 164.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008523/1.462, allocations: 394.4 kB / 1.061 GB, free: 164.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02645/1.488, allocations: 12.24 MB / 1.073 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.722e-05/1.488, allocations: 41.28 kB / 1.073 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001346/1.488, allocations: 48.19 kB / 1.073 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.478e-05/1.488, allocations: 20.2 kB / 1.073 GB, free: 159.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03465/1.523, allocations: 19.14 MB / 1.092 GB, free: 151.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/1.523, allocations: 7.719 kB / 1.092 GB, free: 151.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.525, allocations: 291.6 kB / 1.092 GB, free: 151.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01847/1.543, allocations: 5.623 MB / 1.097 GB, free: 150 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006558/1.544, allocations: 80 kB / 1.097 GB, free: 149.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06241/1.606, allocations: 70.66 MB / 1.166 GB, free: 75.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.606, allocations: 15.88 kB / 1.166 GB, free: 75.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/1.633, allocations: 15.62 MB / 1.182 GB, free: 60.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/1.635, allocations: 1.043 MB / 1.183 GB, free: 59.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000872/1.636, allocations: 79.98 kB / 1.183 GB, free: 58.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/1.639, allocations: 219.7 kB / 1.183 GB, free: 58.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001376/1.641, allocations: 410.2 kB / 1.183 GB, free: 58.31 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003075/1.641, allocations: 108 kB / 1.183 GB, free: 58.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001862/1.643, allocations: 1.553 MB / 1.185 GB, free: 56.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.643, allocations: 0 / 1.185 GB, free: 56.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006052/1.649, allocations: 1.863 MB / 1.187 GB, free: 54.79 MB / 0.7325 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.0006108/1.65, allocations: 221.4 kB / 1.187 GB, free: 54.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.02345/1.673, allocations: 14.97 MB / 1.202 GB, free: 39.32 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.673, allocations: 8.062 kB / 1.202 GB, free: 39.32 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01256/1.686, allocations: 8.357 MB / 1.21 GB, free: 30.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005594/1.691, allocations: 1.19 MB / 1.211 GB, free: 29.53 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/1.709, allocations: 13.06 MB / 1.224 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003683/1.713, allocations: 4.157 MB / 1.228 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008599/1.714, allocations: 195.4 kB / 1.228 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of SimCode: time 1.082e-06/1.714, allocations: 0 / 1.228 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of Templates: time 1.309/3.022, allocations: 0.7437 GB / 1.972 GB, free: 182.2 MB / 0.795 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)