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.001112/0.001112, allocations: 101.4 kB / 17.32 MB, free: 6.352 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.001265/0.001265, allocations: 189.8 kB / 18.23 MB, free: 5.52 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.504/1.504, allocations: 205.4 MB / 224.4 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0685/0.0685, allocations: 14.16 MB / 286.8 MB, free: 13.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.878/2.878, allocations: 421.4 MB / 0.7423 GB, free: 4.141 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.0006373/0.0006374, allocations: 20 kB / 0.917 GB, free: 9.738 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.103/1.103, allocations: 164.7 MB / 1.078 GB, free: 14.65 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.06085/1.164, allocations: 62.66 MB / 1.139 GB, free: 12.06 MB / 0.8428 GB Notification: Performance of NFInst.instExpressions: time 0.05506/1.219, allocations: 23.06 MB / 1.162 GB, free: 8.633 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01753/1.237, allocations: 239.5 kB / 1.162 GB, free: 8.559 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01299/1.25, allocations: 2.798 MB / 1.164 GB, free: 6.391 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.03396/1.284, allocations: 8.046 MB / 1.172 GB, free: 15.61 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01082/1.295, allocations: 3 MB / 1.175 GB, free: 13.11 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.03812/1.333, allocations: 20.9 MB / 1.196 GB, free: 13.2 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006753/1.34, allocations: 2.364 MB / 1.198 GB, free: 10.76 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01357/1.353, allocations: 5.234 MB / 1.203 GB, free: 5.5 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01263/1.366, allocations: 5.995 MB / 1.209 GB, free: 15.48 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.003706/1.37, allocations: 340 kB / 1.209 GB, free: 15.14 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009603/1.379, allocations: 1.074 MB / 1.21 GB, free: 14.07 MB / 0.9053 GB Notification: Performance of NFScalarize.scalarize: time 0.003776/1.383, allocations: 1.46 MB / 1.212 GB, free: 12.6 MB / 0.9053 GB Notification: Performance of NFVerifyModel.verify: time 0.01777/1.401, allocations: 5.618 MB / 1.217 GB, free: 6.945 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.02753/1.429, allocations: 14.18 MB / 1.231 GB, free: 8.719 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.429, allocations: 0 / 1.231 GB, free: 8.719 MB / 0.9209 GB Notification: Performance of FrontEnd: time 2.886e-06/1.429, allocations: 0 / 1.231 GB, free: 8.719 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0006248/1.429, allocations: 0 / 1.231 GB, free: 8.719 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.05214/1.481, allocations: 13.64 MB / 1.244 GB, free: 10.96 MB / 0.9365 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/1.481, allocations: 8.031 kB / 1.244 GB, free: 10.96 MB / 0.9365 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008934/1.49, allocations: 1.646 MB / 1.246 GB, free: 9.297 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01683/1.507, allocations: 6.641 MB / 1.253 GB, free: 2.562 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008223/1.508, allocations: 0.6535 MB / 1.253 GB, free: 1.906 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002694/1.511, allocations: 0.867 MB / 1.254 GB, free: 1.039 MB / 0.9365 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/1.534, allocations: 9.043 MB / 1.263 GB, free: 7.59 MB / 0.9521 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003621/1.535, allocations: 15.81 kB / 1.263 GB, free: 7.574 MB / 0.9521 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001655/1.536, allocations: 352 kB / 1.263 GB, free: 7.23 MB / 0.9521 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001911/1.537, allocations: 212 kB / 1.263 GB, free: 7.023 MB / 0.9521 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/1.558, allocations: 8.636 MB / 1.272 GB, free: 14.37 MB / 0.9678 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.09299/1.651, allocations: 53.94 MB / 1.324 GB, free: 3.516 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.673, allocations: 10.79 MB / 1.335 GB, free: 8.688 MB / 1.03 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009053/1.682, allocations: 4.047 MB / 1.339 GB, free: 4.633 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009075/1.683, allocations: 115.1 kB / 1.339 GB, free: 4.52 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001524/1.683, allocations: 121.7 kB / 1.339 GB, free: 4.391 MB / 1.03 GB Notification: Performance of pre-optimization done (n=909): time 2.087e-05/1.683, allocations: 0 / 1.339 GB, free: 4.391 MB / 1.03 GB Notification: Performance of matching and sorting (n=911): time 0.05882/1.742, allocations: 20.7 MB / 1.359 GB, free: 15.61 MB / 1.062 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001975/1.742, allocations: 352.2 kB / 1.36 GB, free: 15.2 MB / 1.062 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01166/1.754, allocations: 5.79 MB / 1.365 GB, free: 9.461 MB / 1.062 GB Notification: Performance of collectPreVariables (initialization): time 0.001648/1.755, allocations: 189.7 kB / 1.366 GB, free: 9.27 MB / 1.062 GB Notification: Performance of collectInitialEqns (initialization): time 0.004185/1.76, allocations: 4.058 MB / 1.37 GB, free: 5.176 MB / 1.062 GB Notification: Performance of collectInitialBindings (initialization): time 0.004614/1.764, allocations: 3.149 MB / 1.373 GB, free: 1.98 MB / 1.062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002529/1.767, allocations: 0.8298 MB / 1.373 GB, free: 1.145 MB / 1.062 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/1.767, allocations: 305.1 kB / 1.374 GB, free: 0.8438 MB / 1.062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00841/1.775, allocations: 3.293 MB / 1.377 GB, free: 13.55 MB / 1.077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01096/1.786, allocations: 5.333 MB / 1.382 GB, free: 7.492 MB / 1.077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/1.806, allocations: 8.717 MB / 1.391 GB, free: 14.05 MB / 1.093 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.171e-05/1.806, allocations: 16 kB / 1.391 GB, free: 14.04 MB / 1.093 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.04242/1.849, allocations: 14.42 MB / 1.405 GB, free: 15.48 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.00118/1.85, allocations: 1.548 MB / 1.406 GB, free: 13.25 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.083e-05/1.85, allocations: 48 kB / 1.406 GB, free: 13.2 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03234/1.883, allocations: 6.457 MB / 1.413 GB, free: 6.672 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008906/1.892, allocations: 1.954 MB / 1.415 GB, free: 4.715 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09119/1.983, allocations: 54.76 MB / 1.468 GB, free: 11.23 MB / 1.171 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/1.994, allocations: 0.5603 MB / 1.469 GB, free: 10.67 MB / 1.171 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/1.996, allocations: 376 kB / 1.469 GB, free: 10.3 MB / 1.171 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/1.996, allocations: 4 kB / 1.469 GB, free: 10.3 MB / 1.171 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0343/2.031, allocations: 11.43 MB / 1.48 GB, free: 14.75 MB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/2.031, allocations: 51.94 kB / 1.48 GB, free: 14.7 MB / 1.187 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02612/2.057, allocations: 5.039 MB / 1.485 GB, free: 9.605 MB / 1.187 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009723/2.067, allocations: 2.095 MB / 1.487 GB, free: 7.508 MB / 1.187 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.696/2.763, allocations: 43.87 MB / 1.53 GB, free: 359.3 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01006/2.773, allocations: 445.9 kB / 1.53 GB, free: 359.1 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00199/2.775, allocations: 372.8 kB / 1.531 GB, free: 359 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 (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.006181/2.781, allocations: 1.731 MB / 1.532 GB, free: 358 MB / 1.202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003085/2.784, allocations: 0.8973 MB / 1.533 GB, free: 358 MB / 1.202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02297/2.807, allocations: 10.13 MB / 1.543 GB, free: 353.9 MB / 1.202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002151/2.807, allocations: 44.33 kB / 1.543 GB, free: 353.9 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/2.807, allocations: 0 / 1.543 GB, free: 353.9 MB / 1.202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005654/2.813, allocations: 1.595 MB / 1.545 GB, free: 353.3 MB / 1.202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002663/2.816, allocations: 158.4 kB / 1.545 GB, free: 353.2 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00797/2.824, allocations: 388.8 kB / 1.545 GB, free: 353.1 MB / 1.202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00244/2.826, allocations: 0.724 MB / 1.546 GB, free: 353 MB / 1.202 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03261/2.859, allocations: 9.68 MB / 1.555 GB, free: 349.8 MB / 1.202 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03037/2.889, allocations: 11.05 MB / 1.566 GB, free: 345 MB / 1.202 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007022/2.896, allocations: 3.067 MB / 1.569 GB, free: 343.8 MB / 1.202 GB Notification: Performance of sorting global known variables: time 0.008775/2.905, allocations: 3.675 MB / 1.573 GB, free: 342.5 MB / 1.202 GB Notification: Performance of Backend: time 1.302e-06/2.905, allocations: 0 / 1.573 GB, free: 342.5 MB / 1.202 GB Notification: Performance of simCode: created initialization part: time 0.06574/2.971, allocations: 24.33 MB / 1.597 GB, free: 329.8 MB / 1.202 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.04097/3.012, allocations: 23.2 MB / 1.619 GB, free: 307.4 MB / 1.202 GB Notification: Performance of Templates: time 0.2823/3.294, allocations: 172.8 MB / 1.788 GB, free: 134.4 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)