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.001099/0.001099, allocations: 100.1 kB / 16.27 MB, free: 6.418 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.001249/0.001249, allocations: 188.9 kB / 17.2 MB, free: 5.949 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.557/1.557, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7984/0.7984, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 59.91 kB / 0.4911 GB, free: 7.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.432, allocations: 77.93 MB / 0.5672 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04009/0.4721, allocations: 41.16 MB / 0.6074 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02798/0.5002, allocations: 15.09 MB / 0.6221 GB, free: 2.434 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007103/0.5073, allocations: 187.1 kB / 0.6223 GB, free: 2.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01501/0.5224, allocations: 4.457 MB / 0.6267 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.534, allocations: 2.799 MB / 0.6294 GB, free: 11.01 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01111/0.5452, allocations: 3.158 MB / 0.6325 GB, free: 7.848 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02076/0.566, allocations: 11.4 MB / 0.6436 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01911/0.5851, allocations: 12.63 MB / 0.656 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.5956, allocations: 4.802 MB / 0.6606 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.6074, allocations: 5.382 MB / 0.6659 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.005051/0.6125, allocations: 0.9492 MB / 0.6668 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008743/0.6213, allocations: 2.036 MB / 0.6688 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.008092/0.6294, allocations: 3.692 MB / 0.6724 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01325/0.6427, allocations: 4.295 MB / 0.6766 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02438/0.6671, allocations: 14.19 MB / 0.6905 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.6672, allocations: 0 / 0.6905 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6672, allocations: 4 kB / 0.6905 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0005895/0.6678, allocations: 4 kB / 0.6905 GB, free: 12.2 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.03105/0.6989, allocations: 7.585 MB / 0.6979 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.6989, allocations: 12.62 kB / 0.6979 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0131/0.7121, allocations: 1.518 MB / 0.6994 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/0.7237, allocations: 4.209 MB / 0.7035 GB, free: 14.71 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004511/0.7242, allocations: 456.5 kB / 0.7039 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003496/0.7277, allocations: 0.5977 MB / 0.7045 GB, free: 13.66 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03041/0.7581, allocations: 10.69 MB / 0.7149 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005966/0.7587, allocations: 31.7 kB / 0.715 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003415/0.7622, allocations: 263.9 kB / 0.7152 GB, free: 2.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003337/0.7655, allocations: 0.7768 MB / 0.716 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02147/0.787, allocations: 8.557 MB / 0.7243 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4385/1.226, allocations: 46.85 MB / 0.7701 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006482/1.232, allocations: 4.316 MB / 0.7743 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005205/1.237, allocations: 3.702 MB / 0.7779 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/1.238, allocations: 35.53 kB / 0.778 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/1.238, allocations: 75.81 kB / 0.778 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 7.444e-06/1.238, allocations: 1.344 kB / 0.778 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4774/1.715, allocations: 122.8 MB / 0.898 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/1.715, allocations: 115.9 kB / 0.8981 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/1.719, allocations: 2.681 MB / 0.9007 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001387/1.72, allocations: 129.7 kB / 0.9008 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/1.722, allocations: 2.675 MB / 0.9034 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002606/1.724, allocations: 1.953 MB / 0.9053 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001703/1.726, allocations: 0.9209 MB / 0.9062 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.954e-05/1.726, allocations: 309.1 kB / 0.9065 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004797/1.731, allocations: 4.075 MB / 0.9105 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007297/1.738, allocations: 5.019 MB / 0.9154 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01613/1.754, allocations: 9.851 MB / 0.925 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.029e-05/1.754, allocations: 4 kB / 0.925 GB, free: 1.555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04686/1.801, allocations: 17 MB / 0.9416 GB, free: 440 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/1.801, allocations: 16 kB / 0.9417 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.771e-05/1.802, allocations: 20 kB / 0.9417 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03239/1.834, allocations: 9.151 MB / 0.9506 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003506/1.837, allocations: 0.5265 MB / 0.9511 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4503/2.288, allocations: 77.01 MB / 1.026 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/2.293, allocations: 280.4 kB / 1.027 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001103/2.294, allocations: 191.1 kB / 1.027 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.004895/2.299, allocations: 2.426 MB / 1.029 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/2.301, allocations: 472.5 kB / 1.03 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03609/2.337, allocations: 16.82 MB / 1.046 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.507e-05/2.337, allocations: 55.06 kB / 1.046 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00019/2.337, allocations: 76.62 kB / 1.046 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001163/2.337, allocations: 28.22 kB / 1.046 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04709/2.385, allocations: 25.65 MB / 1.071 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.396e-05/2.385, allocations: 10.84 kB / 1.071 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001892/2.387, allocations: 323 kB / 1.072 GB, free: 192.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02511/2.412, allocations: 8.343 MB / 1.08 GB, free: 183.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00131/2.413, allocations: 100 kB / 1.08 GB, free: 183.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08197/2.495, allocations: 73.9 MB / 1.152 GB, free: 108.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/2.495, allocations: 11.94 kB / 1.152 GB, free: 108.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0504/2.545, allocations: 21.57 MB / 1.173 GB, free: 86.77 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004488/2.55, allocations: 1.366 MB / 1.174 GB, free: 85.38 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001479/2.551, allocations: 115.8 kB / 1.174 GB, free: 85.27 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003507/2.555, allocations: 287.6 kB / 1.175 GB, free: 84.98 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/2.557, allocations: 0.5221 MB / 1.175 GB, free: 84.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003606/2.557, allocations: 140 kB / 1.175 GB, free: 84.32 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002082/2.559, allocations: 1.78 MB / 1.177 GB, free: 82.55 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/2.559, allocations: 0 / 1.177 GB, free: 82.55 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.007382/2.567, allocations: 2.465 MB / 1.18 GB, free: 80.08 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.000629/2.567, allocations: 241.1 kB / 1.18 GB, free: 79.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02964/2.597, allocations: 18.66 MB / 1.198 GB, free: 61.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/2.597, allocations: 4 kB / 1.198 GB, free: 61.01 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0169/2.614, allocations: 9.357 MB / 1.207 GB, free: 51.51 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006787/2.621, allocations: 1.361 MB / 1.208 GB, free: 50.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02627/2.647, allocations: 15.74 MB / 1.224 GB, free: 34.41 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006835/2.654, allocations: 4.9 MB / 1.229 GB, free: 29.47 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003209/2.657, allocations: 0.7371 MB / 1.229 GB, free: 28.73 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007478/2.658, allocations: 195.4 kB / 1.23 GB, free: 28.54 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/2.658, allocations: 0 / 1.23 GB, free: 28.54 MB / 0.67 GB Notification: Performance of Templates: time 0.4951/3.153, allocations: 147.5 MB / 1.374 GB, free: 124.9 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)