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.3/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.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.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.001332/0.001332, allocations: 107.9 kB / 18.36 MB, free: 4.832 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.001394/0.001394, allocations: 186.9 kB / 19.28 MB, free: 3.91 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.403/1.403, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06739/0.06739, allocations: 14.16 MB / 286.7 MB, free: 13.87 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.949/3.949, allocations: 461.2 MB / 0.78 GB, free: 107.1 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: 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.002363/0.002364, allocations: 84.44 kB / 0.963 GB, free: 2.004 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486/1.489, allocations: 172.1 MB / 1.131 GB, free: 28.89 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.05631/1.545, allocations: 63.82 MB / 1.193 GB, free: 12.42 MB / 0.9048 GB Notification: Performance of NFInst.instExpressions: time 0.04845/1.594, allocations: 23.29 MB / 1.216 GB, free: 8.777 MB / 0.9204 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01772/1.612, allocations: 239.5 kB / 1.216 GB, free: 8.707 MB / 0.9204 GB Notification: Performance of NFTyping.typeComponents: time 0.01501/1.627, allocations: 3.309 MB / 1.22 GB, free: 6.02 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.03782/1.665, allocations: 8.87 MB / 1.228 GB, free: 14.43 MB / 0.936 GB Notification: Performance of NFTyping.typeClassSections: time 0.01145/1.676, allocations: 3.254 MB / 1.231 GB, free: 11.68 MB / 0.936 GB Notification: Performance of NFFlatten.flatten: time 0.03848/1.714, allocations: 21.26 MB / 1.252 GB, free: 14.46 MB / 0.9517 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006894/1.721, allocations: 2.51 MB / 1.255 GB, free: 13.14 MB / 0.9517 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0191/1.741, allocations: 6.991 MB / 1.261 GB, free: 8.793 MB / 0.9517 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02118/1.762, allocations: 7.574 MB / 1.269 GB, free: 3.555 MB / 0.9517 GB Notification: Performance of NFPackage.collectConstants: time 0.008357/1.77, allocations: 1.046 MB / 1.27 GB, free: 3.555 MB / 0.9517 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01359/1.784, allocations: 2.043 MB / 1.272 GB, free: 3.355 MB / 0.9517 GB Notification: Performance of NFScalarize.scalarize: time 0.005492/1.789, allocations: 2.315 MB / 1.274 GB, free: 1.297 MB / 0.9517 GB Notification: Performance of NFVerifyModel.verify: time 0.02286/1.812, allocations: 6.714 MB / 1.281 GB, free: 12.46 MB / 0.9673 GB Notification: Performance of NFConvertDAE.convert: time 0.03538/1.848, allocations: 16.14 MB / 1.296 GB, free: 15.05 MB / 0.9829 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/1.848, allocations: 0 / 1.296 GB, free: 15.05 MB / 0.9829 GB Notification: Performance of FrontEnd: time 2.515e-06/1.848, allocations: 0 / 1.296 GB, free: 15.05 MB / 0.9829 GB Notification: Performance of Transformations before backend: time 0.0007212/1.849, allocations: 0 / 1.296 GB, free: 15.05 MB / 0.9829 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.07434/1.923, allocations: 16.36 MB / 1.312 GB, free: 14.57 MB / 0.9985 GB Notification: Performance of prepare preOptimizeDAE: time 8.89e-05/1.923, allocations: 8.031 kB / 1.312 GB, free: 14.57 MB / 0.9985 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/1.938, allocations: 1.646 MB / 1.314 GB, free: 12.91 MB / 0.9985 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02554/1.964, allocations: 7.087 MB / 1.321 GB, free: 5.73 MB / 0.9985 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001057/1.965, allocations: 0.6535 MB / 1.322 GB, free: 5.074 MB / 0.9985 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003754/1.969, allocations: 0.8671 MB / 1.322 GB, free: 4.207 MB / 0.9985 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03081/2, allocations: 8.981 MB / 1.331 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005894/2, allocations: 15.81 kB / 1.331 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002853/2.003, allocations: 356 kB / 1.332 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002504/2.003, allocations: 216 kB / 1.332 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03032/2.034, allocations: 8.519 MB / 1.34 GB, free: 1.707 MB / 1.014 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.132/2.166, allocations: 57.06 MB / 1.396 GB, free: 3.727 MB / 1.077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02667/2.193, allocations: 10.67 MB / 1.406 GB, free: 9.02 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01117/2.204, allocations: 4.012 MB / 1.41 GB, free: 4.996 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/2.205, allocations: 111.1 kB / 1.41 GB, free: 4.887 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/2.205, allocations: 129.7 kB / 1.41 GB, free: 4.75 MB / 1.092 GB Notification: Performance of pre-optimization done (n=909): time 3.729e-05/2.206, allocations: 0 / 1.41 GB, free: 4.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=909): time 0.04147/2.247, allocations: 12 MB / 1.422 GB, free: 8.719 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002684/2.247, allocations: 360.1 kB / 1.422 GB, free: 8.305 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01839/2.266, allocations: 6.313 MB / 1.429 GB, free: 2.039 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.002395/2.268, allocations: 189.7 kB / 1.429 GB, free: 1.848 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.005898/2.274, allocations: 4.035 MB / 1.433 GB, free: 13.78 MB / 1.124 GB Notification: Performance of collectInitialBindings (initialization): time 0.006756/2.281, allocations: 3.142 MB / 1.436 GB, free: 10.59 MB / 1.124 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008511/2.289, allocations: 1.737 MB / 1.438 GB, free: 8.844 MB / 1.124 GB Notification: Performance of setup shared object (initialization): time 0.0001416/2.29, allocations: 301.1 kB / 1.438 GB, free: 8.547 MB / 1.124 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009421/2.299, allocations: 3.279 MB / 1.441 GB, free: 5.258 MB / 1.124 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/2.313, allocations: 5.266 MB / 1.446 GB, free: 15.27 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02219/2.336, allocations: 8.588 MB / 1.455 GB, free: 5.957 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/2.336, allocations: 12 kB / 1.455 GB, free: 5.945 MB / 1.139 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.04821/2.384, allocations: 13.89 MB / 1.468 GB, free: 7.91 MB / 1.155 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001/2.384, allocations: 24 kB / 1.468 GB, free: 7.887 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/2.384, allocations: 48 kB / 1.468 GB, free: 7.84 MB / 1.155 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03108/2.415, allocations: 6.184 MB / 1.474 GB, free: 1.586 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009098/2.425, allocations: 1.95 MB / 1.476 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08965/2.514, allocations: 58.01 MB / 1.533 GB, free: 2.754 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/2.529, allocations: 0.8559 MB / 1.534 GB, free: 1.891 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00244/2.532, allocations: 380 kB / 1.534 GB, free: 1.52 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01405/2.546, allocations: 4.254 MB / 1.538 GB, free: 13.25 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01062/2.557, allocations: 5.028 MB / 1.543 GB, free: 7.5 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0174/2.574, allocations: 8.26 MB / 1.551 GB, free: 14.52 MB / 1.249 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.348e-05/2.574, allocations: 12 kB / 1.551 GB, free: 14.51 MB / 1.249 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.03493/2.609, allocations: 12.19 MB / 1.563 GB, free: 2.176 MB / 1.249 GB Notification: Performance of prepare postOptimizeDAE: time 5.443e-05/2.609, allocations: 28.78 kB / 1.563 GB, free: 2.148 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.709e-05/2.609, allocations: 48.84 kB / 1.563 GB, free: 2.102 MB / 1.249 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02581/2.635, allocations: 5.117 MB / 1.568 GB, free: 12.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009645/2.645, allocations: 2.095 MB / 1.57 GB, free: 10.83 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202/3.847, allocations: 47.57 MB / 1.617 GB, free: 345.6 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0121/3.859, allocations: 0.6552 MB / 1.617 GB, free: 345.4 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002044/3.861, allocations: 370.9 kB / 1.618 GB, free: 345.3 MB / 1.265 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.002816/3.864, allocations: 0.7387 MB / 1.618 GB, free: 344.8 MB / 1.265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003864/3.868, allocations: 0.8955 MB / 1.619 GB, free: 344.8 MB / 1.265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02409/3.892, allocations: 9.962 MB / 1.629 GB, free: 340.5 MB / 1.265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002687/3.892, allocations: 42.91 kB / 1.629 GB, free: 340.5 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/3.892, allocations: 5.328 kB / 1.629 GB, free: 340.5 MB / 1.265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01057/3.903, allocations: 1.86 MB / 1.631 GB, free: 339.3 MB / 1.265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005564/3.908, allocations: 154.9 kB / 1.631 GB, free: 339.2 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009466/3.918, allocations: 273.6 kB / 1.631 GB, free: 339 MB / 1.265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00251/3.92, allocations: 0.7213 MB / 1.632 GB, free: 339 MB / 1.265 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02606/3.946, allocations: 9.35 MB / 1.641 GB, free: 335.7 MB / 1.265 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1394/4.086, allocations: 47.55 MB / 1.687 GB, free: 312.4 MB / 1.265 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01013/4.096, allocations: 3 MB / 1.69 GB, free: 310.9 MB / 1.265 GB Notification: Performance of sorting global known variables: time 0.0113/4.107, allocations: 4.068 MB / 1.694 GB, free: 308.8 MB / 1.265 GB Notification: Performance of Backend: time 1.482e-06/4.107, allocations: 3.844 kB / 1.694 GB, free: 308.8 MB / 1.265 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.0672/4.175, allocations: 24.68 MB / 1.718 GB, free: 294.4 MB / 1.265 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.0613/4.236, allocations: 29.93 MB / 1.748 GB, free: 268.3 MB / 1.265 GB Notification: Performance of Templates: time 0.3167/4.553, allocations: 212.2 MB / 1.955 GB, free: 56.02 MB / 1.265 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 -s cvode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)