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.3/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.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.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.001791/0.001791, allocations: 106.6 kB / 17.59 MB, free: 5.418 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.00198/0.00198, allocations: 191.4 kB / 18.52 MB, free: 4.504 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.724/1.724, allocations: 205.1 MB / 224.4 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05927/0.05927, allocations: 14.16 MB / 285.9 MB, free: 13.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 3.438/3.438, allocations: 418.6 MB / 0.7376 GB, free: 5.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: 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.002216/0.002216, allocations: 88.44 kB / 0.9089 GB, free: 0.8398 MB / 0.686 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4243/0.4265, allocations: 160.9 MB / 1.066 GB, free: 15.72 MB / 0.8579 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 1.185/1.611, allocations: 55.54 MB / 1.12 GB, free: 19.14 MB / 0.8584 GB Notification: Performance of NFInst.instExpressions: time 0.04277/1.654, allocations: 20.53 MB / 1.14 GB, free: 4.066 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0167/1.671, allocations: 211 kB / 1.14 GB, free: 4.004 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01264/1.684, allocations: 2.886 MB / 1.143 GB, free: 2.488 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.03415/1.718, allocations: 7.711 MB / 1.151 GB, free: 13.2 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01264/1.73, allocations: 3.129 MB / 1.154 GB, free: 11.15 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.03894/1.769, allocations: 18.49 MB / 1.172 GB, free: 1.184 MB / 0.874 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006822/1.776, allocations: 2.372 MB / 1.174 GB, free: 15.9 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01766/1.794, allocations: 6.089 MB / 1.18 GB, free: 12.17 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01857/1.813, allocations: 6.627 MB / 1.187 GB, free: 7.566 MB / 0.8896 GB Notification: Performance of NFPackage.collectConstants: time 0.006352/1.819, allocations: 0.9563 MB / 1.188 GB, free: 7.566 MB / 0.8896 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/1.833, allocations: 1.848 MB / 1.189 GB, free: 7.371 MB / 0.8896 GB Notification: Performance of NFScalarize.scalarize: time 0.005735/1.838, allocations: 2.084 MB / 1.191 GB, free: 5.516 MB / 0.8896 GB Notification: Performance of NFVerifyModel.verify: time 0.0213/1.86, allocations: 5.917 MB / 1.197 GB, free: 1.223 MB / 0.8896 GB Notification: Performance of NFConvertDAE.convert: time 0.03682/1.897, allocations: 14.19 MB / 1.211 GB, free: 6.945 MB / 0.9053 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/1.897, allocations: 4 kB / 1.211 GB, free: 6.941 MB / 0.9053 GB Notification: Performance of FrontEnd: time 2.595e-06/1.897, allocations: 1.406 kB / 1.211 GB, free: 6.941 MB / 0.9053 GB Notification: Performance of Transformations before backend: time 0.0008474/1.897, allocations: 0 / 1.211 GB, free: 6.941 MB / 0.9053 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.07284/1.97, allocations: 14.38 MB / 1.225 GB, free: 14.02 MB / 0.9209 GB Notification: Performance of prepare preOptimizeDAE: time 6.843e-05/1.97, allocations: 9.75 kB / 1.225 GB, free: 14.02 MB / 0.9209 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/1.981, allocations: 1.44 MB / 1.227 GB, free: 13.3 MB / 0.9209 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02467/2.006, allocations: 6.152 MB / 1.233 GB, free: 8.664 MB / 0.9209 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/2.007, allocations: 0.5798 MB / 1.233 GB, free: 8.395 MB / 0.9209 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003958/2.011, allocations: 0.7753 MB / 1.234 GB, free: 8.125 MB / 0.9209 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03129/2.042, allocations: 7.886 MB / 1.242 GB, free: 3.145 MB / 0.9209 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005343/2.043, allocations: 13.94 kB / 1.242 GB, free: 3.137 MB / 0.9209 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002782/2.046, allocations: 309.9 kB / 1.242 GB, free: 2.902 MB / 0.9209 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000301/2.046, allocations: 185.6 kB / 1.242 GB, free: 2.902 MB / 0.9209 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02287/2.069, allocations: 7.503 MB / 1.249 GB, free: 13.44 MB / 0.9365 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.1107/2.18, allocations: 49.15 MB / 1.297 GB, free: 8.188 MB / 0.9834 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0257/2.206, allocations: 9.322 MB / 1.306 GB, free: 14.76 MB / 0.999 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01049/2.216, allocations: 3.538 MB / 1.31 GB, free: 11.2 MB / 0.999 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009422/2.217, allocations: 94.12 kB / 1.31 GB, free: 11.11 MB / 0.999 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00393/2.221, allocations: 124.7 kB / 1.31 GB, free: 10.98 MB / 0.999 GB Notification: Performance of pre-optimization done (n=787): time 3.348e-05/2.221, allocations: 3.938 kB / 1.31 GB, free: 10.97 MB / 0.999 GB Notification: Performance of matching and sorting (n=787): time 0.03322/2.254, allocations: 10.41 MB / 1.32 GB, free: 0.5156 MB / 0.999 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003589/2.255, allocations: 343.2 kB / 1.321 GB, free: 120 kB / 0.999 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01926/2.274, allocations: 5.654 MB / 1.326 GB, free: 10.48 MB / 1.015 GB Notification: Performance of collectPreVariables (initialization): time 0.002064/2.276, allocations: 177.7 kB / 1.326 GB, free: 10.3 MB / 1.015 GB Notification: Performance of collectInitialEqns (initialization): time 0.004381/2.281, allocations: 3.567 MB / 1.33 GB, free: 6.707 MB / 1.015 GB Notification: Performance of collectInitialBindings (initialization): time 0.005453/2.286, allocations: 2.726 MB / 1.332 GB, free: 3.941 MB / 1.015 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006904/2.293, allocations: 1.546 MB / 1.334 GB, free: 2.383 MB / 1.015 GB Notification: Performance of setup shared object (initialization): time 0.0001114/2.293, allocations: 301.1 kB / 1.334 GB, free: 2.086 MB / 1.015 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007427/2.301, allocations: 2.936 MB / 1.337 GB, free: 15.13 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008165/2.309, allocations: 4.744 MB / 1.342 GB, free: 9.723 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/2.323, allocations: 7.641 MB / 1.349 GB, free: 1.48 MB / 1.03 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.336e-05/2.323, allocations: 12 kB / 1.349 GB, free: 1.469 MB / 1.03 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03245/2.356, allocations: 12.43 MB / 1.361 GB, free: 4.961 MB / 1.046 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/2.356, allocations: 24 kB / 1.361 GB, free: 4.938 MB / 1.046 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.119e-05/2.356, allocations: 44 kB / 1.361 GB, free: 4.895 MB / 1.046 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02824/2.384, allocations: 5.553 MB / 1.367 GB, free: 15.28 MB / 1.062 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008691/2.393, allocations: 1.747 MB / 1.369 GB, free: 13.53 MB / 1.062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08281/2.476, allocations: 54.11 MB / 1.421 GB, free: 4.543 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01427/2.49, allocations: 0.7745 MB / 1.422 GB, free: 3.762 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/2.492, allocations: 336 kB / 1.423 GB, free: 3.434 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009914/2.502, allocations: 3.799 MB / 1.426 GB, free: 15.62 MB / 1.124 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006477/2.509, allocations: 4.502 MB / 1.431 GB, free: 10.46 MB / 1.124 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0118/2.521, allocations: 7.325 MB / 1.438 GB, free: 2.535 MB / 1.124 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-05/2.521, allocations: 12 kB / 1.438 GB, free: 2.523 MB / 1.124 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02363/2.544, allocations: 10.72 MB / 1.448 GB, free: 7.727 MB / 1.14 GB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/2.544, allocations: 24 kB / 1.448 GB, free: 7.703 MB / 1.14 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.01e-05/2.545, allocations: 48.16 kB / 1.448 GB, free: 7.656 MB / 1.14 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02087/2.565, allocations: 4.455 MB / 1.453 GB, free: 3.141 MB / 1.14 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008808/2.574, allocations: 1.884 MB / 1.455 GB, free: 1.254 MB / 1.14 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05518/2.629, allocations: 43.55 MB / 1.497 GB, free: 3.117 MB / 1.187 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/2.642, allocations: 0.593 MB / 1.498 GB, free: 2.52 MB / 1.187 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001972/2.644, allocations: 336 kB / 1.498 GB, free: 2.191 MB / 1.187 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 (949): * Single equations (assignments): 929 * 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), (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.002241/2.647, allocations: 0.6761 MB / 1.499 GB, free: 1.504 MB / 1.187 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003764/2.65, allocations: 0.7913 MB / 1.499 GB, free: 0.7031 MB / 1.187 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01792/2.668, allocations: 8.626 MB / 1.508 GB, free: 8.008 MB / 1.202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001265/2.669, allocations: 39.84 kB / 1.508 GB, free: 7.969 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/2.669, allocations: 0 / 1.508 GB, free: 7.969 MB / 1.202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008049/2.677, allocations: 1.646 MB / 1.509 GB, free: 6.293 MB / 1.202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003698/2.68, allocations: 143.9 kB / 1.51 GB, free: 6.152 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009524/2.69, allocations: 239.7 kB / 1.51 GB, free: 5.918 MB / 1.202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002269/2.692, allocations: 0.6221 MB / 1.51 GB, free: 5.293 MB / 1.202 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02391/2.716, allocations: 8.214 MB / 1.518 GB, free: 13.03 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.8621/3.578, allocations: 42.38 MB / 1.56 GB, free: 375.3 MB / 1.233 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005722/3.584, allocations: 2.66 MB / 1.562 GB, free: 375.2 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.008074/3.592, allocations: 3.638 MB / 1.566 GB, free: 375 MB / 1.233 GB Notification: Performance of Backend: time 1.273e-06/3.592, allocations: 0 / 1.566 GB, free: 375 MB / 1.233 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.06191/3.654, allocations: 22.05 MB / 1.588 GB, free: 366 MB / 1.233 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.06797/3.722, allocations: 26.39 MB / 1.613 GB, free: 353 MB / 1.233 GB Notification: Performance of Templates: time 0.3598/4.082, allocations: 194.3 MB / 1.803 GB, free: 199.6 MB / 1.233 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)