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/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/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.001372/0.001372, allocations: 108.8 kB / 17.6 MB, free: 5.555 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.001436/0.001436, allocations: 187.4 kB / 18.52 MB, free: 4.637 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.742/1.742, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06003/0.06003, allocations: 14.16 MB / 285.9 MB, free: 13.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 3.36/3.36, allocations: 418.6 MB / 0.7376 GB, free: 5.211 MB / 0.5764 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.002095/0.002095, allocations: 87.86 kB / 0.9089 GB, free: 0.8398 MB / 0.686 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3976, allocations: 160.9 MB / 1.066 GB, free: 15.71 MB / 0.8579 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 1.131/1.529, allocations: 63.8 MB / 1.128 GB, free: 13.11 MB / 0.8584 GB Notification: Performance of NFInst.instExpressions: time 0.04743/1.577, allocations: 23.29 MB / 1.151 GB, free: 11.98 MB / 0.874 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01893/1.596, allocations: 239.1 kB / 1.151 GB, free: 11.91 MB / 0.874 GB Notification: Performance of NFTyping.typeComponents: time 0.01659/1.612, allocations: 3.321 MB / 1.155 GB, free: 10.18 MB / 0.874 GB Notification: Performance of NFTyping.typeBindings: time 0.04665/1.659, allocations: 8.848 MB / 1.163 GB, free: 4.105 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01352/1.672, allocations: 3.255 MB / 1.166 GB, free: 1.992 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.04648/1.719, allocations: 21.17 MB / 1.187 GB, free: 5.094 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007789/1.727, allocations: 2.517 MB / 1.189 GB, free: 3.766 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02105/1.748, allocations: 6.956 MB / 1.196 GB, free: 15.53 MB / 0.9053 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02028/1.768, allocations: 7.576 MB / 1.204 GB, free: 10.29 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.006948/1.775, allocations: 1.047 MB / 1.205 GB, free: 10.29 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/1.791, allocations: 2.043 MB / 1.207 GB, free: 10.09 MB / 0.9053 GB Notification: Performance of NFScalarize.scalarize: time 0.006118/1.797, allocations: 2.314 MB / 1.209 GB, free: 8.031 MB / 0.9053 GB Notification: Performance of NFVerifyModel.verify: time 0.02485/1.822, allocations: 6.723 MB / 1.215 GB, free: 3.184 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.04149/1.864, allocations: 15.94 MB / 1.231 GB, free: 7.688 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.864, allocations: 0 / 1.231 GB, free: 7.688 MB / 0.9209 GB Notification: Performance of FrontEnd: time 2.594e-06/1.864, allocations: 1.438 kB / 1.231 GB, free: 7.688 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0009942/1.865, allocations: 0 / 1.231 GB, free: 7.688 MB / 0.9209 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.08546/1.95, allocations: 16.38 MB / 1.247 GB, free: 13.56 MB / 0.9365 GB Notification: Performance of prepare preOptimizeDAE: time 7.017e-05/1.95, allocations: 9.344 kB / 1.247 GB, free: 13.56 MB / 0.9365 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/1.964, allocations: 1.64 MB / 1.249 GB, free: 12.75 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0296/1.994, allocations: 6.912 MB / 1.255 GB, free: 7.461 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001222/1.995, allocations: 0.6535 MB / 1.256 GB, free: 6.805 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005002/2, allocations: 0.8671 MB / 1.257 GB, free: 5.938 MB / 0.9365 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04196/2.042, allocations: 8.977 MB / 1.266 GB, free: 12.56 MB / 0.9521 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007728/2.043, allocations: 19.81 kB / 1.266 GB, free: 12.54 MB / 0.9521 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00426/2.047, allocations: 356 kB / 1.266 GB, free: 12.2 MB / 0.9521 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003195/2.048, allocations: 212 kB / 1.266 GB, free: 11.99 MB / 0.9521 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02962/2.077, allocations: 8.515 MB / 1.275 GB, free: 3.453 MB / 0.9521 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.13/2.207, allocations: 57.38 MB / 1.331 GB, free: 5.16 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02555/2.233, allocations: 10.67 MB / 1.341 GB, free: 10.46 MB / 1.03 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01074/2.244, allocations: 4.012 MB / 1.345 GB, free: 6.441 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/2.245, allocations: 107.1 kB / 1.345 GB, free: 6.336 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001897/2.245, allocations: 133.7 kB / 1.345 GB, free: 6.195 MB / 1.03 GB Notification: Performance of pre-optimization done (n=909): time 2.156e-05/2.245, allocations: 0 / 1.345 GB, free: 6.195 MB / 1.03 GB Notification: Performance of matching and sorting (n=909): time 0.0363/2.281, allocations: 12.01 MB / 1.357 GB, free: 10.16 MB / 1.046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002311/2.282, allocations: 348.2 kB / 1.357 GB, free: 9.758 MB / 1.046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01809/2.3, allocations: 6.321 MB / 1.363 GB, free: 3.484 MB / 1.046 GB Notification: Performance of collectPreVariables (initialization): time 0.002512/2.302, allocations: 193.7 kB / 1.364 GB, free: 3.289 MB / 1.046 GB Notification: Performance of collectInitialEqns (initialization): time 0.005329/2.308, allocations: 4.035 MB / 1.368 GB, free: 15.21 MB / 1.062 GB Notification: Performance of collectInitialBindings (initialization): time 0.006474/2.314, allocations: 3.142 MB / 1.371 GB, free: 12.03 MB / 1.062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008048/2.322, allocations: 1.737 MB / 1.372 GB, free: 10.28 MB / 1.062 GB Notification: Performance of setup shared object (initialization): time 0.0001233/2.322, allocations: 305.1 kB / 1.373 GB, free: 9.98 MB / 1.062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009022/2.331, allocations: 3.276 MB / 1.376 GB, free: 6.695 MB / 1.062 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01312/2.345, allocations: 5.27 MB / 1.381 GB, free: 0.7031 MB / 1.062 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02383/2.368, allocations: 8.58 MB / 1.389 GB, free: 7.402 MB / 1.077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001066/2.369, allocations: 16 kB / 1.389 GB, free: 7.387 MB / 1.077 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.05289/2.422, allocations: 13.9 MB / 1.403 GB, free: 9.344 MB / 1.093 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/2.422, allocations: 24 kB / 1.403 GB, free: 9.32 MB / 1.093 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/2.422, allocations: 48 kB / 1.403 GB, free: 9.273 MB / 1.093 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03339/2.455, allocations: 6.243 MB / 1.409 GB, free: 2.961 MB / 1.093 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01032/2.466, allocations: 1.943 MB / 1.411 GB, free: 1.016 MB / 1.093 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09866/2.564, allocations: 58.19 MB / 1.468 GB, free: 3.953 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01658/2.581, allocations: 0.852 MB / 1.469 GB, free: 3.094 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002681/2.584, allocations: 368 kB / 1.469 GB, free: 2.734 MB / 1.155 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01462/2.598, allocations: 4.258 MB / 1.473 GB, free: 14.47 MB / 1.171 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01138/2.61, allocations: 5.028 MB / 1.478 GB, free: 8.715 MB / 1.171 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02282/2.633, allocations: 8.264 MB / 1.486 GB, free: 15.73 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001136/2.633, allocations: 16 kB / 1.486 GB, free: 15.72 MB / 1.187 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.04697/2.68, allocations: 12.2 MB / 1.498 GB, free: 3.379 MB / 1.187 GB Notification: Performance of prepare postOptimizeDAE: time 9.442e-05/2.68, allocations: 24 kB / 1.498 GB, free: 3.355 MB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/2.68, allocations: 48 kB / 1.498 GB, free: 3.309 MB / 1.187 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02694/2.707, allocations: 5.156 MB / 1.503 GB, free: 14.09 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/2.718, allocations: 2.087 MB / 1.505 GB, free: 12 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029/3.746, allocations: 47.7 MB / 1.552 GB, free: 372.9 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/3.761, allocations: 0.6527 MB / 1.552 GB, free: 372.9 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/3.762, allocations: 375.4 kB / 1.553 GB, free: 372.9 MB / 1.233 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.002128/3.765, allocations: 0.7438 MB / 1.553 GB, free: 372.8 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003977/3.769, allocations: 0.901 MB / 1.554 GB, free: 372.8 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0193/3.788, allocations: 9.968 MB / 1.564 GB, free: 372.4 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002537/3.788, allocations: 40.64 kB / 1.564 GB, free: 372.4 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/3.788, allocations: 0 / 1.564 GB, free: 372.4 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00909/3.797, allocations: 1.857 MB / 1.566 GB, free: 372.3 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004131/3.802, allocations: 152.2 kB / 1.566 GB, free: 372.3 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0104/3.812, allocations: 275.4 kB / 1.566 GB, free: 372.3 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001802/3.814, allocations: 0.7193 MB / 1.567 GB, free: 372.3 MB / 1.233 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03072/3.844, allocations: 9.39 MB / 1.576 GB, free: 370.3 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1929/4.037, allocations: 47.57 MB / 1.623 GB, free: 347.1 MB / 1.233 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01139/4.049, allocations: 3 MB / 1.626 GB, free: 345.9 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.02072/4.07, allocations: 4.061 MB / 1.63 GB, free: 344.4 MB / 1.233 GB Notification: Performance of Backend: time 4.358e-06/4.07, allocations: 5.062 kB / 1.63 GB, free: 344.4 MB / 1.233 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.08622/4.156, allocations: 24.72 MB / 1.654 GB, free: 333.1 MB / 1.233 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.06496/4.221, allocations: 30.14 MB / 1.683 GB, free: 317.2 MB / 1.233 GB Notification: Performance of Templates: time 0.4032/4.624, allocations: 222.2 MB / 1.9 GB, free: 98.66 MB / 1.233 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 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)