Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 93.25 kB / 15.7 MB, free: 472 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.001397/0.001397, allocations: 176.9 kB / 16.58 MB, free: 5.676 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.365/1.365, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7145/0.7145, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003597, allocations: 13.61 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.158, allocations: 77.54 MB / 0.5593 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.3616/0.5196, allocations: 34.21 MB / 0.5927 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02207/0.5417, allocations: 12.43 MB / 0.6049 GB, free: 10.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/0.5453, allocations: 148.6 kB / 0.605 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002113/0.5475, allocations: 0.7434 MB / 0.6058 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005958/0.5534, allocations: 2.067 MB / 0.6078 GB, free: 8.984 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006699/0.5602, allocations: 1.62 MB / 0.6094 GB, free: 8.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01579/0.576, allocations: 10.65 MB / 0.6198 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0207/0.5967, allocations: 11.45 MB / 0.6309 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007601/0.6044, allocations: 2.969 MB / 0.6338 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008297/0.6127, allocations: 3.773 MB / 0.6375 GB, free: 6.852 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.6141, allocations: 320 kB / 0.6378 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.6182, allocations: 0.7766 MB / 0.6386 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003528/0.6217, allocations: 2.447 MB / 0.641 GB, free: 3.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00302/0.6248, allocations: 1.175 MB / 0.6421 GB, free: 2.125 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.6374, allocations: 9.732 MB / 0.6516 GB, free: 8.367 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.6374, allocations: 0 / 0.6516 GB, free: 8.367 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.6374, allocations: 0 / 0.6516 GB, free: 8.367 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003247/0.6378, allocations: 0 / 0.6516 GB, free: 8.367 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01298/0.6507, allocations: 5.204 MB / 0.6567 GB, free: 3.09 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6508, allocations: 12.03 kB / 0.6567 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008681/0.6595, allocations: 1.3 MB / 0.658 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007656/0.6672, allocations: 3.472 MB / 0.6614 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.6675, allocations: 378.1 kB / 0.6617 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001259/0.6688, allocations: 0.4998 MB / 0.6622 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/0.6848, allocations: 8.839 MB / 0.6709 GB, free: 4.16 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.685, allocations: 23.78 kB / 0.6709 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005603/0.6855, allocations: 223.9 kB / 0.6711 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001863/0.6874, allocations: 0.6382 MB / 0.6717 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01257/0.7, allocations: 6.971 MB / 0.6785 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05232/0.7524, allocations: 40.42 MB / 0.718 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004429/0.7568, allocations: 2.887 MB / 0.7208 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003724/0.7606, allocations: 2.659 MB / 0.7234 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.7608, allocations: 26.09 kB / 0.7234 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.489e-05/0.7609, allocations: 64.66 kB / 0.7235 GB, free: 10.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=265): time 4.619e-06/0.7609, allocations: 0 / 0.7235 GB, free: 10.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=424): time 0.2798/1.041, allocations: 77.42 MB / 0.7991 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/1.041, allocations: 98.73 kB / 0.7992 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003944/1.045, allocations: 2.332 MB / 0.8015 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0007395/1.046, allocations: 97.7 kB / 0.8016 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001789/1.047, allocations: 2.333 MB / 0.8039 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001851/1.049, allocations: 1.436 MB / 0.8053 GB, free: 6.512 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000572/1.05, allocations: 88 kB / 0.8053 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0003116/1.05, allocations: 483.3 kB / 0.8058 GB, free: 5.945 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005003/1.055, allocations: 2.98 MB / 0.8087 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005686/1.061, allocations: 3.827 MB / 0.8124 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005738/1.067, allocations: 3.548 MB / 0.8159 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/1.067, allocations: 12 kB / 0.8159 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.3175/1.384, allocations: 12.49 MB / 0.8281 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.606e-05/1.384, allocations: 14.75 kB / 0.8281 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.272e-05/1.384, allocations: 22.72 kB / 0.8282 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02281/1.407, allocations: 6.02 MB / 0.834 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/1.41, allocations: 493.7 kB / 0.8345 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07193/1.482, allocations: 67.2 MB / 0.9001 GB, free: 158.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/1.485, allocations: 218.3 kB / 0.9003 GB, free: 158.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004467/1.486, allocations: 156.8 kB / 0.9005 GB, free: 158.6 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003141/1.489, allocations: 1.994 MB / 0.9024 GB, free: 157.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007227/1.49, allocations: 395.3 kB / 0.9028 GB, free: 157.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02336/1.513, allocations: 12.18 MB / 0.9147 GB, free: 149.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.994e-05/1.513, allocations: 45.69 kB / 0.9148 GB, free: 149.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001549/1.513, allocations: 51.72 kB / 0.9148 GB, free: 149.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.735e-05/1.513, allocations: 19.92 kB / 0.9148 GB, free: 149.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03319/1.547, allocations: 19.1 MB / 0.9335 GB, free: 130.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/1.547, allocations: 4 kB / 0.9335 GB, free: 130.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.548, allocations: 292.4 kB / 0.9338 GB, free: 130.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01788/1.566, allocations: 5.571 MB / 0.9392 GB, free: 124.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007625/1.567, allocations: 80 kB / 0.9393 GB, free: 124.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06042/1.627, allocations: 64.81 MB / 1.003 GB, free: 56.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/1.627, allocations: 15.89 kB / 1.003 GB, free: 56.55 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02569/1.653, allocations: 15.56 MB / 1.018 GB, free: 40.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002539/1.656, allocations: 1.051 MB / 1.019 GB, free: 39.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006305/1.656, allocations: 83.98 kB / 1.019 GB, free: 39.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.658, allocations: 211.7 kB / 1.019 GB, free: 39.42 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001381/1.66, allocations: 402.3 kB / 1.019 GB, free: 39.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/1.66, allocations: 108 kB / 1.02 GB, free: 38.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001944/1.662, allocations: 1.529 MB / 1.021 GB, free: 37.39 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.662, allocations: 4 kB / 1.021 GB, free: 37.39 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00663/1.669, allocations: 1.863 MB / 1.023 GB, free: 35.53 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (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]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005335/1.669, allocations: 222.3 kB / 1.023 GB, free: 35.3 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01891/1.688, allocations: 12.19 MB / 1.035 GB, free: 22.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-05/1.688, allocations: 8.125 kB / 1.035 GB, free: 22.81 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.01297/1.701, allocations: 8.373 MB / 1.043 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005352/1.706, allocations: 1.1 MB / 1.044 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.725, allocations: 14.27 MB / 1.058 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005176/1.731, allocations: 4.086 MB / 1.062 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002691/1.733, allocations: 0.6591 MB / 1.063 GB, free: 9.969 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004938/1.734, allocations: 183.4 kB / 1.063 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of SimCode: time 1.483e-06/1.734, allocations: 4 kB / 1.063 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of Templates: time 0.5004/2.234, allocations: 102.5 MB / 1.163 GB, free: 144.3 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)