Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001233/0.001233, allocations: 105.1 kB / 15.98 MB, free: 6.348 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.001286/0.001287, allocations: 195.9 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7983/0.7983, allocations: 122.9 MB / 413.6 MB, free: 64 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 63.91 kB / 0.4906 GB, free: 7.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3734, allocations: 77.92 MB / 0.5667 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.03772/0.4112, allocations: 40.79 MB / 0.6066 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02524/0.4365, allocations: 14.97 MB / 0.6212 GB, free: 3.109 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006388/0.4429, allocations: 167.1 kB / 0.6213 GB, free: 2.945 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01248/0.4554, allocations: 4.168 MB / 0.6254 GB, free: 14.79 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009716/0.4652, allocations: 2.579 MB / 0.6279 GB, free: 12.21 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008769/0.474, allocations: 2.908 MB / 0.6308 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01528/0.4893, allocations: 11.43 MB / 0.6419 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02517/0.5145, allocations: 14.85 MB / 0.6564 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009764/0.5243, allocations: 4.894 MB / 0.6612 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009436/0.5337, allocations: 5.639 MB / 0.6667 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003662/0.5374, allocations: 0.9531 MB / 0.6677 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006281/0.5437, allocations: 2.044 MB / 0.6697 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.007078/0.5508, allocations: 3.688 MB / 0.6733 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01085/0.5617, allocations: 4.299 MB / 0.6775 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02197/0.5837, allocations: 14.29 MB / 0.6914 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.5837, allocations: 0 / 0.6914 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.507e-06/0.5838, allocations: 0 / 0.6914 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0006658/0.5844, allocations: 0 / 0.6914 GB, free: 10.95 MB / 0.5294 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.02669/0.6111, allocations: 7.592 MB / 0.6988 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6112, allocations: 12.62 kB / 0.6988 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.6226, allocations: 1.518 MB / 0.7003 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009445/0.632, allocations: 4.205 MB / 0.7044 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005349/0.6326, allocations: 456.5 kB / 0.7049 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002606/0.6352, allocations: 0.5977 MB / 0.7054 GB, free: 12.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02506/0.6603, allocations: 10.69 MB / 0.7159 GB, free: 1.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002935/0.6606, allocations: 31.77 kB / 0.7159 GB, free: 1.309 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001908/0.6626, allocations: 255.9 kB / 0.7162 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002879/0.6654, allocations: 0.7768 MB / 0.7169 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/0.6843, allocations: 8.557 MB / 0.7253 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4042/1.088, allocations: 46.86 MB / 0.771 GB, free: 126.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006285/1.095, allocations: 4.3 MB / 0.7752 GB, free: 124.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005564/1.1, allocations: 3.703 MB / 0.7789 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005071/1.101, allocations: 35.78 kB / 0.7789 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.853e-05/1.101, allocations: 73.19 kB / 0.779 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 8.506e-06/1.101, allocations: 0 / 0.779 GB, free: 123.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4556/1.557, allocations: 122.8 MB / 0.8989 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/1.557, allocations: 111.9 kB / 0.899 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/1.561, allocations: 2.681 MB / 0.9016 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001413/1.562, allocations: 129.7 kB / 0.9017 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001403/1.564, allocations: 2.674 MB / 0.9044 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002284/1.566, allocations: 1.953 MB / 0.9063 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003546/1.569, allocations: 0.9209 MB / 0.9072 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.334e-05/1.569, allocations: 305.1 kB / 0.9075 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005473/1.575, allocations: 4.079 MB / 0.9114 GB, free: 96 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007518/1.582, allocations: 5.019 MB / 0.9163 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/1.598, allocations: 9.855 MB / 0.926 GB, free: 0.5117 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.731e-05/1.598, allocations: 4 kB / 0.926 GB, free: 0.5078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04372/1.641, allocations: 16.99 MB / 0.9426 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.476e-05/1.641, allocations: 16 kB / 0.9426 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.121e-05/1.641, allocations: 24.12 kB / 0.9426 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03357/1.675, allocations: 9.151 MB / 0.9515 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/1.678, allocations: 0.5265 MB / 0.952 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4426/2.121, allocations: 77.02 MB / 1.027 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/2.126, allocations: 283.6 kB / 1.028 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/2.127, allocations: 190.7 kB / 1.028 GB, free: 213.5 MB / 0.67 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.00547/2.132, allocations: 2.42 MB / 1.03 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001393/2.134, allocations: 475.5 kB / 1.031 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03768/2.171, allocations: 16.82 MB / 1.047 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.039e-05/2.172, allocations: 60 kB / 1.047 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002158/2.172, allocations: 72.12 kB / 1.047 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/2.172, allocations: 28.69 kB / 1.047 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05018/2.222, allocations: 25.65 MB / 1.072 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.377e-05/2.222, allocations: 10.81 kB / 1.072 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/2.224, allocations: 319.5 kB / 1.072 GB, free: 191.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02696/2.251, allocations: 8.343 MB / 1.081 GB, free: 183.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/2.252, allocations: 112 kB / 1.081 GB, free: 183.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08403/2.336, allocations: 73.88 MB / 1.153 GB, free: 108.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/2.336, allocations: 15.94 kB / 1.153 GB, free: 108.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03769/2.374, allocations: 21.58 MB / 1.174 GB, free: 86.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003518/2.377, allocations: 1.351 MB / 1.175 GB, free: 84.78 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001592/2.379, allocations: 112 kB / 1.175 GB, free: 84.67 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004444/2.384, allocations: 283.6 kB / 1.176 GB, free: 84.39 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002457/2.386, allocations: 0.526 MB / 1.176 GB, free: 83.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007316/2.387, allocations: 144 kB / 1.176 GB, free: 83.72 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002278/2.389, allocations: 1.78 MB / 1.178 GB, free: 81.95 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/2.389, allocations: 0 / 1.178 GB, free: 81.95 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007728/2.397, allocations: 2.465 MB / 1.18 GB, free: 79.48 MB / 0.67 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.0009499/2.398, allocations: 235.9 kB / 1.181 GB, free: 79.25 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03122/2.429, allocations: 18.67 MB / 1.199 GB, free: 60.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/2.429, allocations: 4 kB / 1.199 GB, free: 60.41 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01688/2.446, allocations: 9.346 MB / 1.208 GB, free: 50.91 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/2.457, allocations: 1.377 MB / 1.209 GB, free: 49.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03423/2.491, allocations: 18.74 MB / 1.228 GB, free: 30.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007678/2.499, allocations: 4.892 MB / 1.232 GB, free: 25.87 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003588/2.503, allocations: 0.741 MB / 1.233 GB, free: 25.12 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009042/2.504, allocations: 199.4 kB / 1.233 GB, free: 24.93 MB / 0.67 GB Notification: Performance of SimCode: time 1.132e-06/2.504, allocations: 0 / 1.233 GB, free: 24.93 MB / 0.67 GB Notification: Performance of Templates: time 0.4482/2.952, allocations: 148.4 MB / 1.378 GB, free: 121.1 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)