Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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.0009796/0.0009797, allocations: 96.88 kB / 17.32 MB, free: 6.008 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.0009908/0.0009909, allocations: 185 kB / 18.22 MB, free: 5.406 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.41/1.41, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05898/0.05898, allocations: 14.17 MB / 286.9 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.891/2.891, allocations: 421.4 MB / 0.7423 GB, free: 4.168 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.001059/0.001059, allocations: 20 kB / 0.917 GB, free: 9.734 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125/1.126, allocations: 164.7 MB / 1.078 GB, free: 14.67 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.05484/1.181, allocations: 62.66 MB / 1.139 GB, free: 12.08 MB / 0.8428 GB Notification: Performance of NFInst.instExpressions: time 0.04563/1.227, allocations: 23.08 MB / 1.162 GB, free: 8.633 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0171/1.244, allocations: 239.7 kB / 1.162 GB, free: 8.559 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01437/1.259, allocations: 2.8 MB / 1.165 GB, free: 6.387 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.0367/1.295, allocations: 8.037 MB / 1.172 GB, free: 15.59 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.0101/1.305, allocations: 3 MB / 1.175 GB, free: 13.09 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.03314/1.339, allocations: 20.9 MB / 1.196 GB, free: 13.21 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006493/1.345, allocations: 2.36 MB / 1.198 GB, free: 10.78 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01309/1.358, allocations: 5.246 MB / 1.203 GB, free: 5.504 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01243/1.371, allocations: 5.995 MB / 1.209 GB, free: 15.48 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.00334/1.374, allocations: 340 kB / 1.209 GB, free: 15.15 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008587/1.383, allocations: 1.074 MB / 1.21 GB, free: 14.07 MB / 0.9053 GB Notification: Performance of NFScalarize.scalarize: time 0.003466/1.386, allocations: 1.467 MB / 1.212 GB, free: 12.6 MB / 0.9053 GB Notification: Performance of NFVerifyModel.verify: time 0.02076/1.407, allocations: 5.61 MB / 1.217 GB, free: 6.949 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.02569/1.433, allocations: 14.19 MB / 1.231 GB, free: 8.707 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.433, allocations: 0 / 1.231 GB, free: 8.707 MB / 0.9209 GB Notification: Performance of FrontEnd: time 4.148e-06/1.433, allocations: 7.922 kB / 1.231 GB, free: 8.699 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0005982/1.433, allocations: 0 / 1.231 GB, free: 8.699 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.04945/1.483, allocations: 13.63 MB / 1.244 GB, free: 10.96 MB / 0.9365 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/1.483, allocations: 12.03 kB / 1.244 GB, free: 10.95 MB / 0.9365 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009135/1.492, allocations: 1.65 MB / 1.246 GB, free: 9.281 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01703/1.509, allocations: 6.638 MB / 1.253 GB, free: 2.551 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000863/1.51, allocations: 0.6496 MB / 1.253 GB, free: 1.898 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002814/1.513, allocations: 0.8748 MB / 1.254 GB, free: 1.023 MB / 0.9365 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02645/1.539, allocations: 9.035 MB / 1.263 GB, free: 7.582 MB / 0.9521 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004517/1.54, allocations: 19.81 kB / 1.263 GB, free: 7.562 MB / 0.9521 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002449/1.542, allocations: 356 kB / 1.263 GB, free: 7.215 MB / 0.9521 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/1.543, allocations: 216 kB / 1.263 GB, free: 7.004 MB / 0.9521 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/1.566, allocations: 8.629 MB / 1.272 GB, free: 14.36 MB / 0.9678 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.09053/1.657, allocations: 53.93 MB / 1.325 GB, free: 3.512 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02477/1.682, allocations: 10.8 MB / 1.335 GB, free: 8.676 MB / 1.03 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01095/1.693, allocations: 4.047 MB / 1.339 GB, free: 4.621 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009678/1.694, allocations: 115.1 kB / 1.339 GB, free: 4.508 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/1.694, allocations: 129.7 kB / 1.339 GB, free: 4.371 MB / 1.03 GB Notification: Performance of pre-optimization done (n=909): time 1.707e-05/1.694, allocations: 0 / 1.339 GB, free: 4.371 MB / 1.03 GB Notification: Performance of matching and sorting (n=911): time 0.06026/1.754, allocations: 20.69 MB / 1.359 GB, free: 15.6 MB / 1.062 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00021/1.754, allocations: 360.1 kB / 1.36 GB, free: 15.18 MB / 1.062 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01362/1.768, allocations: 5.786 MB / 1.365 GB, free: 9.445 MB / 1.062 GB Notification: Performance of collectPreVariables (initialization): time 0.002094/1.77, allocations: 193.7 kB / 1.366 GB, free: 9.25 MB / 1.062 GB Notification: Performance of collectInitialEqns (initialization): time 0.004545/1.775, allocations: 4.054 MB / 1.37 GB, free: 5.16 MB / 1.062 GB Notification: Performance of collectInitialBindings (initialization): time 0.005509/1.78, allocations: 3.138 MB / 1.373 GB, free: 1.977 MB / 1.062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002925/1.783, allocations: 0.8337 MB / 1.373 GB, free: 1.137 MB / 1.062 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.783, allocations: 301.1 kB / 1.374 GB, free: 0.8398 MB / 1.062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009244/1.793, allocations: 3.297 MB / 1.377 GB, free: 13.54 MB / 1.077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01167/1.804, allocations: 5.337 MB / 1.382 GB, free: 7.48 MB / 1.077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02011/1.824, allocations: 8.709 MB / 1.391 GB, free: 14.05 MB / 1.093 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.309e-05/1.825, allocations: 16 kB / 1.391 GB, free: 14.04 MB / 1.093 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.0416/1.866, allocations: 14.42 MB / 1.405 GB, free: 15.47 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.001444/1.868, allocations: 1.544 MB / 1.406 GB, free: 13.25 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/1.868, allocations: 48 kB / 1.406 GB, free: 13.2 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03201/1.9, allocations: 6.461 MB / 1.413 GB, free: 6.664 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009312/1.909, allocations: 1.95 MB / 1.415 GB, free: 4.711 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09083/2, allocations: 54.77 MB / 1.468 GB, free: 11.22 MB / 1.171 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/2.012, allocations: 0.5564 MB / 1.469 GB, free: 10.66 MB / 1.171 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/2.014, allocations: 380 kB / 1.469 GB, free: 10.29 MB / 1.171 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/2.014, allocations: 4 kB / 1.469 GB, free: 10.29 MB / 1.171 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03263/2.047, allocations: 11.43 MB / 1.48 GB, free: 14.74 MB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001854/2.047, allocations: 51.94 kB / 1.48 GB, free: 14.69 MB / 1.187 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02472/2.071, allocations: 5.038 MB / 1.485 GB, free: 9.594 MB / 1.187 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009637/2.081, allocations: 2.099 MB / 1.487 GB, free: 7.492 MB / 1.187 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6974/2.779, allocations: 43.86 MB / 1.53 GB, free: 359.3 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/2.789, allocations: 442.9 kB / 1.53 GB, free: 359.1 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/2.791, allocations: 371.9 kB / 1.531 GB, free: 359 MB / 1.202 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.005996/2.797, allocations: 1.727 MB / 1.532 GB, free: 358 MB / 1.202 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002786/2.8, allocations: 0.8992 MB / 1.533 GB, free: 358 MB / 1.202 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/2.82, allocations: 10.13 MB / 1.543 GB, free: 353.9 MB / 1.202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001616/2.821, allocations: 41.84 kB / 1.543 GB, free: 353.9 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/2.821, allocations: 0 / 1.543 GB, free: 353.9 MB / 1.202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005244/2.826, allocations: 1.589 MB / 1.545 GB, free: 353.3 MB / 1.202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002474/2.828, allocations: 170.7 kB / 1.545 GB, free: 353.2 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007288/2.836, allocations: 390.9 kB / 1.545 GB, free: 353.1 MB / 1.202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001755/2.838, allocations: 0.7233 MB / 1.546 GB, free: 353 MB / 1.202 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03095/2.869, allocations: 9.674 MB / 1.555 GB, free: 349.8 MB / 1.202 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02913/2.898, allocations: 11.05 MB / 1.566 GB, free: 345 MB / 1.202 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006788/2.905, allocations: 3.066 MB / 1.569 GB, free: 343.8 MB / 1.202 GB Notification: Performance of sorting global known variables: time 0.009452/2.914, allocations: 3.675 MB / 1.573 GB, free: 342.5 MB / 1.202 GB Notification: Performance of Backend: time 9.62e-07/2.914, allocations: 0 / 1.573 GB, free: 342.5 MB / 1.202 GB Notification: Performance of simCode: created initialization part: time 0.0616/2.976, allocations: 24.34 MB / 1.597 GB, free: 329.9 MB / 1.202 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.04462/3.02, allocations: 23.2 MB / 1.619 GB, free: 307.4 MB / 1.202 GB Notification: Performance of Templates: time 0.2723/3.293, allocations: 173.1 MB / 1.788 GB, free: 134 MB / 1.202 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)