Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.001531, allocations: 105.6 kB / 15.98 MB, free: 6.34 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.001531/0.001532, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002565/0.002565, allocations: 286.1 kB / 291 MB, free: 14.62 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.181/1.181, allocations: 178.6 MB / 0.5076 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002773/0.002773, allocations: 95.84 kB / 0.6066 GB, free: 9.68 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1651, allocations: 89.13 MB / 0.6936 GB, free: 472 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.285/0.4502, allocations: 40.78 MB / 0.7335 GB, free: 31.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01889/0.4691, allocations: 14.97 MB / 0.7481 GB, free: 21.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00389/0.473, allocations: 167.9 kB / 0.7482 GB, free: 21.54 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.009081/0.4821, allocations: 4.168 MB / 0.7523 GB, free: 19.1 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006511/0.4886, allocations: 2.587 MB / 0.7548 GB, free: 17.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.006575/0.4952, allocations: 2.893 MB / 0.7577 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01264/0.5079, allocations: 11.44 MB / 0.7688 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02018/0.5281, allocations: 14.85 MB / 0.7833 GB, free: 4.297 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008062/0.5362, allocations: 4.891 MB / 0.7881 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00956/0.5458, allocations: 5.64 MB / 0.7936 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003806/0.5496, allocations: 0.9536 MB / 0.7946 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007149/0.5568, allocations: 2.038 MB / 0.7966 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00715/0.564, allocations: 3.701 MB / 0.8002 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01177/0.5758, allocations: 4.295 MB / 0.8044 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01572/0.5915, allocations: 12.16 MB / 0.8162 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5916, allocations: 4 kB / 0.8162 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.5916, allocations: 0 / 0.8162 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003702/0.5919, allocations: 0 / 0.8162 GB, free: 15.13 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02004/0.612, allocations: 7.608 MB / 0.8237 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.612, allocations: 12.03 kB / 0.8237 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.6228, allocations: 1.511 MB / 0.8252 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009036/0.6319, allocations: 4.213 MB / 0.8293 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004669/0.6324, allocations: 452.5 kB / 0.8297 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002158/0.6346, allocations: 0.59 MB / 0.8303 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/0.6586, allocations: 10.69 MB / 0.8407 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002514/0.6589, allocations: 27.69 kB / 0.8407 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001701/0.6606, allocations: 267.9 kB / 0.841 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002962/0.6636, allocations: 0.7729 MB / 0.8417 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01806/0.6817, allocations: 8.561 MB / 0.8501 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07182/0.7535, allocations: 46.86 MB / 0.8959 GB, free: 9.254 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006995/0.7605, allocations: 4.302 MB / 0.9001 GB, free: 4.938 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006227/0.7668, allocations: 3.702 MB / 0.9037 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.7673, allocations: 34.78 kB / 0.9037 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.7674, allocations: 77.34 kB / 0.9038 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=353): time 9.037e-06/0.7675, allocations: 0 / 0.9038 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of matching and sorting (n=578): time 0.7546/1.522, allocations: 122.8 MB / 1.024 GB, free: 203.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/1.522, allocations: 112.8 kB / 1.024 GB, free: 203.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004126/1.526, allocations: 2.683 MB / 1.026 GB, free: 202.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001092/1.527, allocations: 123.9 kB / 1.027 GB, free: 202.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001635/1.529, allocations: 2.669 MB / 1.029 GB, free: 200.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002189/1.531, allocations: 1.955 MB / 1.031 GB, free: 198.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/1.533, allocations: 0.9248 MB / 1.032 GB, free: 198.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.882e-05/1.533, allocations: 306.4 kB / 1.032 GB, free: 198.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005716/1.539, allocations: 4.079 MB / 1.036 GB, free: 196.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006903/1.546, allocations: 5.021 MB / 1.041 GB, free: 193.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/1.561, allocations: 9.845 MB / 1.051 GB, free: 188.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.153e-05/1.561, allocations: 15.53 kB / 1.051 GB, free: 188.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03489/1.596, allocations: 17 MB / 1.067 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/1.596, allocations: 13.88 kB / 1.067 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/1.596, allocations: 22.66 kB / 1.067 GB, free: 181.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02749/1.623, allocations: 9.151 MB / 1.076 GB, free: 174.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/1.625, allocations: 0.5226 MB / 1.077 GB, free: 173.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08242/1.708, allocations: 77.03 MB / 1.152 GB, free: 95.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/1.713, allocations: 275.8 kB / 1.152 GB, free: 94.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006985/1.713, allocations: 195.9 kB / 1.153 GB, free: 94.73 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003631/1.717, allocations: 2.425 MB / 1.155 GB, free: 92.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/1.718, allocations: 470.5 kB / 1.155 GB, free: 91.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0324/1.751, allocations: 16.82 MB / 1.172 GB, free: 74.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/1.751, allocations: 56 kB / 1.172 GB, free: 74.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000157/1.751, allocations: 79.98 kB / 1.172 GB, free: 74.74 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.501e-05/1.751, allocations: 23.91 kB / 1.172 GB, free: 74.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04526/1.796, allocations: 25.65 MB / 1.197 GB, free: 48.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/1.796, allocations: 12.19 kB / 1.197 GB, free: 48.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001687/1.798, allocations: 323.5 kB / 1.197 GB, free: 48.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02611/1.824, allocations: 8.331 MB / 1.205 GB, free: 40.12 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009837/1.825, allocations: 112.5 kB / 1.206 GB, free: 40.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3406/2.166, allocations: 73.87 MB / 1.278 GB, free: 218.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/2.166, allocations: 12.16 kB / 1.278 GB, free: 218.3 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03585/2.202, allocations: 21.57 MB / 1.299 GB, free: 217 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/2.204, allocations: 1.361 MB / 1.3 GB, free: 216.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007835/2.205, allocations: 107.4 kB / 1.3 GB, free: 216.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002949/2.208, allocations: 293.7 kB / 1.3 GB, free: 216.9 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001574/2.21, allocations: 0.5169 MB / 1.301 GB, free: 216.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003576/2.21, allocations: 143 kB / 1.301 GB, free: 216.8 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001974/2.212, allocations: 1.775 MB / 1.303 GB, free: 216.2 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/2.212, allocations: 2.812 kB / 1.303 GB, free: 216.2 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006507/2.218, allocations: 2.468 MB / 1.305 GB, free: 215.9 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (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],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006075/2.219, allocations: 252.7 kB / 1.306 GB, free: 215.7 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.03304/2.252, allocations: 18.66 MB / 1.324 GB, free: 209 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/2.252, allocations: 2.344 kB / 1.324 GB, free: 209 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.01706/2.269, allocations: 9.354 MB / 1.333 GB, free: 204.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006909/2.276, allocations: 1.39 MB / 1.334 GB, free: 204 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02434/2.301, allocations: 19.67 MB / 1.353 GB, free: 193.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005664/2.306, allocations: 4.991 MB / 1.358 GB, free: 192.1 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009528/2.307, allocations: 212.1 kB / 1.359 GB, free: 192.1 MB / 0.7637 GB Notification: Performance of SimCode: time 7.81e-07/2.307, allocations: 0 / 1.359 GB, free: 192.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.5869/2.894, allocations: 474.6 MB / 1.822 GB, free: 3.188 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)