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.001455/0.001455, allocations: 97.53 kB / 16.26 MB, free: 5.934 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.001627/0.001627, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7498/0.7498, allocations: 122.9 MB / 413.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 67.89 kB / 0.4911 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3139, allocations: 77.93 MB / 0.5672 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04944/0.3634, allocations: 41.17 MB / 0.6074 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0365/0.3999, allocations: 15.08 MB / 0.6222 GB, free: 2.395 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006249/0.4062, allocations: 187.1 kB / 0.6223 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01534/0.4217, allocations: 4.459 MB / 0.6267 GB, free: 13.76 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.4333, allocations: 2.797 MB / 0.6294 GB, free: 10.97 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01113/0.4444, allocations: 3.152 MB / 0.6325 GB, free: 7.816 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01963/0.4641, allocations: 11.4 MB / 0.6436 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02511/0.4892, allocations: 12.65 MB / 0.656 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01273/0.502, allocations: 4.794 MB / 0.6607 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01359/0.5157, allocations: 5.382 MB / 0.6659 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.003948/0.5196, allocations: 0.9492 MB / 0.6669 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007685/0.5274, allocations: 2.036 MB / 0.6688 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.007262/0.5347, allocations: 3.699 MB / 0.6725 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.01073/0.5454, allocations: 4.291 MB / 0.6766 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.02272/0.5682, allocations: 14.19 MB / 0.6905 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.5682, allocations: 0 / 0.6905 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5683, allocations: 0 / 0.6905 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0004278/0.5687, allocations: 3.984 kB / 0.6905 GB, free: 12.16 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.03092/0.5996, allocations: 7.592 MB / 0.6979 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5997, allocations: 8.625 kB / 0.6979 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.6111, allocations: 1.522 MB / 0.6994 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009521/0.6206, allocations: 4.209 MB / 0.7035 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000444/0.6211, allocations: 452.5 kB / 0.704 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002517/0.6236, allocations: 0.5939 MB / 0.7045 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02418/0.6478, allocations: 10.69 MB / 0.715 GB, free: 2.555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/0.6481, allocations: 27.72 kB / 0.715 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001588/0.6497, allocations: 271.9 kB / 0.7153 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003126/0.6529, allocations: 0.769 MB / 0.716 GB, free: 1.488 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02074/0.6736, allocations: 8.565 MB / 0.7244 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3496/1.023, allocations: 46.85 MB / 0.7701 GB, free: 127.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005306/1.029, allocations: 4.308 MB / 0.7743 GB, free: 125.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004695/1.033, allocations: 3.703 MB / 0.778 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002894/1.034, allocations: 35.62 kB / 0.778 GB, free: 124.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.484e-05/1.034, allocations: 79.56 kB / 0.7781 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 5.761e-06/1.034, allocations: 0 / 0.7781 GB, free: 124.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4827/1.516, allocations: 122.8 MB / 0.898 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/1.517, allocations: 111.9 kB / 0.8981 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00409/1.521, allocations: 2.685 MB / 0.9007 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001011/1.522, allocations: 121.7 kB / 0.9008 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001232/1.523, allocations: 2.675 MB / 0.9035 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001856/1.525, allocations: 1.953 MB / 0.9054 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002103/1.527, allocations: 0.9248 MB / 0.9063 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.29e-05/1.527, allocations: 301.1 kB / 0.9066 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004906/1.532, allocations: 4.083 MB / 0.9105 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006559/1.538, allocations: 5.017 MB / 0.9154 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/1.553, allocations: 9.844 MB / 0.9251 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.834e-05/1.553, allocations: 8 kB / 0.9251 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04262/1.596, allocations: 17 MB / 0.9417 GB, free: 344 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/1.596, allocations: 16 kB / 0.9417 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-05/1.596, allocations: 20 kB / 0.9417 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03286/1.629, allocations: 9.151 MB / 0.9506 GB, free: 7.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/1.632, allocations: 0.5226 MB / 0.9511 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4036/2.035, allocations: 77.02 MB / 1.026 GB, free: 213.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004823/2.04, allocations: 280.6 kB / 1.027 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005349/2.041, allocations: 187.2 kB / 1.027 GB, free: 213.4 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.003684/2.044, allocations: 2.431 MB / 1.029 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/2.045, allocations: 469 kB / 1.03 GB, free: 212.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03445/2.08, allocations: 16.82 MB / 1.046 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.565e-05/2.08, allocations: 58.7 kB / 1.046 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001504/2.08, allocations: 78.09 kB / 1.046 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-05/2.08, allocations: 29.83 kB / 1.046 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0454/2.125, allocations: 25.66 MB / 1.071 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.106e-05/2.126, allocations: 8 kB / 1.071 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/2.127, allocations: 321.8 kB / 1.072 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02701/2.154, allocations: 8.339 MB / 1.08 GB, free: 183.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009704/2.155, allocations: 108 kB / 1.08 GB, free: 183.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08386/2.239, allocations: 73.89 MB / 1.152 GB, free: 108.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.497e-06/2.239, allocations: 8 kB / 1.152 GB, free: 108.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03835/2.278, allocations: 21.58 MB / 1.173 GB, free: 86.6 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003339/2.281, allocations: 1.366 MB / 1.174 GB, free: 85.21 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/2.282, allocations: 104 kB / 1.174 GB, free: 85.11 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004078/2.287, allocations: 291.8 kB / 1.175 GB, free: 84.82 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002112/2.289, allocations: 0.5221 MB / 1.175 GB, free: 84.29 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005292/2.289, allocations: 144 kB / 1.175 GB, free: 84.15 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002449/2.292, allocations: 1.78 MB / 1.177 GB, free: 82.38 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.9e-07/2.292, allocations: 0 / 1.177 GB, free: 82.38 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.008374/2.3, allocations: 2.465 MB / 1.18 GB, free: 79.92 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.0009002/2.301, allocations: 239.4 kB / 1.18 GB, free: 79.68 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03322/2.334, allocations: 18.65 MB / 1.198 GB, free: 60.86 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/2.334, allocations: 4 kB / 1.198 GB, free: 60.85 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0175/2.352, allocations: 9.361 MB / 1.207 GB, free: 51.35 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008611/2.36, allocations: 1.38 MB / 1.209 GB, free: 50.03 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/2.393, allocations: 15.72 MB / 1.224 GB, free: 34.25 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007064/2.4, allocations: 4.893 MB / 1.229 GB, free: 29.32 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003477/2.403, allocations: 0.741 MB / 1.229 GB, free: 28.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008336/2.404, allocations: 195.4 kB / 1.23 GB, free: 28.38 MB / 0.67 GB Notification: Performance of SimCode: time 1.022e-06/2.404, allocations: 0 / 1.23 GB, free: 28.38 MB / 0.67 GB Notification: Performance of Templates: time 0.4689/2.873, allocations: 147.5 MB / 1.374 GB, free: 124.8 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)