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.002442/0.002442, allocations: 104.9 kB / 17.17 MB, free: 6.316 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.003063/0.003064, allocations: 189.9 kB / 18.08 MB, free: 5.41 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.482/1.482, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06034/0.06034, allocations: 14.15 MB / 285.4 MB, free: 14.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.687/2.687, allocations: 418.6 MB / 0.7371 GB, free: 5.383 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.001963/0.001963, allocations: 87.88 kB / 0.9081 GB, free: 13.06 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206/1.208, allocations: 160.9 MB / 1.065 GB, free: 12.2 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.05974/1.268, allocations: 64.67 MB / 1.128 GB, free: 9.988 MB / 0.8428 GB Notification: Performance of NFInst.instExpressions: time 0.04916/1.317, allocations: 23.35 MB / 1.151 GB, free: 6.352 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02012/1.337, allocations: 247.3 kB / 1.151 GB, free: 6.277 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01515/1.353, allocations: 2.805 MB / 1.154 GB, free: 4.102 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.03674/1.39, allocations: 8.061 MB / 1.162 GB, free: 13.32 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/1.4, allocations: 3.015 MB / 1.165 GB, free: 10.8 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.03581/1.436, allocations: 20.9 MB / 1.185 GB, free: 14.76 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00839/1.445, allocations: 2.393 MB / 1.188 GB, free: 13.46 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01545/1.46, allocations: 5.398 MB / 1.193 GB, free: 10.43 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01495/1.475, allocations: 6.202 MB / 1.199 GB, free: 6.203 MB / 0.8896 GB Notification: Performance of NFPackage.collectConstants: time 0.004643/1.48, allocations: 420 kB / 1.199 GB, free: 5.793 MB / 0.8896 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/1.492, allocations: 1.16 MB / 1.201 GB, free: 4.633 MB / 0.8896 GB Notification: Performance of NFScalarize.scalarize: time 0.004611/1.496, allocations: 1.573 MB / 1.202 GB, free: 3.051 MB / 0.8896 GB Notification: Performance of NFVerifyModel.verify: time 0.01742/1.514, allocations: 5.745 MB / 1.208 GB, free: 13.27 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.02647/1.54, allocations: 14.61 MB / 1.222 GB, free: 14.62 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.54, allocations: 0 / 1.222 GB, free: 14.62 MB / 0.9209 GB Notification: Performance of FrontEnd: time 2.916e-06/1.54, allocations: 0 / 1.222 GB, free: 14.62 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0007211/1.541, allocations: 4 kB / 1.222 GB, free: 14.62 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.06255/1.604, allocations: 15.61 MB / 1.237 GB, free: 14.89 MB / 0.9365 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/1.604, allocations: 8.031 kB / 1.237 GB, free: 14.88 MB / 0.9365 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009424/1.613, allocations: 1.646 MB / 1.239 GB, free: 13.22 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01796/1.631, allocations: 6.637 MB / 1.245 GB, free: 6.492 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008459/1.632, allocations: 0.6613 MB / 1.246 GB, free: 5.828 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003182/1.635, allocations: 0.8631 MB / 1.247 GB, free: 4.965 MB / 0.9365 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03087/1.666, allocations: 8.981 MB / 1.256 GB, free: 11.58 MB / 0.9521 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005403/1.667, allocations: 15.88 kB / 1.256 GB, free: 11.56 MB / 0.9521 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003111/1.67, allocations: 356 kB / 1.256 GB, free: 11.21 MB / 0.9521 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002493/1.67, allocations: 212 kB / 1.256 GB, free: 11.01 MB / 0.9521 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02521/1.696, allocations: 8.519 MB / 1.264 GB, free: 2.469 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.1018/1.797, allocations: 53.75 MB / 1.317 GB, free: 7.805 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02581/1.823, allocations: 10.65 MB / 1.327 GB, free: 13.11 MB / 1.03 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01085/1.834, allocations: 4.024 MB / 1.331 GB, free: 9.082 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.835, allocations: 111.1 kB / 1.331 GB, free: 8.973 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/1.836, allocations: 129.7 kB / 1.331 GB, free: 8.836 MB / 1.03 GB Notification: Performance of pre-optimization done (n=909): time 3.221e-05/1.836, allocations: 0 / 1.331 GB, free: 8.836 MB / 1.03 GB Notification: Performance of matching and sorting (n=911): time 0.0701/1.906, allocations: 20.41 MB / 1.351 GB, free: 4.348 MB / 1.046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002169/1.906, allocations: 352.2 kB / 1.352 GB, free: 3.941 MB / 1.046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/1.92, allocations: 5.786 MB / 1.357 GB, free: 14.2 MB / 1.062 GB Notification: Performance of collectPreVariables (initialization): time 0.002031/1.922, allocations: 197.7 kB / 1.358 GB, free: 14 MB / 1.062 GB Notification: Performance of collectInitialEqns (initialization): time 0.004867/1.927, allocations: 4.05 MB / 1.362 GB, free: 9.918 MB / 1.062 GB Notification: Performance of collectInitialBindings (initialization): time 0.005387/1.933, allocations: 3.145 MB / 1.365 GB, free: 6.727 MB / 1.062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007916/1.941, allocations: 1.733 MB / 1.366 GB, free: 4.984 MB / 1.062 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.941, allocations: 301.1 kB / 1.367 GB, free: 4.688 MB / 1.062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009567/1.95, allocations: 3.272 MB / 1.37 GB, free: 1.406 MB / 1.062 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01266/1.963, allocations: 5.27 MB / 1.375 GB, free: 11.41 MB / 1.077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02225/1.986, allocations: 8.584 MB / 1.383 GB, free: 2.109 MB / 1.077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.324e-05/1.986, allocations: 16 kB / 1.383 GB, free: 2.094 MB / 1.077 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.04358/2.029, allocations: 13.89 MB / 1.397 GB, free: 4.059 MB / 1.093 GB Notification: Performance of prepare postOptimizeDAE: time 8.884e-05/2.029, allocations: 24 kB / 1.397 GB, free: 4.035 MB / 1.093 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001147/2.03, allocations: 48 kB / 1.397 GB, free: 3.988 MB / 1.093 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03127/2.061, allocations: 6.188 MB / 1.403 GB, free: 13.73 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009166/2.07, allocations: 1.95 MB / 1.405 GB, free: 11.78 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09413/2.164, allocations: 53.42 MB / 1.457 GB, free: 3.625 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/2.174, allocations: 0.5251 MB / 1.458 GB, free: 3.098 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002178/2.177, allocations: 380 kB / 1.458 GB, free: 2.727 MB / 1.155 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01345/2.19, allocations: 4.254 MB / 1.462 GB, free: 14.46 MB / 1.171 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01049/2.201, allocations: 5.032 MB / 1.467 GB, free: 8.711 MB / 1.171 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01978/2.22, allocations: 8.264 MB / 1.475 GB, free: 15.73 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.883e-05/2.221, allocations: 16 kB / 1.475 GB, free: 15.71 MB / 1.187 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.03862/2.259, allocations: 12.19 MB / 1.487 GB, free: 3.383 MB / 1.187 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/2.259, allocations: 28 kB / 1.487 GB, free: 3.355 MB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/2.259, allocations: 51.94 kB / 1.487 GB, free: 3.305 MB / 1.187 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02613/2.286, allocations: 5.106 MB / 1.492 GB, free: 14.14 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009282/2.295, allocations: 2.099 MB / 1.494 GB, free: 12.04 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6237/2.919, allocations: 43.79 MB / 1.537 GB, free: 373.2 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009651/2.928, allocations: 467.1 kB / 1.537 GB, free: 373 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/2.93, allocations: 368.7 kB / 1.538 GB, free: 372.9 MB / 1.218 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.002873/2.933, allocations: 0.7346 MB / 1.538 GB, free: 372.5 MB / 1.218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002915/2.936, allocations: 0.9051 MB / 1.539 GB, free: 372.5 MB / 1.218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02292/2.959, allocations: 10.01 MB / 1.549 GB, free: 368.4 MB / 1.218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002745/2.959, allocations: 44.33 kB / 1.549 GB, free: 368.4 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/2.959, allocations: 0 / 1.549 GB, free: 368.4 MB / 1.218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005804/2.965, allocations: 1.59 MB / 1.551 GB, free: 367.8 MB / 1.218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002951/2.968, allocations: 154.3 kB / 1.551 GB, free: 367.7 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00827/2.977, allocations: 361.1 kB / 1.551 GB, free: 367.5 MB / 1.218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002513/2.979, allocations: 0.7189 MB / 1.552 GB, free: 367.5 MB / 1.218 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02742/3.007, allocations: 9.413 MB / 1.561 GB, free: 364.3 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1319/3.138, allocations: 46.58 MB / 1.607 GB, free: 341.1 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006669/3.145, allocations: 3.009 MB / 1.609 GB, free: 339.5 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.007673/3.153, allocations: 3.68 MB / 1.613 GB, free: 337.6 MB / 1.218 GB Notification: Performance of Backend: time 1.313e-06/3.153, allocations: 0 / 1.613 GB, free: 337.6 MB / 1.218 GB Notification: Performance of simCode: created initialization part: time 0.05601/3.209, allocations: 23.72 MB / 1.636 GB, free: 323.6 MB / 1.218 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.05411/3.263, allocations: 32.72 MB / 1.668 GB, free: 291.5 MB / 1.218 GB Notification: Performance of Templates: time 0.3023/3.565, allocations: 193.8 MB / 1.857 GB, free: 97.43 MB / 1.218 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)