Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.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_2_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_N_2_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009394, allocations: 102.8 kB / 17.32 MB, free: 6.395 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.0009195/0.0009195, allocations: 183.5 kB / 18.22 MB, free: 5.547 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.475/1.475, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06218/0.06218, allocations: 14.17 MB / 286.9 MB, free: 13.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.771/2.771, allocations: 421.4 MB / 0.7423 GB, free: 4.137 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.001057/0.001057, allocations: 16 kB / 0.917 GB, free: 9.734 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.115/1.116, allocations: 164.7 MB / 1.078 GB, free: 14.66 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_2_M_4): time 0.2949/1.411, allocations: 343.7 MB / 1.413 GB, free: 13.37 MB / 1.108 GB Notification: Performance of NFInst.instExpressions: time 1.008/2.419, allocations: 120.5 MB / 1.531 GB, free: 452 kB / 1.187 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1039/2.523, allocations: 1.217 MB / 1.532 GB, free: 452 kB / 1.187 GB Notification: Performance of NFTyping.typeComponents: time 0.0673/2.591, allocations: 15.4 MB / 1.547 GB, free: 20 kB / 1.187 GB Notification: Performance of NFTyping.typeBindings: time 0.1714/2.762, allocations: 42.55 MB / 1.589 GB, free: 14.25 MB / 1.202 GB Notification: Performance of NFTyping.typeClassSections: time 0.04897/2.811, allocations: 12.32 MB / 1.601 GB, free: 13.79 MB / 1.202 GB Notification: Performance of NFFlatten.flatten: time 0.204/3.015, allocations: 115.7 MB / 1.714 GB, free: 0.9062 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04484/3.06, allocations: 11.69 MB / 1.725 GB, free: 5.23 MB / 1.265 GB Notification: Performance of NFEvalConstants.evaluate: time 0.08477/3.145, allocations: 28.95 MB / 1.754 GB, free: 11.2 MB / 1.296 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0792/3.224, allocations: 33.15 MB / 1.786 GB, free: 10.97 MB / 1.327 GB Notification: Performance of NFPackage.collectConstants: time 0.02485/3.249, allocations: 1.758 MB / 1.788 GB, free: 9.211 MB / 1.327 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06503/3.314, allocations: 5.003 MB / 1.793 GB, free: 4.215 MB / 1.327 GB Notification: Performance of NFScalarize.scalarize: time 0.02855/3.343, allocations: 7.742 MB / 1.8 GB, free: 12.77 MB / 1.343 GB Notification: Performance of NFVerifyModel.verify: time 0.1019/3.445, allocations: 30.68 MB / 1.83 GB, free: 14.29 MB / 1.374 GB Notification: Performance of NFConvertDAE.convert: time 0.1665/3.611, allocations: 74.89 MB / 1.903 GB, free: 6.68 MB / 1.437 GB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/3.611, allocations: 0 / 1.903 GB, free: 6.68 MB / 1.437 GB Notification: Performance of FrontEnd: time 3.507e-06/3.611, allocations: 4 kB / 1.903 GB, free: 6.676 MB / 1.437 GB Notification: Performance of Transformations before backend: time 0.004366/3.616, allocations: 0 / 1.903 GB, free: 6.676 MB / 1.437 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12174 * Number of variables: 12174 Notification: Performance of Generate backend data structure: time 0.3032/3.919, allocations: 73.8 MB / 1.975 GB, free: 13.73 MB / 1.515 GB Notification: Performance of prepare preOptimizeDAE: time 6.519e-05/3.919, allocations: 8.031 kB / 1.975 GB, free: 13.72 MB / 1.515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05447/3.973, allocations: 9.134 MB / 1.984 GB, free: 4.504 MB / 1.515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1195/4.093, allocations: 34.67 MB / 2.018 GB, free: 2.32 MB / 1.546 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00664/4.1, allocations: 3.573 MB / 2.022 GB, free: 14.74 MB / 1.562 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0188/4.118, allocations: 4.716 MB / 2.026 GB, free: 10.03 MB / 1.562 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.033/5.151, allocations: 49.57 MB / 2.075 GB, free: 0.6024 GB / 1.577 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003763/5.155, allocations: 99.5 kB / 2.075 GB, free: 0.6024 GB / 1.577 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01657/5.172, allocations: 1.923 MB / 2.077 GB, free: 0.6009 GB / 1.577 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001923/5.174, allocations: 1.154 MB / 2.078 GB, free: 0.6009 GB / 1.577 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1516/5.325, allocations: 47.24 MB / 2.124 GB, free: 0.5847 GB / 1.577 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.5037/5.829, allocations: 307.1 MB / 2.424 GB, free: 321.7 MB / 1.577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1694/5.998, allocations: 79.08 MB / 2.501 GB, free: 264.6 MB / 1.577 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05425/6.053, allocations: 22.16 MB / 2.523 GB, free: 242.4 MB / 1.577 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005856/6.059, allocations: 0.5801 MB / 2.523 GB, free: 241.8 MB / 1.577 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/6.06, allocations: 0.5491 MB / 2.524 GB, free: 241.3 MB / 1.577 GB Notification: Performance of pre-optimization done (n=5083): time 0.0003819/6.06, allocations: 0 / 2.524 GB, free: 241.3 MB / 1.577 GB Notification: Performance of matching and sorting (n=5091): time 0.3775/6.438, allocations: 113.2 MB / 2.634 GB, free: 129.7 MB / 1.577 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005884/6.438, allocations: 1.373 MB / 2.636 GB, free: 128.1 MB / 1.577 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06866/6.507, allocations: 29.85 MB / 2.665 GB, free: 98.86 MB / 1.577 GB Notification: Performance of collectPreVariables (initialization): time 0.01125/6.518, allocations: 0.8923 MB / 2.666 GB, free: 97.96 MB / 1.577 GB Notification: Performance of collectInitialEqns (initialization): time 0.02345/6.542, allocations: 22.76 MB / 2.688 GB, free: 75.28 MB / 1.577 GB Notification: Performance of collectInitialBindings (initialization): time 0.02694/6.569, allocations: 17.6 MB / 2.705 GB, free: 57.82 MB / 1.577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01708/6.586, allocations: 4.392 MB / 2.709 GB, free: 53.41 MB / 1.577 GB Notification: Performance of setup shared object (initialization): time 5.272e-05/6.586, allocations: 301.1 kB / 2.71 GB, free: 53.11 MB / 1.577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04466/6.63, allocations: 17.18 MB / 2.726 GB, free: 35.93 MB / 1.577 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05503/6.686, allocations: 28.11 MB / 2.754 GB, free: 3.984 MB / 1.577 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.9341/7.62, allocations: 46.7 MB / 2.799 GB, free: 0.5441 GB / 1.577 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005282/7.62, allocations: 75.03 kB / 2.8 GB, free: 0.5441 GB / 1.577 GB Notification: Performance of matching and sorting (n=7329) (initialization): time 0.2467/7.867, allocations: 75.45 MB / 2.873 GB, free: 0.5187 GB / 1.577 GB Notification: Performance of prepare postOptimizeDAE: time 0.005701/7.873, allocations: 8.162 MB / 2.881 GB, free: 0.5079 GB / 1.577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007242/7.873, allocations: 258.6 kB / 2.881 GB, free: 0.5079 GB / 1.577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1592/8.033, allocations: 33.83 MB / 2.914 GB, free: 0.504 GB / 1.577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04614/8.079, allocations: 10.31 MB / 2.925 GB, free: 0.5029 GB / 1.577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5536/8.633, allocations: 258.8 MB / 3.177 GB, free: 272.7 MB / 1.577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05625/8.689, allocations: 2.936 MB / 3.18 GB, free: 270 MB / 1.577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01292/8.702, allocations: 1.969 MB / 3.182 GB, free: 268 MB / 1.577 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/8.702, allocations: 4 kB / 3.182 GB, free: 268 MB / 1.577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.187/8.889, allocations: 62.65 MB / 3.243 GB, free: 205.1 MB / 1.577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009465/8.89, allocations: 256 kB / 3.243 GB, free: 204.9 MB / 1.577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1285/9.018, allocations: 28.04 MB / 3.271 GB, free: 176.7 MB / 1.577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0476/9.066, allocations: 10.88 MB / 3.281 GB, free: 165.8 MB / 1.577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215/10.28, allocations: 214.5 MB / 3.491 GB, free: 459.6 MB / 1.577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05401/10.34, allocations: 2.38 MB / 3.493 GB, free: 458.7 MB / 1.577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01069/10.35, allocations: 1.967 MB / 3.495 GB, free: 458.2 MB / 1.577 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1183 * Number of states: 0 () * Number of discrete variables: 40 (GEN_4_2.PSS.firstWashoutVsi2.integrator.local_reset,GEN_4_2.PSS.secondWashoutVsi1.integrator.local_reset,GEN_4_2.PSS.firstWashoutVsi1.integrator.local_reset,GEN_4_2.AVR.firstOrderLim.I.local_reset,GEN_4_2.TGOV.firstOrderLim.I.local_reset,GEN_4_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_4_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_4_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_4_1.AVR.firstOrderLim.I.local_reset,GEN_4_1.TGOV.firstOrderLim.I.local_reset,GEN_3_2.PSS.firstWashoutVsi2.integrator.local_reset,GEN_3_2.PSS.secondWashoutVsi1.integrator.local_reset,GEN_3_2.PSS.firstWashoutVsi1.integrator.local_reset,GEN_3_2.AVR.firstOrderLim.I.local_reset,GEN_3_2.TGOV.firstOrderLim.I.local_reset,GEN_3_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_3_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_3_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_3_1.AVR.firstOrderLim.I.local_reset,GEN_3_1.TGOV.firstOrderLim.I.local_reset,GEN_2_2.PSS.firstWashoutVsi2.integrator.local_reset,GEN_2_2.PSS.secondWashoutVsi1.integrator.local_reset,GEN_2_2.PSS.firstWashoutVsi1.integrator.local_reset,GEN_2_2.AVR.firstOrderLim.I.local_reset,GEN_2_2.TGOV.firstOrderLim.I.local_reset,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_2.PSS.firstWashoutVsi2.integrator.local_reset,GEN_1_2.PSS.secondWashoutVsi1.integrator.local_reset,GEN_1_2.PSS.firstWashoutVsi1.integrator.local_reset,GEN_1_2.AVR.firstOrderLim.I.local_reset,GEN_1_2.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 (5625): * Single equations (assignments): 5551 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 74 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 32 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%), (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%), (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%), (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): 42 systems {(38,0), (1516,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,0), (2,0), (2,0), (2,0), (2,0), (10,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.03703/10.38, allocations: 8.402 MB / 3.503 GB, free: 453.4 MB / 1.577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02097/10.4, allocations: 4.845 MB / 3.508 GB, free: 452.7 MB / 1.577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1759/10.58, allocations: 55.94 MB / 3.563 GB, free: 430 MB / 1.577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/10.58, allocations: 239.6 kB / 3.563 GB, free: 430 MB / 1.577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001852/10.58, allocations: 1.688 kB / 3.563 GB, free: 430 MB / 1.577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03123/10.61, allocations: 8.176 MB / 3.571 GB, free: 424.6 MB / 1.577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01787/10.63, allocations: 0.8299 MB / 3.572 GB, free: 424 MB / 1.577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04289/10.67, allocations: 2.017 MB / 3.574 GB, free: 423.1 MB / 1.577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01293/10.69, allocations: 4.059 MB / 3.578 GB, free: 422.7 MB / 1.577 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1815/10.87, allocations: 52.65 MB / 3.629 GB, free: 405.3 MB / 1.577 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1633/11.03, allocations: 58.75 MB / 3.686 GB, free: 363.4 MB / 1.577 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03691/11.07, allocations: 16.39 MB / 3.702 GB, free: 348.9 MB / 1.577 GB Notification: Performance of sorting global known variables: time 0.03938/11.11, allocations: 19.03 MB / 3.721 GB, free: 330.1 MB / 1.577 GB Notification: Performance of Backend: time 1.263e-06/11.11, allocations: 4 kB / 3.721 GB, free: 330.1 MB / 1.577 GB Notification: Performance of simCode: created initialization part: time 0.3354/11.44, allocations: 129.6 MB / 3.848 GB, free: 199.4 MB / 1.577 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.9532/12.4, allocations: 126.8 MB / 3.971 GB, free: 450.5 MB / 1.577 GB Notification: Performance of Templates: time 2.263/14.66, allocations: 0.882 GB / 4.853 GB, free: 262.8 MB / 1.577 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.pipe 2>&1)