Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 103.9 kB / 18.35 MB, free: 4.684 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.001141/0.001141, allocations: 190.9 kB / 19.29 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06519/0.06519, allocations: 14.18 MB / 286.7 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 4.021/4.021, allocations: 461.2 MB / 0.78 GB, free: 107.1 MB / 0.6545 GB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 92.66 kB / 0.963 GB, free: 1.992 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.334/1.336, allocations: 172.1 MB / 1.131 GB, free: 28.94 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.05625/1.393, allocations: 63.81 MB / 1.193 GB, free: 12.43 MB / 0.9048 GB Notification: Performance of NFInst.instExpressions: time 0.05013/1.443, allocations: 23.29 MB / 1.216 GB, free: 8.789 MB / 0.9204 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02073/1.464, allocations: 238.5 kB / 1.216 GB, free: 8.719 MB / 0.9204 GB Notification: Performance of NFTyping.typeComponents: time 0.01417/1.478, allocations: 3.313 MB / 1.22 GB, free: 6.027 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.04149/1.52, allocations: 8.861 MB / 1.228 GB, free: 14.43 MB / 0.936 GB Notification: Performance of NFTyping.typeClassSections: time 0.01276/1.532, allocations: 3.259 MB / 1.231 GB, free: 11.66 MB / 0.936 GB Notification: Performance of NFFlatten.flatten: time 0.0399/1.572, allocations: 21.26 MB / 1.252 GB, free: 14.45 MB / 0.9517 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00796/1.58, allocations: 2.522 MB / 1.255 GB, free: 13.11 MB / 0.9517 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02036/1.601, allocations: 6.986 MB / 1.261 GB, free: 8.77 MB / 0.9517 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01837/1.619, allocations: 7.568 MB / 1.269 GB, free: 3.539 MB / 0.9517 GB Notification: Performance of NFPackage.collectConstants: time 0.006136/1.625, allocations: 1.046 MB / 1.27 GB, free: 3.539 MB / 0.9517 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01372/1.639, allocations: 2.05 MB / 1.272 GB, free: 3.332 MB / 0.9517 GB Notification: Performance of NFScalarize.scalarize: time 0.005721/1.645, allocations: 2.311 MB / 1.274 GB, free: 1.277 MB / 0.9517 GB Notification: Performance of NFVerifyModel.verify: time 0.0269/1.672, allocations: 6.723 MB / 1.281 GB, free: 12.43 MB / 0.9673 GB Notification: Performance of NFConvertDAE.convert: time 0.04111/1.713, allocations: 16.16 MB / 1.297 GB, free: 15 MB / 0.9829 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/1.713, allocations: 0 / 1.297 GB, free: 15 MB / 0.9829 GB Notification: Performance of FrontEnd: time 5.861e-06/1.713, allocations: 0 / 1.297 GB, free: 15 MB / 0.9829 GB Notification: Performance of Transformations before backend: time 0.0008202/1.714, allocations: 7.938 kB / 1.297 GB, free: 15 MB / 0.9829 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2196 * Number of variables: 2196 Notification: Performance of Generate backend data structure: time 0.07035/1.784, allocations: 16.35 MB / 1.312 GB, free: 14.53 MB / 0.9985 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/1.784, allocations: 12.03 kB / 1.312 GB, free: 14.52 MB / 0.9985 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009968/1.794, allocations: 1.642 MB / 1.314 GB, free: 12.86 MB / 0.9985 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/1.817, allocations: 7.087 MB / 1.321 GB, free: 5.68 MB / 0.9985 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007788/1.818, allocations: 0.6535 MB / 1.322 GB, free: 5.023 MB / 0.9985 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003174/1.821, allocations: 0.8671 MB / 1.322 GB, free: 4.156 MB / 0.9985 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02635/1.847, allocations: 8.977 MB / 1.331 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/1.847, allocations: 15.88 kB / 1.331 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/1.849, allocations: 356 kB / 1.332 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001916/1.849, allocations: 216 kB / 1.332 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02257/1.871, allocations: 8.515 MB / 1.34 GB, free: 1.668 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1073/1.979, allocations: 57.06 MB / 1.396 GB, free: 3.684 MB / 1.077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0199/1.999, allocations: 10.67 MB / 1.406 GB, free: 8.977 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009047/2.008, allocations: 4.02 MB / 1.41 GB, free: 4.945 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000743/2.009, allocations: 107.1 kB / 1.41 GB, free: 4.84 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/2.009, allocations: 125.7 kB / 1.41 GB, free: 4.707 MB / 1.092 GB Notification: Performance of pre-optimization done (n=909): time 1.086e-05/2.009, allocations: 0 / 1.41 GB, free: 4.707 MB / 1.092 GB Notification: Performance of matching and sorting (n=909): time 0.03151/2.04, allocations: 12 MB / 1.422 GB, free: 8.676 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002804/2.041, allocations: 352.1 kB / 1.422 GB, free: 8.27 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02074/2.061, allocations: 6.317 MB / 1.429 GB, free: 2 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.002187/2.064, allocations: 189.7 kB / 1.429 GB, free: 1.809 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.00624/2.07, allocations: 4.038 MB / 1.433 GB, free: 13.73 MB / 1.124 GB Notification: Performance of collectInitialBindings (initialization): time 0.007099/2.077, allocations: 3.142 MB / 1.436 GB, free: 10.55 MB / 1.124 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008754/2.086, allocations: 1.733 MB / 1.438 GB, free: 8.805 MB / 1.124 GB Notification: Performance of setup shared object (initialization): time 0.0001404/2.086, allocations: 305.1 kB / 1.438 GB, free: 8.504 MB / 1.124 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01161/2.098, allocations: 3.276 MB / 1.441 GB, free: 5.219 MB / 1.124 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01494/2.113, allocations: 5.266 MB / 1.446 GB, free: 15.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02315/2.136, allocations: 8.584 MB / 1.455 GB, free: 5.926 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001425/2.136, allocations: 16 kB / 1.455 GB, free: 5.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.0473/2.183, allocations: 13.9 MB / 1.468 GB, free: 7.863 MB / 1.155 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/2.184, allocations: 24 kB / 1.468 GB, free: 7.84 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001196/2.184, allocations: 48 kB / 1.468 GB, free: 7.793 MB / 1.155 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0316/2.215, allocations: 6.185 MB / 1.474 GB, free: 1.539 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008782/2.224, allocations: 1.946 MB / 1.476 GB, free: 15.59 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08829/2.312, allocations: 58.01 MB / 1.533 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01276/2.325, allocations: 0.852 MB / 1.534 GB, free: 1.848 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002025/2.327, allocations: 376 kB / 1.534 GB, free: 1.48 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01224/2.34, allocations: 4.262 MB / 1.538 GB, free: 13.2 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009554/2.349, allocations: 5.028 MB / 1.543 GB, free: 7.449 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01645/2.366, allocations: 8.256 MB / 1.551 GB, free: 14.48 MB / 1.249 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.962e-05/2.366, allocations: 16 kB / 1.551 GB, free: 14.46 MB / 1.249 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.03565/2.401, allocations: 12.2 MB / 1.563 GB, free: 2.125 MB / 1.249 GB Notification: Performance of prepare postOptimizeDAE: time 8.642e-05/2.402, allocations: 27.94 kB / 1.563 GB, free: 2.098 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.536e-05/2.402, allocations: 52.12 kB / 1.563 GB, free: 2.047 MB / 1.249 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02632/2.428, allocations: 5.108 MB / 1.568 GB, free: 12.88 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009443/2.438, allocations: 2.091 MB / 1.57 GB, free: 10.79 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133/3.57, allocations: 47.57 MB / 1.617 GB, free: 345.8 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/3.583, allocations: 0.6552 MB / 1.617 GB, free: 345.6 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002086/3.585, allocations: 376.1 kB / 1.618 GB, free: 345.5 MB / 1.265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 10 (GEN_2_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_2_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_2_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_2_1.AVR.firstOrderLim.I.local_reset,GEN_2_1.TGOV.firstOrderLim.I.local_reset,GEN_1_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_1_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_1_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_1_1.AVR.firstOrderLim.I.local_reset,GEN_1_1.TGOV.firstOrderLim.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1061): * Single equations (assignments): 1041 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%), (2,0,100.0%), (2,0,100.0%), (3,0,66.7%), (3,0,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 12 systems {(38,0), (216,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,0)} Notification: Performance of prepare postOptimizeDAE: time 0.003123/3.588, allocations: 0.7435 MB / 1.618 GB, free: 345 MB / 1.265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004012/3.593, allocations: 0.9032 MB / 1.619 GB, free: 345 MB / 1.265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02654/3.619, allocations: 9.955 MB / 1.629 GB, free: 340.7 MB / 1.265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003318/3.619, allocations: 44.61 kB / 1.629 GB, free: 340.7 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-05/3.619, allocations: 0 / 1.629 GB, free: 340.7 MB / 1.265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008/3.628, allocations: 1.858 MB / 1.631 GB, free: 339.5 MB / 1.265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004932/3.632, allocations: 158.3 kB / 1.631 GB, free: 339.4 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0101/3.643, allocations: 273.9 kB / 1.631 GB, free: 339.3 MB / 1.265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002631/3.645, allocations: 0.7209 MB / 1.632 GB, free: 339.2 MB / 1.265 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03849/3.684, allocations: 9.356 MB / 1.641 GB, free: 335.9 MB / 1.265 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.15/3.834, allocations: 47.54 MB / 1.687 GB, free: 312.6 MB / 1.265 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00756/3.841, allocations: 2.999 MB / 1.69 GB, free: 311 MB / 1.265 GB Notification: Performance of sorting global known variables: time 0.0114/3.853, allocations: 4.067 MB / 1.694 GB, free: 309 MB / 1.265 GB Notification: Performance of Backend: time 1.273e-06/3.853, allocations: 0 / 1.694 GB, free: 309 MB / 1.265 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.06333/3.916, allocations: 24.71 MB / 1.719 GB, free: 294.5 MB / 1.265 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of SimCode: time 0.06201/3.978, allocations: 29.91 MB / 1.748 GB, free: 268.2 MB / 1.265 GB Notification: Performance of Templates: time 0.3134/4.292, allocations: 212.5 MB / 1.955 GB, free: 55.73 MB / 1.265 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)