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.001345/0.001345, allocations: 108.1 kB / 16.52 MB, free: 6.656 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.001322/0.001322, allocations: 198 kB / 17.44 MB, free: 6.047 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9078/0.9078, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 63.91 kB / 493.6 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3929, allocations: 76.17 MB / 0.5564 GB, free: 36.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04024/0.4331, allocations: 40.77 MB / 0.5962 GB, free: 8.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02617/0.4594, allocations: 15.06 MB / 0.6109 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006494/0.4659, allocations: 175 kB / 0.6111 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0115/0.4775, allocations: 4.149 MB / 0.6151 GB, free: 8.457 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009332/0.4868, allocations: 2.642 MB / 0.6177 GB, free: 5.828 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008691/0.4955, allocations: 2.884 MB / 0.6205 GB, free: 2.949 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01886/0.5144, allocations: 16 MB / 0.6362 GB, free: 2.91 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02212/0.5366, allocations: 13.66 MB / 0.6495 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008192/0.5448, allocations: 4.106 MB / 0.6535 GB, free: 1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009813/0.5547, allocations: 5.479 MB / 0.6589 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0029/0.5576, allocations: 0.6133 MB / 0.6595 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006249/0.5639, allocations: 2.036 MB / 0.6614 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.005645/0.5695, allocations: 3.36 MB / 0.6647 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.008781/0.5783, allocations: 3.928 MB / 0.6686 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01596/0.5943, allocations: 12.07 MB / 0.6804 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.5944, allocations: 0 / 0.6804 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5944, allocations: 0 / 0.6804 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0004797/0.5949, allocations: 0 / 0.6804 GB, free: 5.438 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.0224/0.6173, allocations: 7.6 MB / 0.6878 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.6173, allocations: 12.03 kB / 0.6878 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.6287, allocations: 1.518 MB / 0.6893 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009918/0.6387, allocations: 4.205 MB / 0.6934 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005064/0.6392, allocations: 460.5 kB / 0.6938 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002614/0.6419, allocations: 0.5862 MB / 0.6944 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02601/0.6679, allocations: 10.68 MB / 0.7048 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003643/0.6683, allocations: 39.67 kB / 0.7049 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002307/0.6706, allocations: 267.9 kB / 0.7051 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002882/0.6735, allocations: 0.7768 MB / 0.7059 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/0.6927, allocations: 8.557 MB / 0.7142 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3767/1.069, allocations: 46.85 MB / 0.76 GB, free: 134.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/1.076, allocations: 4.304 MB / 0.7642 GB, free: 134 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005902/1.082, allocations: 3.709 MB / 0.7678 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003511/1.083, allocations: 37.77 kB / 0.7678 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.555e-05/1.083, allocations: 76.25 kB / 0.7679 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=353): time 6.422e-06/1.083, allocations: 0 / 0.7679 GB, free: 132.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=578): time 0.4557/1.538, allocations: 122.7 MB / 0.8878 GB, free: 32.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/1.538, allocations: 115.9 kB / 0.8879 GB, free: 32.44 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/1.542, allocations: 2.693 MB / 0.8905 GB, free: 29.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001143/1.543, allocations: 117.7 kB / 0.8906 GB, free: 29.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/1.544, allocations: 2.682 MB / 0.8932 GB, free: 26.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001894/1.546, allocations: 1.956 MB / 0.8951 GB, free: 24.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00162/1.548, allocations: 0.9209 MB / 0.896 GB, free: 24.05 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.01e-05/1.548, allocations: 301.1 kB / 0.8963 GB, free: 23.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00478/1.552, allocations: 4.079 MB / 0.9003 GB, free: 19.67 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005345/1.558, allocations: 5.015 MB / 0.9052 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01125/1.569, allocations: 9.855 MB / 0.9148 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-05/1.569, allocations: 8 kB / 0.9148 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0386/1.608, allocations: 16.99 MB / 0.9314 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.023e-05/1.608, allocations: 17.62 kB / 0.9314 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/1.608, allocations: 24 kB / 0.9315 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03246/1.64, allocations: 9.085 MB / 0.9403 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002467/1.643, allocations: 0.5226 MB / 0.9409 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4017/2.045, allocations: 70.5 MB / 1.01 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004999/2.05, allocations: 284.1 kB / 1.01 GB, free: 202.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/2.051, allocations: 191.3 kB / 1.01 GB, free: 202.4 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.004962/2.056, allocations: 2.424 MB / 1.013 GB, free: 202.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/2.057, allocations: 470 kB / 1.013 GB, free: 202.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03953/2.096, allocations: 16.82 MB / 1.029 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.268e-05/2.096, allocations: 56.27 kB / 1.029 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002751/2.097, allocations: 71.44 kB / 1.03 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001263/2.097, allocations: 25.36 kB / 1.03 GB, free: 196.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05373/2.151, allocations: 25.66 MB / 1.055 GB, free: 186.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.019e-05/2.151, allocations: 7.75 kB / 1.055 GB, free: 186.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/2.153, allocations: 322 kB / 1.055 GB, free: 186.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02757/2.18, allocations: 8.274 MB / 1.063 GB, free: 184.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001153/2.181, allocations: 106 kB / 1.063 GB, free: 184.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07834/2.26, allocations: 67.39 MB / 1.129 GB, free: 117.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/2.26, allocations: 11.94 kB / 1.129 GB, free: 117.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03787/2.298, allocations: 21.57 MB / 1.15 GB, free: 95.41 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003569/2.301, allocations: 1.354 MB / 1.151 GB, free: 94.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001256/2.302, allocations: 112 kB / 1.151 GB, free: 93.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003512/2.306, allocations: 283.6 kB / 1.152 GB, free: 93.64 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002164/2.308, allocations: 0.5221 MB / 1.152 GB, free: 93.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007879/2.309, allocations: 144 kB / 1.152 GB, free: 92.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003074/2.312, allocations: 1.78 MB / 1.154 GB, free: 91.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.51e-07/2.312, allocations: 0 / 1.154 GB, free: 91.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009191/2.321, allocations: 2.466 MB / 1.156 GB, free: 88.74 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.001236/2.323, allocations: 237.9 kB / 1.157 GB, free: 88.51 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02319/2.346, allocations: 14.49 MB / 1.171 GB, free: 73.83 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/2.346, allocations: 256 / 1.171 GB, free: 73.83 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/2.363, allocations: 9.351 MB / 1.18 GB, free: 64.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007466/2.37, allocations: 1.283 MB / 1.181 GB, free: 63.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/2.398, allocations: 19.67 MB / 1.2 GB, free: 43.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006064/2.404, allocations: 4.994 MB / 1.205 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/2.405, allocations: 211.4 kB / 1.206 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of SimCode: time 8.71e-07/2.405, allocations: 0 / 1.206 GB, free: 38.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.9775/3.382, allocations: 474.6 MB / 1.669 GB, free: 84.34 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)