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.00148/0.00148, allocations: 110.1 kB / 17.74 MB, free: 5.355 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.001427/0.001427, allocations: 179.8 kB / 18.67 MB, free: 4.43 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.733/1.733, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06148/0.06148, allocations: 14.16 MB / 286.1 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 3.859/3.859, allocations: 418.6 MB / 0.7378 GB, free: 5.145 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.002324/0.002324, allocations: 83.89 kB / 1.067 GB, free: 14.49 MB / 0.8579 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726/1.728, allocations: 160.9 MB / 1.224 GB, free: 0.6211 MB / 0.9053 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.05151/1.78, allocations: 55.55 MB / 1.279 GB, free: 8.859 MB / 0.9678 GB Notification: Performance of NFInst.instExpressions: time 0.05158/1.831, allocations: 20.53 MB / 1.299 GB, free: 4.262 MB / 0.9834 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01984/1.851, allocations: 214.9 kB / 1.299 GB, free: 4.051 MB / 0.9834 GB Notification: Performance of NFTyping.typeComponents: time 0.01541/1.867, allocations: 2.875 MB / 1.302 GB, free: 1.156 MB / 0.9834 GB Notification: Performance of NFTyping.typeBindings: time 0.03508/1.902, allocations: 7.72 MB / 1.309 GB, free: 9.402 MB / 0.999 GB Notification: Performance of NFTyping.typeClassSections: time 0.01255/1.914, allocations: 3.124 MB / 1.312 GB, free: 6.277 MB / 0.999 GB Notification: Performance of NFFlatten.flatten: time 0.03947/1.954, allocations: 18.58 MB / 1.33 GB, free: 3.641 MB / 1.015 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009713/1.964, allocations: 2.365 MB / 1.333 GB, free: 1.199 MB / 1.015 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01962/1.983, allocations: 6.13 MB / 1.339 GB, free: 11.04 MB / 1.03 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01851/2.002, allocations: 6.618 MB / 1.345 GB, free: 4.398 MB / 1.03 GB Notification: Performance of NFPackage.collectConstants: time 0.006987/2.009, allocations: 0.957 MB / 1.346 GB, free: 3.441 MB / 1.03 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0134/2.022, allocations: 1.851 MB / 1.348 GB, free: 1.594 MB / 1.03 GB Notification: Performance of NFScalarize.scalarize: time 0.006011/2.029, allocations: 2.078 MB / 1.35 GB, free: 15.51 MB / 1.046 GB Notification: Performance of NFVerifyModel.verify: time 0.01984/2.048, allocations: 5.921 MB / 1.356 GB, free: 9.559 MB / 1.046 GB Notification: Performance of NFConvertDAE.convert: time 0.03711/2.086, allocations: 14.91 MB / 1.37 GB, free: 10.59 MB / 1.062 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/2.086, allocations: 0 / 1.37 GB, free: 10.59 MB / 1.062 GB Notification: Performance of FrontEnd: time 2.625e-06/2.086, allocations: 0 / 1.37 GB, free: 10.59 MB / 1.062 GB Notification: Performance of Transformations before backend: time 0.0007254/2.086, allocations: 0 / 1.37 GB, free: 10.59 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.06892/2.155, allocations: 14.54 MB / 1.384 GB, free: 11.94 MB / 1.077 GB Notification: Performance of prepare preOptimizeDAE: time 8.277e-05/2.155, allocations: 8.031 kB / 1.384 GB, free: 11.93 MB / 1.077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/2.166, allocations: 1.49 MB / 1.386 GB, free: 10.43 MB / 1.077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02362/2.19, allocations: 6.391 MB / 1.392 GB, free: 3.977 MB / 1.077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009893/2.191, allocations: 0.5809 MB / 1.393 GB, free: 3.395 MB / 1.077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004247/2.195, allocations: 0.7772 MB / 1.394 GB, free: 2.617 MB / 1.077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03336/2.228, allocations: 7.879 MB / 1.401 GB, free: 10.42 MB / 1.093 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006518/2.229, allocations: 15.86 kB / 1.401 GB, free: 10.4 MB / 1.093 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003475/2.233, allocations: 312 kB / 1.402 GB, free: 10.1 MB / 1.093 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002381/2.233, allocations: 192 kB / 1.402 GB, free: 9.91 MB / 1.093 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/2.26, allocations: 7.496 MB / 1.409 GB, free: 2.402 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.1097/2.37, allocations: 48.92 MB / 1.457 GB, free: 13.38 MB / 1.155 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02267/2.392, allocations: 9.34 MB / 1.466 GB, free: 3.926 MB / 1.155 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008463/2.401, allocations: 3.549 MB / 1.469 GB, free: 372 kB / 1.155 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008826/2.402, allocations: 94.12 kB / 1.469 GB, free: 276 kB / 1.155 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/2.402, allocations: 120.7 kB / 1.47 GB, free: 144 kB / 1.155 GB Notification: Performance of pre-optimization done (n=787): time 1.995e-05/2.402, allocations: 4 kB / 1.47 GB, free: 140 kB / 1.155 GB Notification: Performance of matching and sorting (n=787): time 0.03088/2.433, allocations: 10.45 MB / 1.48 GB, free: 5.641 MB / 1.171 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002046/2.433, allocations: 339.2 kB / 1.48 GB, free: 5.246 MB / 1.171 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01721/2.451, allocations: 5.655 MB / 1.486 GB, free: 15.61 MB / 1.187 GB Notification: Performance of collectPreVariables (initialization): time 0.00208/2.453, allocations: 173.7 kB / 1.486 GB, free: 15.43 MB / 1.187 GB Notification: Performance of collectInitialEqns (initialization): time 0.004774/2.457, allocations: 3.65 MB / 1.489 GB, free: 11.77 MB / 1.187 GB Notification: Performance of collectInitialBindings (initialization): time 0.00583/2.463, allocations: 2.854 MB / 1.492 GB, free: 8.887 MB / 1.187 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007883/2.471, allocations: 1.554 MB / 1.494 GB, free: 7.32 MB / 1.187 GB Notification: Performance of setup shared object (initialization): time 0.0001351/2.471, allocations: 301.1 kB / 1.494 GB, free: 7.023 MB / 1.187 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00665/2.478, allocations: 2.94 MB / 1.497 GB, free: 4.066 MB / 1.187 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008102/2.486, allocations: 4.74 MB / 1.501 GB, free: 14.67 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01618/2.502, allocations: 7.645 MB / 1.509 GB, free: 6.418 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-05/2.502, allocations: 12 kB / 1.509 GB, free: 6.406 MB / 1.202 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.04217/2.545, allocations: 12.46 MB / 1.521 GB, free: 9.875 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/2.545, allocations: 31.92 kB / 1.521 GB, free: 9.844 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001777/2.545, allocations: 44 kB / 1.521 GB, free: 9.801 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02842/2.573, allocations: 5.505 MB / 1.527 GB, free: 4.223 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008859/2.582, allocations: 1.736 MB / 1.528 GB, free: 2.484 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193/3.775, allocations: 54.07 MB / 1.581 GB, free: 285.6 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01603/3.791, allocations: 0.7885 MB / 1.582 GB, free: 285.4 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002602/3.794, allocations: 330.8 kB / 1.582 GB, free: 285.3 MB / 1.249 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01396/3.808, allocations: 3.805 MB / 1.586 GB, free: 283.5 MB / 1.249 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009827/3.818, allocations: 4.51 MB / 1.59 GB, free: 280.4 MB / 1.249 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01698/3.835, allocations: 7.317 MB / 1.597 GB, free: 275.8 MB / 1.249 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001174/3.835, allocations: 11.84 kB / 1.597 GB, free: 275.8 MB / 1.249 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.03647/3.871, allocations: 10.77 MB / 1.608 GB, free: 271.7 MB / 1.249 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/3.872, allocations: 23.81 kB / 1.608 GB, free: 271.7 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/3.872, allocations: 43.66 kB / 1.608 GB, free: 271.7 MB / 1.249 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02237/3.894, allocations: 4.416 MB / 1.612 GB, free: 271.3 MB / 1.249 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009124/3.903, allocations: 1.887 MB / 1.614 GB, free: 271.1 MB / 1.249 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05808/3.962, allocations: 43.52 MB / 1.657 GB, free: 235.6 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/3.975, allocations: 0.6035 MB / 1.657 GB, free: 235.1 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002286/3.977, allocations: 336 kB / 1.658 GB, free: 234.8 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.004827/3.982, allocations: 0.6712 MB / 1.658 GB, free: 234.1 MB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005005/3.987, allocations: 0.8346 MB / 1.659 GB, free: 233.3 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02417/4.011, allocations: 8.622 MB / 1.667 GB, free: 224.6 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002427/4.012, allocations: 39.84 kB / 1.667 GB, free: 224.6 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/4.012, allocations: 0 / 1.667 GB, free: 224.6 MB / 1.249 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01023/4.022, allocations: 1.677 MB / 1.669 GB, free: 222.9 MB / 1.249 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006184/4.028, allocations: 147.9 kB / 1.669 GB, free: 222.8 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01204/4.04, allocations: 249.8 kB / 1.67 GB, free: 222.5 MB / 1.249 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003094/4.043, allocations: 0.6144 MB / 1.67 GB, free: 221.9 MB / 1.249 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02732/4.071, allocations: 8.185 MB / 1.678 GB, free: 213.9 MB / 1.249 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1212/4.192, allocations: 42.57 MB / 1.72 GB, free: 171 MB / 1.249 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005611/4.198, allocations: 2.649 MB / 1.722 GB, free: 168.3 MB / 1.249 GB Notification: Performance of sorting global known variables: time 0.008388/4.206, allocations: 3.636 MB / 1.726 GB, free: 164.7 MB / 1.249 GB Notification: Performance of Backend: time 9.92e-07/4.206, allocations: 0 / 1.726 GB, free: 164.7 MB / 1.249 GB Notification: Performance of simCode: created initialization part: time 0.06104/4.267, allocations: 22.17 MB / 1.747 GB, free: 142.1 MB / 1.249 GB Notification: Performance of SimCode: time 0.05954/4.327, allocations: 26.65 MB / 1.773 GB, free: 115.3 MB / 1.249 GB Notification: Performance of Templates: time 0.3468/4.674, allocations: 189.5 MB / 1.959 GB, free: 5.734 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)