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.0007552/0.0007555, allocations: 93.34 kB / 16.02 MB, free: 84 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.0009999/0.0009999, allocations: 187.1 kB / 16.92 MB, free: 6.891 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.337/1.337, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7064/0.7064, allocations: 115.5 MB / 407.6 MB, free: 2.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003241, allocations: 13.42 kB / 495.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 77.53 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3319/0.4798, allocations: 39.83 MB / 0.5989 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02593/0.5058, allocations: 14.93 MB / 0.6135 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007393/0.5132, allocations: 159.9 kB / 0.6136 GB, free: 4.496 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005612/0.5189, allocations: 0.8583 MB / 0.6144 GB, free: 3.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01528/0.5342, allocations: 2.642 MB / 0.617 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0131/0.5474, allocations: 2.709 MB / 0.6197 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0313/0.5787, allocations: 16.01 MB / 0.6353 GB, free: 8.078 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03306/0.6118, allocations: 15.78 MB / 0.6507 GB, free: 9.414 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008092/0.62, allocations: 3.532 MB / 0.6542 GB, free: 5.867 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009927/0.6299, allocations: 4.761 MB / 0.6588 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002562/0.6325, allocations: 400 kB / 0.6592 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006774/0.6393, allocations: 1.817 MB / 0.661 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005709/0.6451, allocations: 3.004 MB / 0.6639 GB, free: 11.87 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009819/0.6549, allocations: 3.519 MB / 0.6673 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02034/0.6753, allocations: 13.59 MB / 0.6806 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6753, allocations: 0 / 0.6806 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6754, allocations: 4 kB / 0.6806 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0004739/0.6758, allocations: 0 / 0.6806 GB, free: 10.69 MB / 0.4981 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.01685/0.6927, allocations: 6.158 MB / 0.6866 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.6928, allocations: 12.03 kB / 0.6866 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/0.7037, allocations: 1.514 MB / 0.6881 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009507/0.7132, allocations: 4.205 MB / 0.6922 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005064/0.7138, allocations: 460.4 kB / 0.6927 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002513/0.7163, allocations: 0.5977 MB / 0.6932 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02654/0.7429, allocations: 10.68 MB / 0.7037 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003533/0.7433, allocations: 35.67 kB / 0.7037 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002202/0.7455, allocations: 259.9 kB / 0.704 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00328/0.7488, allocations: 0.7729 MB / 0.7047 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.7705, allocations: 8.561 MB / 0.7131 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07116/0.8417, allocations: 47 MB / 0.759 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007622/0.8494, allocations: 4.324 MB / 0.7632 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006687/0.8561, allocations: 3.685 MB / 0.7668 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004566/0.8566, allocations: 38.78 kB / 0.7668 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.481e-05/0.8567, allocations: 73.34 kB / 0.7669 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=353): time 5.721e-06/0.8567, allocations: 0 / 0.7669 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=578): time 0.8716/1.728, allocations: 128.1 MB / 0.892 GB, free: 146.5 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/1.728, allocations: 111.9 kB / 0.8921 GB, free: 146.3 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003388/1.732, allocations: 2.685 MB / 0.8947 GB, free: 143.6 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/1.733, allocations: 117.7 kB / 0.8949 GB, free: 143.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/1.734, allocations: 2.674 MB / 0.8975 GB, free: 140.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00197/1.736, allocations: 1.96 MB / 0.8994 GB, free: 138.9 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006662/1.737, allocations: 438 kB / 0.8998 GB, free: 138.4 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/1.737, allocations: 309.1 kB / 0.9001 GB, free: 138.1 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00525/1.742, allocations: 4.075 MB / 0.9041 GB, free: 134.1 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006063/1.748, allocations: 5.013 MB / 0.909 GB, free: 128.7 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/1.76, allocations: 9.854 MB / 0.9186 GB, free: 118.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.453e-05/1.761, allocations: 8 kB / 0.9186 GB, free: 118.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03624/1.797, allocations: 16.99 MB / 0.9352 GB, free: 101.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/1.797, allocations: 14.03 kB / 0.9352 GB, free: 101.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.728e-05/1.797, allocations: 24 kB / 0.9352 GB, free: 101.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02997/1.827, allocations: 9.079 MB / 0.9441 GB, free: 92.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/1.829, allocations: 0.521 MB / 0.9446 GB, free: 92.22 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08458/1.914, allocations: 70.73 MB / 1.014 GB, free: 20.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005311/1.919, allocations: 279.8 kB / 1.014 GB, free: 19.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006048/1.92, allocations: 188 kB / 1.014 GB, free: 19.71 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 (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.004019/1.924, allocations: 2.427 MB / 1.016 GB, free: 17.31 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.925, allocations: 470.5 kB / 1.017 GB, free: 16.84 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03399/1.959, allocations: 16.81 MB / 1.033 GB, free: 148 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/1.959, allocations: 61.41 kB / 1.033 GB, free: 88 kB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001669/1.959, allocations: 72 kB / 1.033 GB, free: 16 kB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001077/1.959, allocations: 27.97 kB / 1.034 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0555/2.015, allocations: 25.69 MB / 1.059 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.469e-05/2.015, allocations: 8 kB / 1.059 GB, free: 6.367 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002017/2.017, allocations: 321.6 kB / 1.059 GB, free: 6.066 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03091/2.048, allocations: 8.264 MB / 1.067 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001185/2.049, allocations: 116 kB / 1.067 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.432/2.481, allocations: 67.59 MB / 1.133 GB, free: 210.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.882e-06/2.481, allocations: 11.72 kB / 1.133 GB, free: 210.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03925/2.521, allocations: 21.56 MB / 1.154 GB, free: 201.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004688/2.525, allocations: 1.358 MB / 1.155 GB, free: 200.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/2.527, allocations: 107.9 kB / 1.156 GB, free: 200.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003873/2.531, allocations: 296 kB / 1.156 GB, free: 200.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002135/2.533, allocations: 0.5182 MB / 1.156 GB, free: 199.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004033/2.533, allocations: 144 kB / 1.157 GB, free: 199.6 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002159/2.535, allocations: 1.783 MB / 1.158 GB, free: 198.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.1e-07/2.535, allocations: 0 / 1.158 GB, free: 198.1 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.006892/2.542, allocations: 2.461 MB / 1.161 GB, free: 195.7 MB / 0.6856 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.0005688/2.543, allocations: 243 kB / 1.161 GB, free: 195.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02059/2.563, allocations: 14.52 MB / 1.175 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/2.563, allocations: 1.406 kB / 1.175 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01688/2.58, allocations: 9.402 MB / 1.184 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01145/2.592, allocations: 1.275 MB / 1.186 GB, free: 170.6 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02245/2.614, allocations: 18.81 MB / 1.204 GB, free: 151.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004712/2.619, allocations: 4.886 MB / 1.209 GB, free: 146.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002613/2.622, allocations: 0.741 MB / 1.209 GB, free: 146 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/2.622, allocations: 199.4 kB / 1.21 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of SimCode: time 1.733e-06/2.622, allocations: 4 kB / 1.21 GB, free: 145.8 MB / 0.6856 GB Notification: Performance of Templates: time 0.5073/3.129, allocations: 138.6 MB / 1.345 GB, free: 221.8 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)