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.0009456/0.0009455, allocations: 96.66 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 179.3 kB / 16.57 MB, free: 6.859 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.46/1.46, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6949/0.6949, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 12 kB / 493.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1843, allocations: 77.16 MB / 0.5569 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3711/0.5554, allocations: 35.71 MB / 0.5917 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0257/0.5811, allocations: 14.52 MB / 0.6059 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005228/0.5864, allocations: 146.7 kB / 0.6061 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00347/0.5899, allocations: 0.8391 MB / 0.6069 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009295/0.5992, allocations: 2.108 MB / 0.6089 GB, free: 8.477 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007939/0.6072, allocations: 1.933 MB / 0.6108 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01382/0.621, allocations: 5.733 MB / 0.6164 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02469/0.6458, allocations: 13.97 MB / 0.6301 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007562/0.6534, allocations: 3.162 MB / 0.6331 GB, free: 11.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007685/0.6611, allocations: 3.302 MB / 0.6364 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001781/0.6629, allocations: 400 kB / 0.6368 GB, free: 8.113 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004785/0.6677, allocations: 0.7649 MB / 0.6375 GB, free: 7.348 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004993/0.6727, allocations: 2.744 MB / 0.6402 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003668/0.6764, allocations: 1.385 MB / 0.6415 GB, free: 3.203 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01916/0.6956, allocations: 11.6 MB / 0.6529 GB, free: 7.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6957, allocations: 0 / 0.6529 GB, free: 7.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.01e-06/0.6957, allocations: 0 / 0.6529 GB, free: 7.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007611/0.6965, allocations: 0 / 0.6529 GB, free: 7.57 MB / 478.1 MB 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.01986/0.7163, allocations: 6.178 MB / 0.6589 GB, free: 1.312 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.7164, allocations: 12.03 kB / 0.6589 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.7276, allocations: 1.514 MB / 0.6604 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/0.7384, allocations: 4.101 MB / 0.6644 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004299/0.7388, allocations: 460 kB / 0.6648 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/0.7414, allocations: 0.5896 MB / 0.6654 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/0.7711, allocations: 10.59 MB / 0.6757 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003164/0.7714, allocations: 27.72 kB / 0.6758 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002107/0.7735, allocations: 263.9 kB / 0.676 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00314/0.7767, allocations: 0.7729 MB / 0.6768 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02111/0.7978, allocations: 8.514 MB / 0.6851 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07441/0.8723, allocations: 46.99 MB / 0.731 GB, free: 3.246 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006484/0.8788, allocations: 4.292 MB / 0.7352 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004345/0.8793, allocations: 42.77 kB / 0.7352 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.171e-05/0.8794, allocations: 81.33 kB / 0.7353 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=353): time 6.021e-06/0.8794, allocations: 3.984 kB / 0.7353 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=578): time 0.8953/1.775, allocations: 127.9 MB / 0.8602 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/1.775, allocations: 115.2 kB / 0.8603 GB, free: 201.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004609/1.779, allocations: 2.657 MB / 0.8629 GB, free: 200.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001415/1.781, allocations: 119.8 kB / 0.863 GB, free: 200.6 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.782, allocations: 2.68 MB / 0.8656 GB, free: 198.6 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002368/1.785, allocations: 1.954 MB / 0.8675 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004101/1.785, allocations: 112.3 kB / 0.8676 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002463/1.785, allocations: 0.5208 MB / 0.8681 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0049/1.79, allocations: 4.056 MB / 0.8721 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005578/1.796, allocations: 4.976 MB / 0.8769 GB, free: 190.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006097/1.802, allocations: 4.82 MB / 0.8816 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.825e-05/1.802, allocations: 11.59 kB / 0.8817 GB, free: 188.1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03552/1.838, allocations: 16.92 MB / 0.8982 GB, free: 172.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/1.838, allocations: 12 kB / 0.8982 GB, free: 172.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.859e-05/1.838, allocations: 24 kB / 0.8982 GB, free: 172.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03185/1.87, allocations: 9.058 MB / 0.9071 GB, free: 163.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.872, allocations: 0.5187 MB / 0.9076 GB, free: 162.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08857/1.961, allocations: 73.69 MB / 0.9795 GB, free: 87.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005364/1.966, allocations: 283.8 kB / 0.9798 GB, free: 87.17 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008277/1.967, allocations: 192 kB / 0.98 GB, free: 86.98 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(5,84.0%) 17,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(14,51.0%) 72,(14,51.0%) 72,(6,77.8%) 40,(7,71.4%) 71,(8,70.3%) 70,(6,77.8%) 40} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005143/1.972, allocations: 2.417 MB / 0.9823 GB, free: 84.55 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/1.974, allocations: 474.5 kB / 0.9828 GB, free: 84.08 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0347/2.009, allocations: 16.75 MB / 0.9992 GB, free: 67.19 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/2.009, allocations: 56 kB / 0.9992 GB, free: 67.13 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000215/2.009, allocations: 72 kB / 0.9993 GB, free: 67.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001175/2.009, allocations: 31.89 kB / 0.9993 GB, free: 67.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05361/2.063, allocations: 25.61 MB / 1.024 GB, free: 41.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-05/2.063, allocations: 11.95 kB / 1.024 GB, free: 41.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/2.065, allocations: 327.5 kB / 1.025 GB, free: 40.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02699/2.092, allocations: 8.25 MB / 1.033 GB, free: 32.57 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00104/2.093, allocations: 116 kB / 1.033 GB, free: 32.45 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4655/2.558, allocations: 70.51 MB / 1.102 GB, free: 199.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.755e-05/2.558, allocations: 11.56 kB / 1.102 GB, free: 199.3 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07657/2.635, allocations: 22.19 MB / 1.123 GB, free: 189.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006177/2.641, allocations: 1.357 MB / 1.125 GB, free: 189 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002095/2.643, allocations: 113.7 kB / 1.125 GB, free: 189 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006611/2.65, allocations: 287.1 kB / 1.125 GB, free: 188.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002861/2.653, allocations: 0.5163 MB / 1.126 GB, free: 188.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008155/2.654, allocations: 153.8 kB / 1.126 GB, free: 188.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004631/2.658, allocations: 1.745 MB / 1.127 GB, free: 188.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.52e-07/2.658, allocations: 0 / 1.127 GB, free: 188.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01276/2.671, allocations: 2.462 MB / 1.13 GB, free: 187.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(6,77.8%) 40,(8,70.3%) 70,(14,51.0%) 72,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(5,84.0%) 17,(6,83.3%) 40,(8,70.3%) 70,(14,51.0%) 72} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001696/2.673, allocations: 242.4 kB / 1.13 GB, free: 187.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.02369/2.697, allocations: 14.49 MB / 1.144 GB, free: 179.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/2.697, allocations: 5.875 kB / 1.144 GB, free: 179.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.01586/2.712, allocations: 9.379 MB / 1.153 GB, free: 171.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005879/2.718, allocations: 1.179 MB / 1.155 GB, free: 170.6 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/2.743, allocations: 18.14 MB / 1.172 GB, free: 152.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004788/2.747, allocations: 5.014 MB / 1.177 GB, free: 147.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002831/2.75, allocations: 0.741 MB / 1.178 GB, free: 146.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005535/2.751, allocations: 195.4 kB / 1.178 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/2.751, allocations: 0 / 1.178 GB, free: 146.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.1955/2.946, allocations: 135.4 MB / 1.31 GB, free: 12.3 MB / 0.6544 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)