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-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.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.0009378/0.0009382, allocations: 95.3 kB / 16.95 MB, free: 5.965 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.0009551/0.0009551, allocations: 183.7 kB / 17.84 MB, free: 5.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06019/0.06019, allocations: 14.15 MB / 286.4 MB, free: 14.1 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 5.211/5.211, allocations: 463.5 MB / 0.783 GB, free: 108.6 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: Performance of FrontEnd - loaded program: time 0.0006742/0.0006743, allocations: 15.98 kB / 0.9684 GB, free: 344 kB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897/1.898, allocations: 176 MB / 1.14 GB, free: 25.46 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.05575/1.954, allocations: 52.86 MB / 1.192 GB, free: 2.332 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.0595/2.013, allocations: 22.16 MB / 1.214 GB, free: 15.9 MB / 0.9204 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02205/2.036, allocations: 228.9 kB / 1.214 GB, free: 15.82 MB / 0.9204 GB Notification: Performance of NFTyping.typeComponents: time 0.01774/2.053, allocations: 2.216 MB / 1.216 GB, free: 13.89 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.04602/2.099, allocations: 7.953 MB / 1.224 GB, free: 7.355 MB / 0.9204 GB Notification: Performance of NFTyping.typeClassSections: time 0.01269/2.112, allocations: 2.208 MB / 1.226 GB, free: 5.648 MB / 0.9204 GB Notification: Performance of NFFlatten.flatten: time 0.0545/2.167, allocations: 14.33 MB / 1.24 GB, free: 12.63 MB / 0.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/2.178, allocations: 1.92 MB / 1.242 GB, free: 11.68 MB / 0.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02793/2.206, allocations: 5.444 MB / 1.247 GB, free: 8.34 MB / 0.936 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02044/2.227, allocations: 5.594 MB / 1.253 GB, free: 4.816 MB / 0.936 GB Notification: Performance of NFPackage.collectConstants: time 0.0063/2.233, allocations: 340 kB / 1.253 GB, free: 4.816 MB / 0.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01875/2.252, allocations: 1.131 MB / 1.254 GB, free: 4.641 MB / 0.936 GB Notification: Performance of NFScalarize.scalarize: time 0.006555/2.259, allocations: 1.382 MB / 1.255 GB, free: 3.512 MB / 0.936 GB Notification: Performance of NFVerifyModel.verify: time 0.01395/2.273, allocations: 2.172 MB / 1.257 GB, free: 2.305 MB / 0.936 GB Notification: Performance of NFConvertDAE.convert: time 0.03282/2.305, allocations: 11.46 MB / 1.269 GB, free: 9.848 MB / 0.9517 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/2.306, allocations: 0 / 1.269 GB, free: 9.848 MB / 0.9517 GB Notification: Performance of FrontEnd: time 5.711e-06/2.306, allocations: 1.344 kB / 1.269 GB, free: 9.848 MB / 0.9517 GB Notification: Performance of Transformations before backend: time 0.001172/2.307, allocations: 0 / 1.269 GB, free: 9.848 MB / 0.9517 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.06837/2.375, allocations: 13.73 MB / 1.282 GB, free: 1.121 MB / 0.9517 GB Notification: Performance of prepare preOptimizeDAE: time 8.636e-05/2.375, allocations: 8.031 kB / 1.282 GB, free: 1.113 MB / 0.9517 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01204/2.387, allocations: 1.657 MB / 1.284 GB, free: 15.44 MB / 0.9673 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02638/2.414, allocations: 6.385 MB / 1.29 GB, free: 8.969 MB / 0.9673 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/2.415, allocations: 0.6496 MB / 1.291 GB, free: 8.316 MB / 0.9673 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004299/2.419, allocations: 0.8671 MB / 1.291 GB, free: 7.449 MB / 0.9673 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03467/2.454, allocations: 8.906 MB / 1.3 GB, free: 14.14 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005975/2.455, allocations: 15.81 kB / 1.3 GB, free: 14.12 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003493/2.458, allocations: 356 kB / 1.3 GB, free: 13.77 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000265/2.459, allocations: 212 kB / 1.301 GB, free: 13.57 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02997/2.489, allocations: 8.57 MB / 1.309 GB, free: 4.977 MB / 0.9829 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.1152/2.604, allocations: 53.9 MB / 1.362 GB, free: 10.16 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02468/2.629, allocations: 10.73 MB / 1.372 GB, free: 15.39 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00123/2.63, allocations: 107.1 kB / 1.372 GB, free: 15.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001979/2.63, allocations: 129.7 kB / 1.372 GB, free: 15.14 MB / 1.061 GB Notification: Performance of pre-optimization done (n=909): time 1.824e-05/2.63, allocations: 0 / 1.372 GB, free: 15.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=911): time 0.07126/2.701, allocations: 20.52 MB / 1.392 GB, free: 10.55 MB / 1.077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/2.702, allocations: 352.2 kB / 1.393 GB, free: 10.14 MB / 1.077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01633/2.718, allocations: 5.724 MB / 1.398 GB, free: 4.469 MB / 1.077 GB Notification: Performance of collectPreVariables (initialization): time 0.002902/2.721, allocations: 197.7 kB / 1.398 GB, free: 4.27 MB / 1.077 GB Notification: Performance of collectInitialEqns (initialization): time 0.006425/2.727, allocations: 4.062 MB / 1.402 GB, free: 176 kB / 1.077 GB Notification: Performance of collectInitialBindings (initialization): time 0.006838/2.734, allocations: 3.142 MB / 1.406 GB, free: 12.98 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002458/2.737, allocations: 216 kB / 1.406 GB, free: 12.77 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.00123/2.738, allocations: 0.6895 MB / 1.406 GB, free: 12.08 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009957/2.748, allocations: 3.246 MB / 1.41 GB, free: 8.828 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01361/2.762, allocations: 5.251 MB / 1.415 GB, free: 2.852 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/2.774, allocations: 3.99 MB / 1.419 GB, free: 14.83 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/2.774, allocations: 15.94 kB / 1.419 GB, free: 14.81 MB / 1.108 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.04717/2.821, allocations: 14.28 MB / 1.433 GB, free: 396 kB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.01197/2.833, allocations: 23.82 MB / 1.456 GB, free: 7.039 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002051/2.833, allocations: 48 kB / 1.456 GB, free: 6.992 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02881/2.862, allocations: 5.909 MB / 1.462 GB, free: 1.012 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0096/2.872, allocations: 1.958 MB / 1.464 GB, free: 15.05 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1051/2.977, allocations: 55.97 MB / 1.518 GB, free: 4.367 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01353/2.991, allocations: 0.5681 MB / 1.519 GB, free: 3.797 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002699/2.993, allocations: 372 kB / 1.519 GB, free: 3.434 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/2.993, allocations: 4 kB / 1.519 GB, free: 3.43 MB / 1.202 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03516/3.029, allocations: 11.31 MB / 1.53 GB, free: 8 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003332/3.029, allocations: 55.98 kB / 1.53 GB, free: 7.945 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02549/3.054, allocations: 5.006 MB / 1.535 GB, free: 2.879 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01037/3.065, allocations: 2.099 MB / 1.537 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07115/3.136, allocations: 44.66 MB / 1.581 GB, free: 1.688 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01235/3.148, allocations: 450 kB / 1.581 GB, free: 1.246 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002466/3.151, allocations: 368 kB / 1.582 GB, free: 0.8867 MB / 1.264 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.009185/3.16, allocations: 1.728 MB / 1.583 GB, free: 15.15 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004896/3.165, allocations: 0.8994 MB / 1.584 GB, free: 14.24 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02365/3.189, allocations: 10.05 MB / 1.594 GB, free: 4.156 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001886/3.189, allocations: 43.84 kB / 1.594 GB, free: 4.113 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.642e-05/3.189, allocations: 3.984 kB / 1.594 GB, free: 4.109 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00783/3.197, allocations: 1.579 MB / 1.596 GB, free: 2.5 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003803/3.201, allocations: 156 kB / 1.596 GB, free: 2.348 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009464/3.21, allocations: 394.2 kB / 1.596 GB, free: 1.961 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002155/3.212, allocations: 0.7245 MB / 1.597 GB, free: 1.234 MB / 1.28 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 1.656/4.868, allocations: 9.61 MB / 1.606 GB, free: 382.9 MB / 1.28 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03366/4.902, allocations: 10.96 MB / 1.617 GB, free: 381.2 MB / 1.28 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009158/4.911, allocations: 3.035 MB / 1.62 GB, free: 380 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.01129/4.923, allocations: 3.615 MB / 1.623 GB, free: 378.7 MB / 1.28 GB Notification: Performance of Backend: time 1.283e-06/4.923, allocations: 0 / 1.623 GB, free: 378.7 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.07412/4.997, allocations: 24.01 MB / 1.647 GB, free: 368 MB / 1.28 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.05622/5.053, allocations: 25.04 MB / 1.671 GB, free: 352.4 MB / 1.28 GB Notification: Performance of Templates: time 0.3448/5.398, allocations: 168.2 MB / 1.835 GB, free: 208 MB / 1.28 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: