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.001335/0.001335, allocations: 102.1 kB / 16.41 MB, free: 6.5 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.001184/0.001184, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002236/0.002236, allocations: 285 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.967/0.967, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.484, allocations: 86.98 MB / 0.7671 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.046/0.53, allocations: 41.17 MB / 0.8073 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02681/0.5569, allocations: 15.08 MB / 0.822 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005337/0.5623, allocations: 191 kB / 0.8222 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01195/0.5743, allocations: 4.474 MB / 0.8265 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009333/0.5836, allocations: 2.927 MB / 0.8294 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008671/0.5923, allocations: 3.152 MB / 0.8325 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0153/0.6077, allocations: 11.42 MB / 0.8436 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01992/0.6276, allocations: 12.47 MB / 0.8558 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008838/0.6365, allocations: 4.904 MB / 0.8606 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01022/0.6468, allocations: 5.386 MB / 0.8659 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.003228/0.65, allocations: 0.9492 MB / 0.8668 GB, free: 13.52 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00619/0.6562, allocations: 2.04 MB / 0.8688 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00627/0.6626, allocations: 3.695 MB / 0.8724 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.009774/0.6724, allocations: 4.295 MB / 0.8766 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01837/0.6908, allocations: 14.28 MB / 0.8905 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.585e-06/0.6908, allocations: 0 / 0.8905 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6908, allocations: 0 / 0.8905 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0004748/0.6913, allocations: 4 kB / 0.8905 GB, free: 5.145 MB / 0.6544 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.0235/0.7148, allocations: 7.608 MB / 0.898 GB, free: 13.45 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7149, allocations: 8.031 kB / 0.898 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.7262, allocations: 1.518 MB / 0.8995 GB, free: 11.92 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/0.7364, allocations: 4.443 MB / 0.9038 GB, free: 7.398 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000479/0.7369, allocations: 456.5 kB / 0.9042 GB, free: 6.949 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/0.7393, allocations: 0.5939 MB / 0.9048 GB, free: 6.355 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02423/0.7636, allocations: 10.69 MB / 0.9153 GB, free: 11.29 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002888/0.7639, allocations: 27.78 kB / 0.9153 GB, free: 11.26 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00197/0.7659, allocations: 263.9 kB / 0.9155 GB, free: 11 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00313/0.769, allocations: 0.7807 MB / 0.9163 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/0.7878, allocations: 8.561 MB / 0.9247 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4582/1.246, allocations: 46.53 MB / 0.9701 GB, free: 172.6 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006877/1.253, allocations: 4.31 MB / 0.9743 GB, free: 172.5 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005645/1.259, allocations: 3.711 MB / 0.9779 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/1.259, allocations: 37.77 kB / 0.978 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.259, allocations: 74.25 kB / 0.978 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 5.44e-06/1.259, allocations: 0 / 0.978 GB, free: 172.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.4812/1.74, allocations: 122.8 MB / 1.098 GB, free: 67.66 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/1.74, allocations: 119.9 kB / 1.098 GB, free: 67.53 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003729/1.744, allocations: 2.677 MB / 1.101 GB, free: 64.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.001122/1.745, allocations: 121.7 kB / 1.101 GB, free: 64.73 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.747, allocations: 2.683 MB / 1.103 GB, free: 62.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.002262/1.749, allocations: 1.953 MB / 1.105 GB, free: 60.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002799/1.752, allocations: 0.9281 MB / 1.106 GB, free: 59.16 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.061e-05/1.752, allocations: 301.1 kB / 1.106 GB, free: 58.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005388/1.757, allocations: 4.079 MB / 1.11 GB, free: 54.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006098/1.763, allocations: 5.023 MB / 1.115 GB, free: 49.43 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01243/1.776, allocations: 9.84 MB / 1.125 GB, free: 39.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.932e-05/1.776, allocations: 12 kB / 1.125 GB, free: 39.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03805/1.814, allocations: 17 MB / 1.142 GB, free: 22.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.424e-05/1.814, allocations: 12 kB / 1.142 GB, free: 22.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/1.814, allocations: 24 kB / 1.142 GB, free: 22.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03121/1.845, allocations: 9.082 MB / 1.151 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/1.848, allocations: 0.5187 MB / 1.151 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1109/1.959, allocations: 76.97 MB / 1.226 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005265/1.964, allocations: 279.9 kB / 1.226 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.965, allocations: 192 kB / 1.227 GB, free: 13.42 MB / 0.8106 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.00501/1.97, allocations: 2.431 MB / 1.229 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/1.972, allocations: 474.4 kB / 1.229 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04185/2.014, allocations: 16.81 MB / 1.246 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/2.014, allocations: 56 kB / 1.246 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002146/2.014, allocations: 79.98 kB / 1.246 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000104/2.014, allocations: 27.84 kB / 1.246 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06604/2.08, allocations: 25.65 MB / 1.271 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.867e-05/2.08, allocations: 8 kB / 1.271 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/2.082, allocations: 319.5 kB / 1.271 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03096/2.113, allocations: 8.269 MB / 1.279 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001276/2.115, allocations: 112 kB / 1.28 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5078/2.623, allocations: 73.83 MB / 1.352 GB, free: 271.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/2.623, allocations: 12.72 kB / 1.352 GB, free: 271.7 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03821/2.661, allocations: 21.55 MB / 1.373 GB, free: 257.4 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003441/2.664, allocations: 1.36 MB / 1.374 GB, free: 256.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/2.665, allocations: 115.6 kB / 1.374 GB, free: 256.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/2.669, allocations: 287.2 kB / 1.374 GB, free: 256 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00192/2.671, allocations: 0.5195 MB / 1.375 GB, free: 255.5 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003945/2.671, allocations: 140 kB / 1.375 GB, free: 255.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002172/2.674, allocations: 1.784 MB / 1.377 GB, free: 253.5 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/2.674, allocations: 0 / 1.377 GB, free: 253.5 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.006994/2.681, allocations: 2.461 MB / 1.379 GB, free: 251.1 MB / 0.8731 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.0008291/2.681, allocations: 248.8 kB / 1.379 GB, free: 250.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.02215/2.704, allocations: 14.54 MB / 1.394 GB, free: 236.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.4e-05/2.704, allocations: 0 / 1.394 GB, free: 236.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01629/2.72, allocations: 9.356 MB / 1.403 GB, free: 226.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008861/2.729, allocations: 1.383 MB / 1.404 GB, free: 225.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03327/2.762, allocations: 16.49 MB / 1.42 GB, free: 208.8 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00835/2.771, allocations: 4.99 MB / 1.425 GB, free: 203.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001301/2.772, allocations: 219.4 kB / 1.425 GB, free: 203.6 MB / 0.8731 GB Notification: Performance of SimCode: time 1.202e-06/2.772, allocations: 0 / 1.425 GB, free: 203.6 MB / 0.8731 GB Notification: Performance of Templates: time 0.6945/3.466, allocations: 475 MB / 1.889 GB, free: 43.3 MB / 0.8731 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)