Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_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.2/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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") translateModel(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_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.001383/0.001383, allocations: 92.62 kB / 16.96 MB, free: 6 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.001106/0.001106, allocations: 182.1 kB / 17.85 MB, free: 5.656 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.946/1.946, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05873/0.05873, allocations: 14.15 MB / 286.4 MB, free: 14.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 4.353/4.353, allocations: 421.4 MB / 0.7419 GB, free: 4.23 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: Performance of FrontEnd - loaded program: time 0.0006388/0.0006391, allocations: 20 kB / 0.9162 GB, free: 10.16 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859/1.859, allocations: 164.7 MB / 1.077 GB, free: 14.81 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.06482/1.924, allocations: 58.37 MB / 1.134 GB, free: 468 kB / 0.8271 GB Notification: Performance of NFInst.instExpressions: time 0.05664/1.981, allocations: 22.07 MB / 1.156 GB, free: 13.82 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02307/2.004, allocations: 238.6 kB / 1.156 GB, free: 13.75 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01644/2.02, allocations: 2.333 MB / 1.158 GB, free: 11.73 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.04363/2.064, allocations: 7.016 MB / 1.165 GB, free: 5.938 MB / 0.8584 GB Notification: Performance of NFTyping.typeClassSections: time 0.01565/2.08, allocations: 2.16 MB / 1.167 GB, free: 4.266 MB / 0.8584 GB Notification: Performance of NFFlatten.flatten: time 0.05031/2.13, allocations: 19.87 MB / 1.186 GB, free: 6.223 MB / 0.874 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009039/2.139, allocations: 1.909 MB / 1.188 GB, free: 4.266 MB / 0.874 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0171/2.156, allocations: 5.092 MB / 1.193 GB, free: 15.15 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01799/2.174, allocations: 5.748 MB / 1.199 GB, free: 9.375 MB / 0.8896 GB Notification: Performance of NFPackage.collectConstants: time 0.007437/2.182, allocations: 340 kB / 1.199 GB, free: 9.043 MB / 0.8896 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01688/2.199, allocations: 1.07 MB / 1.2 GB, free: 7.973 MB / 0.8896 GB Notification: Performance of NFScalarize.scalarize: time 0.005487/2.204, allocations: 1.402 MB / 1.202 GB, free: 6.562 MB / 0.8896 GB Notification: Performance of NFVerifyModel.verify: time 0.01021/2.215, allocations: 2.176 MB / 1.204 GB, free: 4.375 MB / 0.8896 GB Notification: Performance of NFConvertDAE.convert: time 0.02797/2.243, allocations: 11.56 MB / 1.215 GB, free: 8.789 MB / 0.9053 GB Notification: Performance of FrontEnd - DAE generated: time 1.365e-05/2.243, allocations: 0 / 1.215 GB, free: 8.789 MB / 0.9053 GB Notification: Performance of FrontEnd: time 4.208e-06/2.243, allocations: 4 kB / 1.215 GB, free: 8.785 MB / 0.9053 GB Notification: Performance of Transformations before backend: time 0.001111/2.244, allocations: 0 / 1.215 GB, free: 8.785 MB / 0.9053 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.0563/2.3, allocations: 13.74 MB / 1.229 GB, free: 10.94 MB / 0.9209 GB Notification: Performance of prepare preOptimizeDAE: time 8.519e-05/2.3, allocations: 8.031 kB / 1.229 GB, free: 10.93 MB / 0.9209 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01243/2.313, allocations: 1.653 MB / 1.23 GB, free: 9.262 MB / 0.9209 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02302/2.336, allocations: 6.381 MB / 1.236 GB, free: 2.793 MB / 0.9209 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008162/2.337, allocations: 0.6535 MB / 1.237 GB, free: 2.137 MB / 0.9209 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003507/2.34, allocations: 0.8709 MB / 1.238 GB, free: 1.266 MB / 0.9209 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02941/2.37, allocations: 8.977 MB / 1.247 GB, free: 7.883 MB / 0.9365 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002851/2.37, allocations: 15.81 kB / 1.247 GB, free: 7.867 MB / 0.9365 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002465/2.372, allocations: 356 kB / 1.247 GB, free: 7.52 MB / 0.9365 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/2.373, allocations: 216 kB / 1.247 GB, free: 7.309 MB / 0.9365 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02607/2.399, allocations: 8.566 MB / 1.256 GB, free: 14.72 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.113/2.512, allocations: 53.91 MB / 1.308 GB, free: 3.902 MB / 0.999 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02497/2.537, allocations: 10.75 MB / 1.319 GB, free: 9.117 MB / 1.015 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01086/2.548, allocations: 4.02 MB / 1.323 GB, free: 5.09 MB / 1.015 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/2.549, allocations: 107.1 kB / 1.323 GB, free: 4.984 MB / 1.015 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001944/2.549, allocations: 133.6 kB / 1.323 GB, free: 4.844 MB / 1.015 GB Notification: Performance of pre-optimization done (n=909): time 1.971e-05/2.549, allocations: 0 / 1.323 GB, free: 4.844 MB / 1.015 GB Notification: Performance of matching and sorting (n=911): time 0.07521/2.625, allocations: 20.55 MB / 1.343 GB, free: 228 kB / 1.03 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002486/2.625, allocations: 352.2 kB / 1.343 GB, free: 15.82 MB / 1.046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01728/2.642, allocations: 5.724 MB / 1.349 GB, free: 10.14 MB / 1.046 GB Notification: Performance of collectPreVariables (initialization): time 0.002779/2.645, allocations: 193.7 kB / 1.349 GB, free: 9.945 MB / 1.046 GB Notification: Performance of collectInitialEqns (initialization): time 0.00526/2.65, allocations: 4.055 MB / 1.353 GB, free: 5.855 MB / 1.046 GB Notification: Performance of collectInitialBindings (initialization): time 0.006152/2.656, allocations: 3.145 MB / 1.356 GB, free: 2.664 MB / 1.046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/2.658, allocations: 215.9 kB / 1.356 GB, free: 2.453 MB / 1.046 GB Notification: Performance of setup shared object (initialization): time 0.0009156/2.659, allocations: 0.6973 MB / 1.357 GB, free: 1.75 MB / 1.046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00829/2.668, allocations: 3.25 MB / 1.36 GB, free: 14.49 MB / 1.062 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009964/2.678, allocations: 5.278 MB / 1.365 GB, free: 8.488 MB / 1.062 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009735/2.687, allocations: 3.986 MB / 1.369 GB, free: 4.469 MB / 1.062 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.369e-05/2.687, allocations: 16 kB / 1.369 GB, free: 4.453 MB / 1.062 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.03734/2.725, allocations: 14.29 MB / 1.383 GB, free: 6.023 MB / 1.077 GB Notification: Performance of prepare postOptimizeDAE: time 0.001397/2.726, allocations: 1.552 MB / 1.385 GB, free: 3.793 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.078e-05/2.726, allocations: 44 kB / 1.385 GB, free: 3.75 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02643/2.753, allocations: 5.936 MB / 1.39 GB, free: 13.74 MB / 1.093 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009248/2.762, allocations: 1.958 MB / 1.392 GB, free: 11.78 MB / 1.093 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07888/2.841, allocations: 54.65 MB / 1.446 GB, free: 2.406 MB / 1.14 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/2.853, allocations: 0.5719 MB / 1.446 GB, free: 1.832 MB / 1.14 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002366/2.855, allocations: 376 kB / 1.447 GB, free: 1.465 MB / 1.14 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/2.855, allocations: 4 kB / 1.447 GB, free: 1.461 MB / 1.14 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0247/2.88, allocations: 11.32 MB / 1.458 GB, free: 6.023 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001089/2.88, allocations: 48 kB / 1.458 GB, free: 5.977 MB / 1.155 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02245/2.903, allocations: 5.026 MB / 1.463 GB, free: 0.8906 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01015/2.913, allocations: 2.099 MB / 1.465 GB, free: 14.79 MB / 1.171 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06096/2.974, allocations: 43.77 MB / 1.507 GB, free: 0.582 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01396/2.988, allocations: 446 kB / 1.508 GB, free: 148 kB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009/3.997, allocations: 364.2 kB / 1.508 GB, free: 362.6 MB / 1.202 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 (1063): * Single equations (assignments): 1043 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0} * Non-linear torn systems: 12 {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.0118/4.008, allocations: 1.72 MB / 1.51 GB, free: 362.4 MB / 1.202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0047/4.013, allocations: 0.9024 MB / 1.511 GB, free: 362.4 MB / 1.202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02552/4.039, allocations: 10.06 MB / 1.521 GB, free: 362 MB / 1.202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000227/4.039, allocations: 48.28 kB / 1.521 GB, free: 362 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/4.039, allocations: 5.422 kB / 1.521 GB, free: 362 MB / 1.202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007526/4.047, allocations: 1.592 MB / 1.522 GB, free: 361.9 MB / 1.202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003512/4.05, allocations: 157.2 kB / 1.522 GB, free: 361.9 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008186/4.058, allocations: 395 kB / 1.523 GB, free: 361.9 MB / 1.202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00194/4.06, allocations: 0.7264 MB / 1.523 GB, free: 361.9 MB / 1.202 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03423/4.095, allocations: 9.613 MB / 1.533 GB, free: 359.3 MB / 1.202 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04581/4.14, allocations: 10.96 MB / 1.544 GB, free: 354.9 MB / 1.202 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008661/4.149, allocations: 3.034 MB / 1.547 GB, free: 353.6 MB / 1.202 GB Notification: Performance of sorting global known variables: time 0.01178/4.161, allocations: 3.618 MB / 1.55 GB, free: 352.4 MB / 1.202 GB Notification: Performance of Backend: time 1.402e-06/4.161, allocations: 3.938 kB / 1.55 GB, free: 352.4 MB / 1.202 GB Notification: Performance of simCode: created initialization part: time 0.07935/4.24, allocations: 24.23 MB / 1.574 GB, free: 341.1 MB / 1.202 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.05356/4.294, allocations: 22.13 MB / 1.595 GB, free: 328.7 MB / 1.202 GB Notification: Performance of Templates: time 0.2819/4.576, allocations: 168.5 MB / 1.76 GB, free: 162.7 MB / 1.202 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)