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.0007815/0.0007812, allocations: 90.42 kB / 16.67 MB, free: 6.594 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.000808/0.0008081, allocations: 182.4 kB / 17.58 MB, free: 6.188 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.391/1.391, allocations: 223.3 MB / 241.6 MB, free: 14.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7214/0.7214, allocations: 115.5 MB / 408.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 12 kB / 496.5 MB, free: 15.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.429/0.4294, allocations: 77.51 MB / 0.5606 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.0367/0.4661, allocations: 39.84 MB / 0.5995 GB, free: 8.098 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02463/0.4908, allocations: 14.94 MB / 0.6141 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006385/0.4972, allocations: 159.6 kB / 0.6142 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003184/0.5004, allocations: 0.8606 MB / 0.6151 GB, free: 11.5 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008834/0.5093, allocations: 2.638 MB / 0.6177 GB, free: 8.871 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007989/0.5173, allocations: 2.702 MB / 0.6203 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01868/0.536, allocations: 16 MB / 0.6359 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02574/0.5618, allocations: 15.79 MB / 0.6513 GB, free: 6.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007991/0.5698, allocations: 3.54 MB / 0.6548 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008838/0.5787, allocations: 4.753 MB / 0.6594 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.002197/0.5809, allocations: 400 kB / 0.6598 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005802/0.5868, allocations: 1.821 MB / 0.6616 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00549/0.5923, allocations: 2.996 MB / 0.6645 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008391/0.6007, allocations: 3.523 MB / 0.668 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01469/0.6154, allocations: 11.8 MB / 0.6795 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6154, allocations: 0 / 0.6795 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.556e-06/0.6154, allocations: 0 / 0.6795 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0005072/0.616, allocations: 4 kB / 0.6795 GB, free: 9.32 MB / 0.5137 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.01834/0.6343, allocations: 6.158 MB / 0.6855 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.6344, allocations: 12.03 kB / 0.6855 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.6459, allocations: 1.515 MB / 0.687 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.6572, allocations: 4.209 MB / 0.6911 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006914/0.658, allocations: 456.5 kB / 0.6915 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003668/0.6617, allocations: 0.5939 MB / 0.6921 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02963/0.6913, allocations: 10.68 MB / 0.7026 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004285/0.6918, allocations: 35.62 kB / 0.7026 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002668/0.6945, allocations: 267.9 kB / 0.7028 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003232/0.6977, allocations: 0.769 MB / 0.7036 GB, free: 92 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02088/0.7186, allocations: 8.561 MB / 0.712 GB, free: 7.508 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4189/1.138, allocations: 47 MB / 0.7579 GB, free: 136.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007528/1.145, allocations: 4.323 MB / 0.7621 GB, free: 136.3 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006338/1.152, allocations: 3.679 MB / 0.7657 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003609/1.152, allocations: 43.66 kB / 0.7657 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.469e-05/1.152, allocations: 76.33 kB / 0.7658 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 5.019e-06/1.152, allocations: 3.938 kB / 0.7658 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.5006/1.653, allocations: 128.1 MB / 0.8909 GB, free: 30.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.967e-05/1.653, allocations: 111.9 kB / 0.891 GB, free: 30.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004072/1.657, allocations: 2.692 MB / 0.8936 GB, free: 27.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001301/1.658, allocations: 117.7 kB / 0.8937 GB, free: 27.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001452/1.66, allocations: 2.684 MB / 0.8964 GB, free: 25.01 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002429/1.662, allocations: 1.961 MB / 0.8983 GB, free: 23.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/1.663, allocations: 438 kB / 0.8987 GB, free: 22.63 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.252e-05/1.663, allocations: 305.1 kB / 0.899 GB, free: 22.33 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005759/1.669, allocations: 4.083 MB / 0.903 GB, free: 18.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006457/1.676, allocations: 5.008 MB / 0.9079 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01314/1.689, allocations: 9.851 MB / 0.9175 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.392e-05/1.689, allocations: 12 kB / 0.9175 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04359/1.732, allocations: 16.99 MB / 0.9341 GB, free: 1.547 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.523e-05/1.733, allocations: 15.94 kB / 0.9341 GB, free: 1.531 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.99e-05/1.733, allocations: 24.88 kB / 0.9341 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03398/1.767, allocations: 9.084 MB / 0.943 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002626/1.769, allocations: 0.5304 MB / 0.9435 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4211/2.19, allocations: 70.7 MB / 1.013 GB, free: 202.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006361/2.197, allocations: 278.5 kB / 1.013 GB, free: 202.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001093/2.198, allocations: 189.1 kB / 1.013 GB, free: 202.8 MB / 0.6544 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.005983/2.204, allocations: 2.422 MB / 1.015 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001301/2.205, allocations: 473.6 kB / 1.016 GB, free: 201.7 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04093/2.246, allocations: 16.82 MB / 1.032 GB, free: 195 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.839e-05/2.246, allocations: 55.09 kB / 1.032 GB, free: 195 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002657/2.247, allocations: 72 kB / 1.032 GB, free: 195 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001091/2.247, allocations: 24.75 kB / 1.032 GB, free: 195 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05036/2.297, allocations: 25.7 MB / 1.057 GB, free: 185.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.619e-05/2.297, allocations: 7.406 kB / 1.057 GB, free: 185.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/2.299, allocations: 321.3 kB / 1.058 GB, free: 185 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02698/2.326, allocations: 8.268 MB / 1.066 GB, free: 182.9 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00131/2.327, allocations: 108 kB / 1.066 GB, free: 182.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08236/2.41, allocations: 67.59 MB / 1.132 GB, free: 114.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/2.41, allocations: 15.88 kB / 1.132 GB, free: 114.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04199/2.452, allocations: 21.57 MB / 1.153 GB, free: 92.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003674/2.455, allocations: 1.362 MB / 1.154 GB, free: 90.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001772/2.457, allocations: 104 kB / 1.154 GB, free: 90.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004416/2.462, allocations: 291.6 kB / 1.155 GB, free: 90.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00239/2.464, allocations: 0.5221 MB / 1.155 GB, free: 90.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008017/2.465, allocations: 142.6 kB / 1.155 GB, free: 89.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002841/2.468, allocations: 1.776 MB / 1.157 GB, free: 88.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.02e-07/2.468, allocations: 4 kB / 1.157 GB, free: 88.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009175/2.477, allocations: 2.461 MB / 1.16 GB, free: 85.65 MB / 0.6544 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.001211/2.478, allocations: 253.4 kB / 1.16 GB, free: 85.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02449/2.503, allocations: 14.51 MB / 1.174 GB, free: 70.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/2.503, allocations: 0 / 1.174 GB, free: 70.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01754/2.52, allocations: 9.399 MB / 1.183 GB, free: 61.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01178/2.532, allocations: 1.276 MB / 1.184 GB, free: 59.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03135/2.563, allocations: 19.73 MB / 1.204 GB, free: 40.06 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007283/2.571, allocations: 4.987 MB / 1.209 GB, free: 35.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/2.572, allocations: 211.4 kB / 1.209 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/2.572, allocations: 0 / 1.209 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of Templates: time 1.033/3.605, allocations: 473.7 MB / 1.671 GB, free: 81.78 MB / 0.6856 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)