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.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_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.001493/0.001493, allocations: 109 kB / 17.74 MB, free: 5.301 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.001879/0.001879, allocations: 188.2 kB / 18.67 MB, free: 4.371 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.397/1.397, allocations: 205.1 MB / 224.5 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06319/0.06319, allocations: 14.16 MB / 286.1 MB, free: 13.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.647/2.647, allocations: 418.6 MB / 0.7378 GB, free: 5.141 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.002082/0.002082, allocations: 94.95 kB / 1.067 GB, free: 6.664 MB / 0.7959 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2931, allocations: 160.9 MB / 1.224 GB, free: 9 MB / 0.9209 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.05424/0.3474, allocations: 63.82 MB / 1.287 GB, free: 8.926 MB / 0.9834 GB Notification: Performance of NFInst.instExpressions: time 0.04393/0.3914, allocations: 23.28 MB / 1.309 GB, free: 1.566 MB / 0.999 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01492/0.4064, allocations: 238.9 kB / 1.31 GB, free: 1.332 MB / 0.999 GB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.4186, allocations: 3.318 MB / 1.313 GB, free: 13.99 MB / 1.015 GB Notification: Performance of NFTyping.typeBindings: time 0.03083/0.4495, allocations: 9.407 MB / 1.322 GB, free: 4.547 MB / 1.015 GB Notification: Performance of NFTyping.typeClassSections: time 0.01035/0.4599, allocations: 3.261 MB / 1.325 GB, free: 1.281 MB / 1.015 GB Notification: Performance of NFFlatten.flatten: time 0.03074/0.4906, allocations: 21.27 MB / 1.346 GB, free: 11.94 MB / 1.046 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006225/0.4969, allocations: 2.519 MB / 1.349 GB, free: 9.344 MB / 1.046 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01288/0.5098, allocations: 7.142 MB / 1.355 GB, free: 2.176 MB / 1.046 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01376/0.5236, allocations: 7.571 MB / 1.363 GB, free: 10.57 MB / 1.062 GB Notification: Performance of NFPackage.collectConstants: time 0.004617/0.5283, allocations: 1.047 MB / 1.364 GB, free: 9.523 MB / 1.062 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009954/0.5382, allocations: 2.043 MB / 1.366 GB, free: 7.484 MB / 1.062 GB Notification: Performance of NFScalarize.scalarize: time 0.004687/0.5429, allocations: 2.311 MB / 1.368 GB, free: 5.164 MB / 1.062 GB Notification: Performance of NFVerifyModel.verify: time 0.01522/0.5582, allocations: 6.714 MB / 1.375 GB, free: 14.41 MB / 1.077 GB Notification: Performance of NFConvertDAE.convert: time 0.02675/0.585, allocations: 16.72 MB / 1.391 GB, free: 13.64 MB / 1.093 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.585, allocations: 0 / 1.391 GB, free: 13.64 MB / 1.093 GB Notification: Performance of FrontEnd: time 1.714e-06/0.585, allocations: 0 / 1.391 GB, free: 13.64 MB / 1.093 GB Notification: Performance of Transformations before backend: time 0.0004194/0.5854, allocations: 0 / 1.391 GB, free: 13.64 MB / 1.093 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.05988/0.6453, allocations: 16.24 MB / 1.407 GB, free: 13.29 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.6454, allocations: 12.03 kB / 1.407 GB, free: 13.27 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008383/0.6538, allocations: 1.642 MB / 1.409 GB, free: 11.62 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01789/0.6717, allocations: 7.079 MB / 1.415 GB, free: 4.441 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005739/0.6723, allocations: 0.6574 MB / 1.416 GB, free: 3.781 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001948/0.6743, allocations: 0.8709 MB / 1.417 GB, free: 2.91 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.6912, allocations: 8.981 MB / 1.426 GB, free: 9.52 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001539/0.6914, allocations: 15.88 kB / 1.426 GB, free: 9.504 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007348/0.6921, allocations: 356 kB / 1.426 GB, free: 9.156 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001589/0.6923, allocations: 212 kB / 1.426 GB, free: 8.949 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.7084, allocations: 8.519 MB / 1.435 GB, free: 420 kB / 1.124 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.09046/0.7989, allocations: 57.06 MB / 1.49 GB, free: 2.43 MB / 1.187 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/0.816, allocations: 10.66 MB / 1.501 GB, free: 7.734 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00715/0.8232, allocations: 4.02 MB / 1.505 GB, free: 3.699 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004899/0.8237, allocations: 115.1 kB / 1.505 GB, free: 3.586 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.322e-05/0.8238, allocations: 133.6 kB / 1.505 GB, free: 3.445 MB / 1.202 GB Notification: Performance of pre-optimization done (n=909): time 1.164e-05/0.8239, allocations: 4 kB / 1.505 GB, free: 3.441 MB / 1.202 GB Notification: Performance of matching and sorting (n=909): time 0.02564/0.8495, allocations: 12 MB / 1.517 GB, free: 7.418 MB / 1.218 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.8497, allocations: 356.2 kB / 1.517 GB, free: 7.008 MB / 1.218 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01122/0.861, allocations: 6.309 MB / 1.523 GB, free: 0.7461 MB / 1.218 GB Notification: Performance of collectPreVariables (initialization): time 0.001581/0.8626, allocations: 193.7 kB / 1.523 GB, free: 0.5508 MB / 1.218 GB Notification: Performance of collectInitialEqns (initialization): time 0.5782/1.441, allocations: 4.028 MB / 1.527 GB, free: 266.4 MB / 1.218 GB Notification: Performance of collectInitialBindings (initialization): time 0.00367/1.444, allocations: 3.145 MB / 1.53 GB, free: 264.6 MB / 1.218 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003016/1.447, allocations: 1.736 MB / 1.532 GB, free: 264.3 MB / 1.218 GB Notification: Performance of setup shared object (initialization): time 4.122e-05/1.448, allocations: 305.3 kB / 1.532 GB, free: 264 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00675/1.454, allocations: 3.269 MB / 1.535 GB, free: 262.7 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009138/1.463, allocations: 5.266 MB / 1.541 GB, free: 259.2 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01649/1.48, allocations: 8.585 MB / 1.549 GB, free: 253.8 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/1.48, allocations: 16.81 kB / 1.549 GB, free: 253.8 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.03476/1.515, allocations: 13.9 MB / 1.563 GB, free: 248.4 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 6.27e-05/1.515, allocations: 23.62 kB / 1.563 GB, free: 248.4 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.455e-05/1.515, allocations: 47.12 kB / 1.563 GB, free: 248.4 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02933/1.544, allocations: 6.185 MB / 1.569 GB, free: 247.7 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008087/1.553, allocations: 1.94 MB / 1.571 GB, free: 247.5 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06787/1.62, allocations: 58.02 MB / 1.627 GB, free: 202.7 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/1.631, allocations: 0.852 MB / 1.628 GB, free: 201.8 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/1.632, allocations: 372 kB / 1.628 GB, free: 201.5 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007788/1.64, allocations: 4.258 MB / 1.633 GB, free: 197.2 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005475/1.645, allocations: 5.032 MB / 1.637 GB, free: 191.5 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01124/1.656, allocations: 8.268 MB / 1.646 GB, free: 182.5 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.239e-05/1.656, allocations: 12 kB / 1.646 GB, free: 182.5 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.02372/1.68, allocations: 12.2 MB / 1.657 GB, free: 170.1 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/1.68, allocations: 24 kB / 1.658 GB, free: 170.1 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.145e-05/1.68, allocations: 48 kB / 1.658 GB, free: 170.1 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02386/1.704, allocations: 5.111 MB / 1.663 GB, free: 164.9 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008312/1.713, allocations: 2.083 MB / 1.665 GB, free: 162.8 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04911/1.762, allocations: 47.57 MB / 1.711 GB, free: 112.7 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009705/1.771, allocations: 0.6549 MB / 1.712 GB, free: 112.1 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/1.773, allocations: 376 kB / 1.712 GB, free: 111.7 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 (1061): * Single equations (assignments): 1041 * 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.001776/1.774, allocations: 0.7384 MB / 1.713 GB, free: 110.9 MB / 1.218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002422/1.777, allocations: 0.9032 MB / 1.714 GB, free: 110 MB / 1.218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01612/1.793, allocations: 9.956 MB / 1.723 GB, free: 100 MB / 1.218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.021e-05/1.793, allocations: 47.83 kB / 1.723 GB, free: 99.98 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.793, allocations: 3.938 kB / 1.723 GB, free: 99.98 MB / 1.218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004489/1.797, allocations: 1.852 MB / 1.725 GB, free: 98.09 MB / 1.218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001594/1.799, allocations: 160 kB / 1.725 GB, free: 97.94 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005712/1.805, allocations: 267.6 kB / 1.726 GB, free: 97.68 MB / 1.218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009941/1.806, allocations: 0.7223 MB / 1.726 GB, free: 96.95 MB / 1.218 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01923/1.825, allocations: 9.357 MB / 1.735 GB, free: 87.77 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.07784/1.903, allocations: 47.55 MB / 1.782 GB, free: 39.93 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004465/1.907, allocations: 3 MB / 1.785 GB, free: 36.93 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.005791/1.913, allocations: 4.062 MB / 1.789 GB, free: 32.91 MB / 1.218 GB Notification: Performance of Backend: time 1.082e-06/1.913, allocations: 4 kB / 1.789 GB, free: 32.9 MB / 1.218 GB Notification: Performance of simCode: created initialization part: time 0.04736/1.961, allocations: 24.71 MB / 1.813 GB, free: 7.734 MB / 1.218 GB Notification: Performance of SimCode: time 0.04908/2.01, allocations: 29.88 MB / 1.842 GB, free: 9.719 MB / 1.249 GB Notification: Performance of Templates: time 0.3452/2.355, allocations: 216.8 MB / 2.054 GB, free: 0.8008 MB / 1.452 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)