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.001281/0.001281, allocations: 116.3 kB / 17.75 MB, free: 5.312 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.001382/0.001382, allocations: 187 kB / 18.67 MB, free: 4.395 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.725/1.725, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06842/0.06842, allocations: 14.17 MB / 286.1 MB, free: 13.85 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 3.932/3.932, allocations: 418.6 MB / 0.7378 GB, free: 5.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: 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.00188/0.00188, allocations: 94.52 kB / 1.067 GB, free: 14.48 MB / 0.8579 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625/1.627, allocations: 160.9 MB / 1.224 GB, free: 436 kB / 0.9053 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.0579/1.685, allocations: 55.55 MB / 1.279 GB, free: 8.66 MB / 0.9678 GB Notification: Performance of NFInst.instExpressions: time 0.04586/1.731, allocations: 20.52 MB / 1.299 GB, free: 4.07 MB / 0.9834 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01621/1.747, allocations: 211 kB / 1.299 GB, free: 3.863 MB / 0.9834 GB Notification: Performance of NFTyping.typeComponents: time 0.01298/1.76, allocations: 2.898 MB / 1.302 GB, free: 0.9453 MB / 0.9834 GB Notification: Performance of NFTyping.typeBindings: time 0.04178/1.802, allocations: 8.174 MB / 1.31 GB, free: 8.734 MB / 0.999 GB Notification: Performance of NFTyping.typeClassSections: time 0.01259/1.814, allocations: 3.136 MB / 1.313 GB, free: 5.598 MB / 0.999 GB Notification: Performance of NFFlatten.flatten: time 0.03912/1.854, allocations: 18.58 MB / 1.331 GB, free: 2.957 MB / 1.015 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008145/1.862, allocations: 2.366 MB / 1.333 GB, free: 0.5117 MB / 1.015 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01512/1.877, allocations: 6.25 MB / 1.339 GB, free: 10.24 MB / 1.03 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01457/1.891, allocations: 6.626 MB / 1.346 GB, free: 3.586 MB / 1.03 GB Notification: Performance of NFPackage.collectConstants: time 0.005447/1.897, allocations: 0.957 MB / 1.347 GB, free: 2.629 MB / 1.03 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/1.908, allocations: 1.847 MB / 1.349 GB, free: 0.7812 MB / 1.03 GB Notification: Performance of NFScalarize.scalarize: time 0.006125/1.914, allocations: 2.081 MB / 1.351 GB, free: 14.69 MB / 1.046 GB Notification: Performance of NFVerifyModel.verify: time 0.0184/1.933, allocations: 5.921 MB / 1.356 GB, free: 8.742 MB / 1.046 GB Notification: Performance of NFConvertDAE.convert: time 0.03283/1.966, allocations: 14.86 MB / 1.371 GB, free: 9.84 MB / 1.062 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.966, allocations: 4 kB / 1.371 GB, free: 9.836 MB / 1.062 GB Notification: Performance of FrontEnd: time 2.575e-06/1.966, allocations: 4 kB / 1.371 GB, free: 9.832 MB / 1.062 GB Notification: Performance of Transformations before backend: time 0.0007134/1.966, allocations: 3.938 kB / 1.371 GB, free: 9.828 MB / 1.062 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.06661/2.033, allocations: 14.26 MB / 1.385 GB, free: 11.47 MB / 1.077 GB Notification: Performance of prepare preOptimizeDAE: time 9.871e-05/2.033, allocations: 8.031 kB / 1.385 GB, free: 11.46 MB / 1.077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01001/2.043, allocations: 1.437 MB / 1.386 GB, free: 10.01 MB / 1.077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02201/2.065, allocations: 6.33 MB / 1.392 GB, free: 3.609 MB / 1.077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008942/2.066, allocations: 0.5771 MB / 1.393 GB, free: 3.031 MB / 1.077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/2.07, allocations: 0.7616 MB / 1.394 GB, free: 2.27 MB / 1.077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03004/2.1, allocations: 7.887 MB / 1.401 GB, free: 10.06 MB / 1.093 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005014/2.1, allocations: 19.81 kB / 1.401 GB, free: 10.04 MB / 1.093 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002906/2.103, allocations: 311.9 kB / 1.402 GB, free: 9.738 MB / 1.093 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002371/2.103, allocations: 184 kB / 1.402 GB, free: 9.559 MB / 1.093 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02283/2.126, allocations: 7.496 MB / 1.409 GB, free: 2.051 MB / 1.093 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.1011/2.228, allocations: 48.87 MB / 1.457 GB, free: 13.07 MB / 1.155 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/2.247, allocations: 9.325 MB / 1.466 GB, free: 3.637 MB / 1.155 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008506/2.256, allocations: 3.549 MB / 1.469 GB, free: 76 kB / 1.155 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000835/2.257, allocations: 106.1 kB / 1.47 GB, free: 15.97 MB / 1.171 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/2.257, allocations: 112.7 kB / 1.47 GB, free: 15.85 MB / 1.171 GB Notification: Performance of pre-optimization done (n=787): time 1.556e-05/2.257, allocations: 4 kB / 1.47 GB, free: 15.84 MB / 1.171 GB Notification: Performance of matching and sorting (n=787): time 0.02971/2.287, allocations: 10.41 MB / 1.48 GB, free: 5.383 MB / 1.171 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002049/2.287, allocations: 339.2 kB / 1.48 GB, free: 4.988 MB / 1.171 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01491/2.302, allocations: 5.658 MB / 1.486 GB, free: 15.35 MB / 1.187 GB Notification: Performance of collectPreVariables (initialization): time 0.001957/2.304, allocations: 169.7 kB / 1.486 GB, free: 15.18 MB / 1.187 GB Notification: Performance of collectInitialEqns (initialization): time 0.004082/2.308, allocations: 3.56 MB / 1.489 GB, free: 11.59 MB / 1.187 GB Notification: Performance of collectInitialBindings (initialization): time 0.005029/2.313, allocations: 2.726 MB / 1.492 GB, free: 8.824 MB / 1.187 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005815/2.319, allocations: 1.553 MB / 1.494 GB, free: 7.258 MB / 1.187 GB Notification: Performance of setup shared object (initialization): time 0.0001241/2.319, allocations: 309.1 kB / 1.494 GB, free: 6.953 MB / 1.187 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007189/2.326, allocations: 2.936 MB / 1.497 GB, free: 4 MB / 1.187 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009036/2.335, allocations: 4.733 MB / 1.501 GB, free: 14.61 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/2.352, allocations: 7.645 MB / 1.509 GB, free: 6.359 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-05/2.352, allocations: 15.94 kB / 1.509 GB, free: 6.344 MB / 1.202 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.0392/2.391, allocations: 12.42 MB / 1.521 GB, free: 9.84 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 8.66e-05/2.391, allocations: 27.94 kB / 1.521 GB, free: 9.812 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.333e-05/2.391, allocations: 44.89 kB / 1.521 GB, free: 9.77 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02764/2.419, allocations: 5.505 MB / 1.526 GB, free: 4.191 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008978/2.428, allocations: 1.74 MB / 1.528 GB, free: 2.449 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118/3.546, allocations: 53.96 MB / 1.581 GB, free: 285.9 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0157/3.562, allocations: 0.7772 MB / 1.582 GB, free: 285.7 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003229/3.565, allocations: 330 kB / 1.582 GB, free: 285.7 MB / 1.249 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01622/3.581, allocations: 3.805 MB / 1.586 GB, free: 283.8 MB / 1.249 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007975/3.589, allocations: 4.499 MB / 1.59 GB, free: 280.7 MB / 1.249 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01151/3.601, allocations: 7.319 MB / 1.597 GB, free: 276.1 MB / 1.249 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.359e-05/3.601, allocations: 11.91 kB / 1.597 GB, free: 276.1 MB / 1.249 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02301/3.624, allocations: 10.73 MB / 1.608 GB, free: 272.1 MB / 1.249 GB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/3.624, allocations: 24.72 kB / 1.608 GB, free: 272.1 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.984e-05/3.624, allocations: 43.66 kB / 1.608 GB, free: 272.1 MB / 1.249 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02094/3.645, allocations: 4.419 MB / 1.612 GB, free: 271.6 MB / 1.249 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009148/3.654, allocations: 1.887 MB / 1.614 GB, free: 271.4 MB / 1.249 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0503/3.704, allocations: 43.44 MB / 1.656 GB, free: 235.9 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.013/3.718, allocations: 0.5919 MB / 1.657 GB, free: 235.4 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002087/3.72, allocations: 328 kB / 1.657 GB, free: 235.1 MB / 1.249 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.002481/3.722, allocations: 0.6856 MB / 1.658 GB, free: 234.4 MB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003924/3.726, allocations: 0.799 MB / 1.659 GB, free: 233.6 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/3.741, allocations: 8.626 MB / 1.667 GB, free: 225 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.709e-05/3.741, allocations: 35.86 kB / 1.667 GB, free: 224.9 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/3.741, allocations: 0 / 1.667 GB, free: 224.9 MB / 1.249 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006056/3.748, allocations: 1.641 MB / 1.669 GB, free: 223.3 MB / 1.249 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002943/3.751, allocations: 143.9 kB / 1.669 GB, free: 223.2 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007846/3.758, allocations: 241.4 kB / 1.669 GB, free: 222.9 MB / 1.249 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/3.76, allocations: 0.6144 MB / 1.67 GB, free: 222.3 MB / 1.249 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02014/3.78, allocations: 8.177 MB / 1.678 GB, free: 214.3 MB / 1.249 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1087/3.889, allocations: 42.37 MB / 1.719 GB, free: 171.6 MB / 1.249 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006124/3.895, allocations: 2.655 MB / 1.722 GB, free: 168.9 MB / 1.249 GB Notification: Performance of sorting global known variables: time 0.009242/3.904, allocations: 3.636 MB / 1.725 GB, free: 165.3 MB / 1.249 GB Notification: Performance of Backend: time 1.513e-06/3.904, allocations: 0 / 1.725 GB, free: 165.3 MB / 1.249 GB Notification: Performance of simCode: created initialization part: time 0.06572/3.97, allocations: 22.05 MB / 1.747 GB, free: 142.8 MB / 1.249 GB Notification: Performance of SimCode: time 0.06082/4.031, allocations: 26.16 MB / 1.772 GB, free: 116.5 MB / 1.249 GB Notification: Performance of Templates: time 0.3411/4.372, allocations: 189.5 MB / 1.957 GB, free: 6.949 MB / 1.327 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)