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.001409/0.001409, allocations: 113 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.001658/0.001658, allocations: 188.2 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.362/1.362, 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.06515/0.06515, allocations: 14.18 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 2.583/2.583, allocations: 418.6 MB / 0.7378 GB, free: 5.125 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.002067/0.002067, allocations: 87.36 kB / 1.067 GB, free: 14.48 MB / 0.8579 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 160.9 MB / 1.224 GB, free: 432 kB / 0.9053 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.04972/1.231, allocations: 55.54 MB / 1.279 GB, free: 8.672 MB / 0.9678 GB Notification: Performance of NFInst.instExpressions: time 0.04281/1.274, allocations: 20.52 MB / 1.299 GB, free: 4.078 MB / 0.9834 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01304/1.287, allocations: 211 kB / 1.299 GB, free: 3.871 MB / 0.9834 GB Notification: Performance of NFTyping.typeComponents: time 0.01074/1.298, allocations: 2.894 MB / 1.302 GB, free: 0.957 MB / 0.9834 GB Notification: Performance of NFTyping.typeBindings: time 0.02626/1.324, allocations: 8.189 MB / 1.31 GB, free: 8.738 MB / 0.999 GB Notification: Performance of NFTyping.typeClassSections: time 0.00914/1.333, allocations: 3.128 MB / 1.313 GB, free: 5.605 MB / 0.999 GB Notification: Performance of NFFlatten.flatten: time 0.02644/1.36, allocations: 18.58 MB / 1.331 GB, free: 2.969 MB / 1.015 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006467/1.366, allocations: 2.366 MB / 1.333 GB, free: 0.5234 MB / 1.015 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01214/1.378, allocations: 6.254 MB / 1.339 GB, free: 10.25 MB / 1.03 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/1.39, allocations: 6.622 MB / 1.346 GB, free: 3.598 MB / 1.03 GB Notification: Performance of NFPackage.collectConstants: time 0.00449/1.395, allocations: 0.957 MB / 1.347 GB, free: 2.641 MB / 1.03 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0082/1.403, allocations: 1.843 MB / 1.349 GB, free: 0.7969 MB / 1.03 GB Notification: Performance of NFScalarize.scalarize: time 0.004601/1.408, allocations: 2.089 MB / 1.351 GB, free: 14.7 MB / 1.046 GB Notification: Performance of NFVerifyModel.verify: time 0.01383/1.422, allocations: 5.917 MB / 1.356 GB, free: 8.754 MB / 1.046 GB Notification: Performance of NFConvertDAE.convert: time 0.02662/1.448, allocations: 14.87 MB / 1.371 GB, free: 9.84 MB / 1.062 GB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/1.448, allocations: 0 / 1.371 GB, free: 9.84 MB / 1.062 GB Notification: Performance of FrontEnd: time 2.856e-06/1.448, allocations: 0 / 1.371 GB, free: 9.84 MB / 1.062 GB Notification: Performance of Transformations before backend: time 0.0006365/1.449, allocations: 0 / 1.371 GB, free: 9.84 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.0563/1.505, allocations: 14.27 MB / 1.385 GB, free: 11.47 MB / 1.077 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/1.505, allocations: 8.031 kB / 1.385 GB, free: 11.46 MB / 1.077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008628/1.514, allocations: 1.433 MB / 1.386 GB, free: 10.02 MB / 1.077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01716/1.531, allocations: 6.326 MB / 1.392 GB, free: 3.621 MB / 1.077 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006543/1.532, allocations: 0.581 MB / 1.393 GB, free: 3.039 MB / 1.077 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002702/1.535, allocations: 0.7655 MB / 1.394 GB, free: 2.273 MB / 1.077 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/1.557, allocations: 7.887 MB / 1.401 GB, free: 10.07 MB / 1.093 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003816/1.557, allocations: 15.88 kB / 1.401 GB, free: 10.05 MB / 1.093 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/1.559, allocations: 308 kB / 1.402 GB, free: 9.75 MB / 1.093 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000161/1.559, allocations: 188 kB / 1.402 GB, free: 9.566 MB / 1.093 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01958/1.579, allocations: 7.493 MB / 1.409 GB, free: 2.062 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.08905/1.668, allocations: 48.87 MB / 1.457 GB, free: 13.08 MB / 1.155 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01782/1.686, allocations: 9.321 MB / 1.466 GB, free: 3.648 MB / 1.155 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007129/1.693, allocations: 3.557 MB / 1.469 GB, free: 80 kB / 1.155 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/1.694, allocations: 98.17 kB / 1.47 GB, free: 15.98 MB / 1.171 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/1.694, allocations: 120.7 kB / 1.47 GB, free: 15.85 MB / 1.171 GB Notification: Performance of pre-optimization done (n=787): time 1.24e-05/1.694, allocations: 0 / 1.47 GB, free: 15.85 MB / 1.171 GB Notification: Performance of matching and sorting (n=787): time 0.02693/1.721, allocations: 10.42 MB / 1.48 GB, free: 5.387 MB / 1.171 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/1.721, allocations: 347.2 kB / 1.48 GB, free: 4.984 MB / 1.171 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01338/1.735, allocations: 5.646 MB / 1.486 GB, free: 15.36 MB / 1.187 GB Notification: Performance of collectPreVariables (initialization): time 0.001511/1.736, allocations: 169.7 kB / 1.486 GB, free: 15.19 MB / 1.187 GB Notification: Performance of collectInitialEqns (initialization): time 0.003928/1.74, allocations: 3.563 MB / 1.489 GB, free: 11.59 MB / 1.187 GB Notification: Performance of collectInitialBindings (initialization): time 0.004512/1.745, allocations: 2.73 MB / 1.492 GB, free: 8.824 MB / 1.187 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005682/1.75, allocations: 1.549 MB / 1.494 GB, free: 7.262 MB / 1.187 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/1.75, allocations: 301.1 kB / 1.494 GB, free: 6.965 MB / 1.187 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006894/1.757, allocations: 2.944 MB / 1.497 GB, free: 4.004 MB / 1.187 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008218/1.766, allocations: 4.729 MB / 1.501 GB, free: 14.62 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01437/1.78, allocations: 7.641 MB / 1.509 GB, free: 6.371 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.906e-05/1.78, allocations: 12 kB / 1.509 GB, free: 6.359 MB / 1.202 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.03174/1.812, allocations: 12.43 MB / 1.521 GB, free: 9.852 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 7.76e-05/1.812, allocations: 27.94 kB / 1.521 GB, free: 9.824 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.002e-05/1.812, allocations: 47.98 kB / 1.521 GB, free: 9.777 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02665/1.839, allocations: 5.505 MB / 1.526 GB, free: 4.199 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00742/1.846, allocations: 1.744 MB / 1.528 GB, free: 2.453 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6894/2.535, allocations: 53.96 MB / 1.581 GB, free: 286 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.546, allocations: 0.7701 MB / 1.582 GB, free: 285.8 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001939/2.548, allocations: 334.6 kB / 1.582 GB, free: 285.7 MB / 1.249 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009986/2.558, allocations: 3.802 MB / 1.586 GB, free: 283.9 MB / 1.249 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007048/2.565, allocations: 4.499 MB / 1.59 GB, free: 280.8 MB / 1.249 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01199/2.577, allocations: 7.326 MB / 1.597 GB, free: 276.2 MB / 1.249 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.783e-05/2.577, allocations: 11.78 kB / 1.597 GB, free: 276.2 MB / 1.249 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02617/2.603, allocations: 10.73 MB / 1.608 GB, free: 272.2 MB / 1.249 GB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/2.603, allocations: 19.84 kB / 1.608 GB, free: 272.2 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.446e-05/2.603, allocations: 43.66 kB / 1.608 GB, free: 272.2 MB / 1.249 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02148/2.625, allocations: 4.412 MB / 1.612 GB, free: 271.7 MB / 1.249 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008082/2.633, allocations: 1.887 MB / 1.614 GB, free: 271.5 MB / 1.249 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04826/2.681, allocations: 43.45 MB / 1.656 GB, free: 235.8 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009133/2.69, allocations: 0.5872 MB / 1.657 GB, free: 235.3 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001642/2.692, allocations: 336 kB / 1.657 GB, free: 235 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.003037/2.695, allocations: 0.672 MB / 1.658 GB, free: 234.4 MB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003044/2.698, allocations: 0.7951 MB / 1.659 GB, free: 233.6 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01863/2.717, allocations: 8.621 MB / 1.667 GB, free: 224.9 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001624/2.717, allocations: 39.84 kB / 1.667 GB, free: 224.8 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/2.717, allocations: 0 / 1.667 GB, free: 224.8 MB / 1.249 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005299/2.722, allocations: 1.643 MB / 1.669 GB, free: 223.2 MB / 1.249 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002558/2.725, allocations: 146.9 kB / 1.669 GB, free: 223.1 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007131/2.732, allocations: 240.9 kB / 1.669 GB, free: 222.9 MB / 1.249 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002228/2.734, allocations: 0.6197 MB / 1.67 GB, free: 222.2 MB / 1.249 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02275/2.757, allocations: 8.184 MB / 1.678 GB, free: 214.2 MB / 1.249 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1005/2.858, allocations: 42.37 MB / 1.719 GB, free: 171.5 MB / 1.249 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005036/2.863, allocations: 2.657 MB / 1.722 GB, free: 168.8 MB / 1.249 GB Notification: Performance of sorting global known variables: time 0.007016/2.87, allocations: 3.636 MB / 1.725 GB, free: 165.2 MB / 1.249 GB Notification: Performance of Backend: time 1.373e-06/2.87, allocations: 0 / 1.725 GB, free: 165.2 MB / 1.249 GB Notification: Performance of simCode: created initialization part: time 0.04945/2.919, allocations: 22.06 MB / 1.747 GB, free: 142.7 MB / 1.249 GB Notification: Performance of SimCode: time 0.04555/2.965, allocations: 26.17 MB / 1.772 GB, free: 116.4 MB / 1.249 GB Notification: Performance of Templates: time 0.2854/3.25, allocations: 189.5 MB / 1.957 GB, free: 6.855 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)