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.001325/0.001325, allocations: 104.9 kB / 17.17 MB, free: 6.316 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.001399/0.001399, allocations: 189.9 kB / 18.08 MB, free: 5.41 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.489/1.489, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06118/0.06118, allocations: 14.16 MB / 285.4 MB, free: 14.15 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.81/2.81, allocations: 418.6 MB / 0.7371 GB, free: 5.375 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.001931/0.001931, allocations: 83.88 kB / 0.9081 GB, free: 1.363 MB / 0.686 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3131, allocations: 160.9 MB / 1.065 GB, free: 240 kB / 0.8423 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.902/1.215, allocations: 64.66 MB / 1.128 GB, free: 12.69 MB / 0.8584 GB Notification: Performance of NFInst.instExpressions: time 0.04067/1.256, allocations: 23.34 MB / 1.151 GB, free: 11.53 MB / 0.874 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01448/1.27, allocations: 248.4 kB / 1.151 GB, free: 11.46 MB / 0.874 GB Notification: Performance of NFTyping.typeComponents: time 0.01383/1.284, allocations: 2.797 MB / 1.154 GB, free: 10.25 MB / 0.874 GB Notification: Performance of NFTyping.typeBindings: time 0.03258/1.317, allocations: 8.059 MB / 1.162 GB, free: 4.609 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.01051/1.327, allocations: 3.026 MB / 1.165 GB, free: 2.492 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.04212/1.37, allocations: 20.9 MB / 1.185 GB, free: 7.336 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008543/1.378, allocations: 2.397 MB / 1.188 GB, free: 6.039 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01545/1.394, allocations: 5.397 MB / 1.193 GB, free: 3.008 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01506/1.409, allocations: 6.203 MB / 1.199 GB, free: 14.96 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.007106/1.416, allocations: 420.9 kB / 1.199 GB, free: 14.96 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/1.43, allocations: 1.154 MB / 1.201 GB, free: 14.76 MB / 0.9053 GB Notification: Performance of NFScalarize.scalarize: time 0.005017/1.435, allocations: 1.58 MB / 1.202 GB, free: 13.43 MB / 0.9053 GB Notification: Performance of NFVerifyModel.verify: time 0.01868/1.454, allocations: 5.736 MB / 1.208 GB, free: 9.566 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.03011/1.484, allocations: 14.63 MB / 1.222 GB, free: 15.01 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/1.484, allocations: 0 / 1.222 GB, free: 15.01 MB / 0.9209 GB Notification: Performance of FrontEnd: time 3.155e-06/1.484, allocations: 3.938 kB / 1.222 GB, free: 15 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0008006/1.485, allocations: 0 / 1.222 GB, free: 15 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.06982/1.555, allocations: 15.61 MB / 1.237 GB, free: 5.266 MB / 0.9209 GB Notification: Performance of prepare preOptimizeDAE: time 7.095e-05/1.555, allocations: 8.531 kB / 1.237 GB, free: 5.266 MB / 0.9209 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/1.567, allocations: 1.654 MB / 1.239 GB, free: 4.445 MB / 0.9209 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02265/1.589, allocations: 6.631 MB / 1.245 GB, free: 15.43 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001097/1.591, allocations: 0.6515 MB / 1.246 GB, free: 15.12 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00351/1.594, allocations: 0.8696 MB / 1.247 GB, free: 14.83 MB / 0.9365 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/1.625, allocations: 8.977 MB / 1.256 GB, free: 6.613 MB / 0.9365 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005043/1.626, allocations: 15.88 kB / 1.256 GB, free: 6.598 MB / 0.9365 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002602/1.628, allocations: 356 kB / 1.256 GB, free: 6.25 MB / 0.9365 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00023/1.629, allocations: 216 kB / 1.256 GB, free: 6.039 MB / 0.9365 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/1.655, allocations: 8.511 MB / 1.264 GB, free: 13.51 MB / 0.9521 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.0943/1.749, allocations: 53.76 MB / 1.317 GB, free: 2.848 MB / 0.999 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02296/1.772, allocations: 10.67 MB / 1.327 GB, free: 8.148 MB / 1.015 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01072/1.783, allocations: 4.02 MB / 1.331 GB, free: 4.121 MB / 1.015 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/1.784, allocations: 111.1 kB / 1.331 GB, free: 4.012 MB / 1.015 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/1.784, allocations: 125.7 kB / 1.332 GB, free: 3.879 MB / 1.015 GB Notification: Performance of pre-optimization done (n=909): time 1.969e-05/1.784, allocations: 0 / 1.332 GB, free: 3.879 MB / 1.015 GB Notification: Performance of matching and sorting (n=911): time 0.06625/1.851, allocations: 20.41 MB / 1.351 GB, free: 15.39 MB / 1.046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001984/1.851, allocations: 360.2 kB / 1.352 GB, free: 14.97 MB / 1.046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/1.864, allocations: 5.786 MB / 1.357 GB, free: 9.234 MB / 1.046 GB Notification: Performance of collectPreVariables (initialization): time 0.001835/1.866, allocations: 189.7 kB / 1.358 GB, free: 9.043 MB / 1.046 GB Notification: Performance of collectInitialEqns (initialization): time 0.004415/1.87, allocations: 4.054 MB / 1.362 GB, free: 4.953 MB / 1.046 GB Notification: Performance of collectInitialBindings (initialization): time 0.005142/1.876, allocations: 3.149 MB / 1.365 GB, free: 1.758 MB / 1.046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004529/1.88, allocations: 1.737 MB / 1.366 GB, free: 12 kB / 1.046 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.88, allocations: 301.1 kB / 1.367 GB, free: 15.71 MB / 1.062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007226/1.888, allocations: 3.268 MB / 1.37 GB, free: 12.44 MB / 1.062 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009977/1.898, allocations: 5.266 MB / 1.375 GB, free: 6.449 MB / 1.062 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01733/1.915, allocations: 8.592 MB / 1.383 GB, free: 13.14 MB / 1.077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.087e-05/1.915, allocations: 12 kB / 1.383 GB, free: 13.12 MB / 1.077 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.03776/1.953, allocations: 13.88 MB / 1.397 GB, free: 15.1 MB / 1.093 GB Notification: Performance of prepare postOptimizeDAE: time 6.525e-05/1.953, allocations: 28.97 kB / 1.397 GB, free: 15.07 MB / 1.093 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.837e-05/1.953, allocations: 47.94 kB / 1.397 GB, free: 15.03 MB / 1.093 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03166/1.985, allocations: 6.192 MB / 1.403 GB, free: 8.766 MB / 1.093 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009029/1.994, allocations: 1.954 MB / 1.405 GB, free: 6.809 MB / 1.093 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08176/2.076, allocations: 53.42 MB / 1.457 GB, free: 14.66 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/2.087, allocations: 0.5329 MB / 1.458 GB, free: 14.13 MB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002207/2.089, allocations: 376 kB / 1.458 GB, free: 13.76 MB / 1.155 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01351/2.103, allocations: 4.254 MB / 1.462 GB, free: 9.5 MB / 1.155 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01037/2.113, allocations: 5.024 MB / 1.467 GB, free: 3.754 MB / 1.155 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01951/2.133, allocations: 8.268 MB / 1.475 GB, free: 10.77 MB / 1.171 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.668e-05/2.133, allocations: 16 kB / 1.475 GB, free: 10.75 MB / 1.171 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.03597/2.169, allocations: 12.19 MB / 1.487 GB, free: 14.42 MB / 1.187 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/2.169, allocations: 32.25 kB / 1.487 GB, free: 14.39 MB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.345e-05/2.169, allocations: 44 kB / 1.487 GB, free: 14.35 MB / 1.187 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02713/2.196, allocations: 5.105 MB / 1.492 GB, free: 9.18 MB / 1.187 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009529/2.206, allocations: 2.11 MB / 1.494 GB, free: 7.07 MB / 1.187 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06225/2.268, allocations: 43.79 MB / 1.537 GB, free: 8.844 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/2.279, allocations: 462 kB / 1.537 GB, free: 8.391 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001868/2.281, allocations: 376 kB / 1.538 GB, free: 8.023 MB / 1.233 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.002589/2.283, allocations: 0.7345 MB / 1.538 GB, free: 7.281 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003164/2.286, allocations: 0.9032 MB / 1.539 GB, free: 6.367 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5948/2.881, allocations: 10.01 MB / 1.549 GB, free: 380.9 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002727/2.881, allocations: 41.77 kB / 1.549 GB, free: 380.9 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/2.882, allocations: 0 / 1.549 GB, free: 380.9 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007483/2.889, allocations: 1.584 MB / 1.551 GB, free: 380.8 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003525/2.893, allocations: 161.1 kB / 1.551 GB, free: 380.8 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008925/2.902, allocations: 361.5 kB / 1.551 GB, free: 380.8 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001965/2.903, allocations: 0.7213 MB / 1.552 GB, free: 380.8 MB / 1.233 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02453/2.928, allocations: 9.409 MB / 1.561 GB, free: 380.5 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1109/3.039, allocations: 46.57 MB / 1.607 GB, free: 359.5 MB / 1.233 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0084/3.047, allocations: 3.009 MB / 1.61 GB, free: 358.3 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.00716/3.055, allocations: 3.677 MB / 1.613 GB, free: 357 MB / 1.233 GB Notification: Performance of Backend: time 1.162e-06/3.055, allocations: 0 / 1.613 GB, free: 357 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.05754/3.112, allocations: 23.74 MB / 1.636 GB, free: 345.8 MB / 1.233 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.04886/3.161, allocations: 32.74 MB / 1.668 GB, free: 326.4 MB / 1.233 GB Notification: Performance of Templates: time 0.3031/3.464, allocations: 194 MB / 1.858 GB, free: 140.8 MB / 1.233 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)