Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.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.Models.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 94.09 kB / 16.97 MB, free: 6.406 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.001434/0.001434, allocations: 184 kB / 17.86 MB, free: 5.973 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.905/1.905, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0579/0.0579, allocations: 14.16 MB / 286.4 MB, free: 13.99 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 4.265/4.265, allocations: 421.4 MB / 0.7419 GB, free: 4.219 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.0006386/0.0006389, allocations: 16 kB / 0.9162 GB, free: 10.16 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824/1.824, allocations: 164.7 MB / 1.077 GB, free: 14.62 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.06469/1.889, allocations: 50.77 MB / 1.127 GB, free: 6.305 MB / 0.8271 GB Notification: Performance of NFInst.instExpressions: time 0.05919/1.948, allocations: 19.46 MB / 1.146 GB, free: 5.891 MB / 0.8428 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02174/1.97, allocations: 212.7 kB / 1.146 GB, free: 5.824 MB / 0.8428 GB Notification: Performance of NFTyping.typeComponents: time 0.01397/1.984, allocations: 2.026 MB / 1.148 GB, free: 4.07 MB / 0.8428 GB Notification: Performance of NFTyping.typeBindings: time 0.03499/2.019, allocations: 6.08 MB / 1.154 GB, free: 15.04 MB / 0.8584 GB Notification: Performance of NFTyping.typeClassSections: time 0.01065/2.03, allocations: 2.054 MB / 1.156 GB, free: 13.45 MB / 0.8584 GB Notification: Performance of NFFlatten.flatten: time 0.04107/2.071, allocations: 17.3 MB / 1.173 GB, free: 3.227 MB / 0.8584 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009734/2.081, allocations: 1.776 MB / 1.174 GB, free: 2.34 MB / 0.8584 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01758/2.098, allocations: 4.436 MB / 1.179 GB, free: 14.02 MB / 0.874 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01953/2.118, allocations: 5.02 MB / 1.184 GB, free: 8.98 MB / 0.874 GB Notification: Performance of NFPackage.collectConstants: time 0.005473/2.123, allocations: 308 kB / 1.184 GB, free: 8.68 MB / 0.874 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01242/2.136, allocations: 0.9567 MB / 1.185 GB, free: 7.723 MB / 0.874 GB Notification: Performance of NFScalarize.scalarize: time 0.004867/2.141, allocations: 1.247 MB / 1.186 GB, free: 6.469 MB / 0.874 GB Notification: Performance of NFVerifyModel.verify: time 0.009416/2.15, allocations: 1.911 MB / 1.188 GB, free: 4.547 MB / 0.874 GB Notification: Performance of NFConvertDAE.convert: time 0.02665/2.177, allocations: 10.34 MB / 1.198 GB, free: 10.18 MB / 0.8896 GB Notification: Performance of FrontEnd - DAE generated: time 9.377e-06/2.177, allocations: 0 / 1.198 GB, free: 10.18 MB / 0.8896 GB Notification: Performance of FrontEnd: time 2.024e-06/2.177, allocations: 0 / 1.198 GB, free: 10.18 MB / 0.8896 GB Notification: Performance of Transformations before backend: time 0.0007393/2.178, allocations: 0 / 1.198 GB, free: 10.18 MB / 0.8896 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1920 * Number of variables: 1920 Notification: Performance of Generate backend data structure: time 0.05116/2.229, allocations: 12.07 MB / 1.21 GB, free: 14 MB / 0.9053 GB Notification: Performance of prepare preOptimizeDAE: time 9.199e-05/2.229, allocations: 12.03 kB / 1.21 GB, free: 13.99 MB / 0.9053 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/2.24, allocations: 1.44 MB / 1.211 GB, free: 12.54 MB / 0.9053 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01775/2.257, allocations: 5.72 MB / 1.217 GB, free: 6.754 MB / 0.9053 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009979/2.259, allocations: 0.5811 MB / 1.217 GB, free: 6.172 MB / 0.9053 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003658/2.262, allocations: 0.7655 MB / 1.218 GB, free: 5.406 MB / 0.9053 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03355/2.296, allocations: 7.887 MB / 1.226 GB, free: 13.19 MB / 0.9209 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000587/2.296, allocations: 19.88 kB / 1.226 GB, free: 13.17 MB / 0.9209 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002949/2.299, allocations: 311.9 kB / 1.226 GB, free: 12.87 MB / 0.9209 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002283/2.3, allocations: 184 kB / 1.226 GB, free: 12.69 MB / 0.9209 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02414/2.324, allocations: 7.555 MB / 1.234 GB, free: 5.121 MB / 0.9209 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.1002/2.424, allocations: 46.35 MB / 1.279 GB, free: 2.676 MB / 0.9678 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02141/2.446, allocations: 9.388 MB / 1.288 GB, free: 9.172 MB / 0.9834 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009131/2.455, allocations: 3.549 MB / 1.292 GB, free: 5.609 MB / 0.9834 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/2.456, allocations: 102.1 kB / 1.292 GB, free: 5.508 MB / 0.9834 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002093/2.456, allocations: 116.7 kB / 1.292 GB, free: 5.383 MB / 0.9834 GB Notification: Performance of pre-optimization done (n=787): time 3.369e-05/2.456, allocations: 0 / 1.292 GB, free: 5.383 MB / 0.9834 GB Notification: Performance of matching and sorting (n=789): time 0.06101/2.517, allocations: 17.99 MB / 1.309 GB, free: 3.266 MB / 0.999 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002456/2.517, allocations: 343.2 kB / 1.31 GB, free: 2.867 MB / 0.999 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01593/2.533, allocations: 5.162 MB / 1.315 GB, free: 13.73 MB / 1.015 GB Notification: Performance of collectPreVariables (initialization): time 0.002248/2.536, allocations: 173.7 kB / 1.315 GB, free: 13.55 MB / 1.015 GB Notification: Performance of collectInitialEqns (initialization): time 0.005072/2.541, allocations: 3.583 MB / 1.318 GB, free: 9.938 MB / 1.015 GB Notification: Performance of collectInitialBindings (initialization): time 0.005786/2.547, allocations: 2.737 MB / 1.321 GB, free: 7.16 MB / 1.015 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002302/2.549, allocations: 188 kB / 1.321 GB, free: 6.977 MB / 1.015 GB Notification: Performance of setup shared object (initialization): time 0.001022/2.55, allocations: 0.6515 MB / 1.322 GB, free: 6.316 MB / 1.015 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008923/2.559, allocations: 2.923 MB / 1.325 GB, free: 3.387 MB / 1.015 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/2.57, allocations: 4.772 MB / 1.329 GB, free: 13.96 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/2.58, allocations: 3.576 MB / 1.333 GB, free: 10.38 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.658e-05/2.581, allocations: 12 kB / 1.333 GB, free: 10.37 MB / 1.03 GB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.04286/2.623, allocations: 12.84 MB / 1.345 GB, free: 13.45 MB / 1.046 GB Notification: Performance of prepare postOptimizeDAE: time 0.002203/2.626, allocations: 1.391 MB / 1.347 GB, free: 11.46 MB / 1.046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001993/2.626, allocations: 44 kB / 1.347 GB, free: 11.42 MB / 1.046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02532/2.651, allocations: 5.249 MB / 1.352 GB, free: 6.102 MB / 1.046 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008155/2.659, allocations: 1.751 MB / 1.354 GB, free: 4.348 MB / 1.046 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07505/2.735, allocations: 50.95 MB / 1.403 GB, free: 14.67 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/2.745, allocations: 0.51 MB / 1.404 GB, free: 14.16 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/2.747, allocations: 336 kB / 1.404 GB, free: 13.83 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/2.747, allocations: 4 kB / 1.404 GB, free: 13.82 MB / 1.108 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02196/2.769, allocations: 9.944 MB / 1.414 GB, free: 3.82 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.897e-05/2.77, allocations: 48 kB / 1.414 GB, free: 3.773 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01929/2.789, allocations: 4.341 MB / 1.418 GB, free: 15.38 MB / 1.124 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008881/2.798, allocations: 1.892 MB / 1.42 GB, free: 13.48 MB / 1.124 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04944/2.847, allocations: 39.99 MB / 1.459 GB, free: 3.051 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009384/2.857, allocations: 398.5 kB / 1.46 GB, free: 2.66 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001686/2.858, allocations: 328 kB / 1.46 GB, free: 2.34 MB / 1.155 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * 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 (951): * Single equations (assignments): 931 * 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,172 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.005757/2.864, allocations: 1.56 MB / 1.461 GB, free: 0.7695 MB / 1.155 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002688/2.867, allocations: 0.8029 MB / 1.462 GB, free: 15.96 MB / 1.171 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/2.885, allocations: 8.709 MB / 1.471 GB, free: 7.188 MB / 1.171 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.528e-05/2.885, allocations: 35.86 kB / 1.471 GB, free: 7.152 MB / 1.171 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/2.885, allocations: 3.984 kB / 1.471 GB, free: 7.148 MB / 1.171 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00578/2.89, allocations: 1.42 MB / 1.472 GB, free: 5.699 MB / 1.171 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002534/2.893, allocations: 140 kB / 1.472 GB, free: 5.562 MB / 1.171 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006257/2.899, allocations: 346.5 kB / 1.473 GB, free: 5.223 MB / 1.171 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/2.901, allocations: 0.626 MB / 1.473 GB, free: 4.594 MB / 1.171 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02091/2.921, allocations: 8.398 MB / 1.481 GB, free: 12.14 MB / 1.187 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01657/2.938, allocations: 9.711 MB / 1.491 GB, free: 2.336 MB / 1.187 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00474/2.943, allocations: 2.696 MB / 1.494 GB, free: 15.62 MB / 1.202 GB Notification: Performance of sorting global known variables: time 0.006915/2.95, allocations: 3.254 MB / 1.497 GB, free: 12.39 MB / 1.202 GB Notification: Performance of Backend: time 1.012e-06/2.95, allocations: 0 / 1.497 GB, free: 12.39 MB / 1.202 GB Notification: Performance of simCode: created initialization part: time 0.8723/3.822, allocations: 21.72 MB / 1.518 GB, free: 369.2 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.05958/3.882, allocations: 19.53 MB / 1.537 GB, free: 360 MB / 1.202 GB Notification: Performance of Templates: time 0.318/4.2, allocations: 148.2 MB / 1.682 GB, free: 246 MB / 1.202 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe 2>&1)