Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.conf.json 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/ModelicaServices 4.0.0+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-master/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_AnalyticJacobian_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_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009295/0.0009296, allocations: 193.7 kB / 17.34 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.318/0.318, allocations: 205.5 MB / 223.6 MB, free: 0.6914 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008825/0.0008825, allocations: 112.8 kB / 271 MB, free: 8.633 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1015/0.1015, allocations: 14.42 MB / 332.8 MB, free: 44.94 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.316/1.316, allocations: 438.3 MB / 0.8027 GB, free: 14.79 MB / 0.6233 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.001171/0.001171, allocations: 67.91 kB / 0.9788 GB, free: 50.85 MB / 0.7017 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1781, allocations: 166.1 MB / 1.141 GB, free: 12.45 MB / 0.8267 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.03992/0.2181, allocations: 64.67 MB / 1.204 GB, free: 11.52 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.02806/0.2462, allocations: 23.33 MB / 1.227 GB, free: 4.117 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006732/0.2529, allocations: 246.8 kB / 1.227 GB, free: 3.875 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.2581, allocations: 2.806 MB / 1.23 GB, free: 1.055 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.01659/0.2747, allocations: 8.034 MB / 1.238 GB, free: 8.984 MB / 0.9204 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.2794, allocations: 2.997 MB / 1.241 GB, free: 5.984 MB / 0.9204 GB Notification: Performance of NFFlatten.flatten: time 0.6536/0.933, allocations: 22.11 MB / 1.262 GB, free: 18.17 MB / 0.9209 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003384/0.9364, allocations: 2.513 MB / 1.265 GB, free: 17.58 MB / 0.9209 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008337/0.9448, allocations: 6.403 MB / 1.271 GB, free: 17.14 MB / 0.9209 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00785/0.9526, allocations: 6.817 MB / 1.278 GB, free: 15.87 MB / 0.9209 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.9539, allocations: 0.8958 MB / 1.278 GB, free: 15.87 MB / 0.9209 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004218/0.9581, allocations: 1.899 MB / 1.28 GB, free: 15.87 MB / 0.9209 GB Notification: Performance of NFScalarize.scalarize: time 0.0009854/0.9591, allocations: 2.059 MB / 1.282 GB, free: 15.45 MB / 0.9209 GB Notification: Performance of NFVerifyModel.verify: time 0.005271/0.9644, allocations: 6.464 MB / 1.289 GB, free: 13.75 MB / 0.9209 GB Notification: Performance of NFConvertDAE.convert: time 0.01127/0.9757, allocations: 15.21 MB / 1.304 GB, free: 8.465 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.9757, allocations: 0 / 1.304 GB, free: 8.465 MB / 0.9209 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9757, allocations: 2.531 kB / 1.304 GB, free: 8.465 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0002284/0.9759, allocations: 0 / 1.304 GB, free: 8.465 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.03943/1.015, allocations: 15.69 MB / 1.319 GB, free: 15 MB / 0.9365 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/1.015, allocations: 9.016 kB / 1.319 GB, free: 15 MB / 0.9365 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005392/1.021, allocations: 1.648 MB / 1.32 GB, free: 14.18 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009378/1.03, allocations: 6.638 MB / 1.327 GB, free: 9.504 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003251/1.031, allocations: 0.655 MB / 1.328 GB, free: 9.199 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009105/1.031, allocations: 0.8714 MB / 1.328 GB, free: 8.902 MB / 0.9365 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/1.043, allocations: 8.979 MB / 1.337 GB, free: 3.223 MB / 0.9365 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/1.043, allocations: 17.78 kB / 1.337 GB, free: 3.223 MB / 0.9365 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005664/1.043, allocations: 355.9 kB / 1.338 GB, free: 2.953 MB / 0.9365 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.68e-05/1.043, allocations: 216.2 kB / 1.338 GB, free: 2.949 MB / 0.9365 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/1.054, allocations: 8.514 MB / 1.346 GB, free: 14.9 MB / 0.9522 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.04581/1.1, allocations: 53.75 MB / 1.399 GB, free: 11.17 MB / 0.999 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/1.113, allocations: 10.67 MB / 1.409 GB, free: 0.5586 MB / 0.999 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004882/1.118, allocations: 4.008 MB / 1.413 GB, free: 12.54 MB / 1.015 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003467/1.119, allocations: 109.5 kB / 1.413 GB, free: 12.44 MB / 1.015 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.104e-05/1.119, allocations: 125.7 kB / 1.413 GB, free: 12.31 MB / 1.015 GB Notification: Performance of pre-optimization done (n=909): time 9.288e-06/1.119, allocations: 0 / 1.413 GB, free: 12.31 MB / 1.015 GB Notification: Performance of matching and sorting (n=911): time 0.03114/1.15, allocations: 20.42 MB / 1.433 GB, free: 7.957 MB / 1.03 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.15, allocations: 356.2 kB / 1.433 GB, free: 7.547 MB / 1.03 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005673/1.156, allocations: 5.79 MB / 1.439 GB, free: 1.805 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.0003803/1.156, allocations: 189.7 kB / 1.439 GB, free: 1.613 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.002183/1.158, allocations: 4.058 MB / 1.443 GB, free: 13.59 MB / 1.046 GB Notification: Performance of collectInitialBindings (initialization): time 0.00181/1.16, allocations: 3.152 MB / 1.446 GB, free: 10.46 MB / 1.046 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002013/1.162, allocations: 1.733 MB / 1.448 GB, free: 8.723 MB / 1.046 GB Notification: Performance of setup shared object (initialization): time 6.402e-05/1.162, allocations: 305.1 kB / 1.448 GB, free: 8.422 MB / 1.046 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004648/1.167, allocations: 3.276 MB / 1.451 GB, free: 5.137 MB / 1.046 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005663/1.173, allocations: 5.262 MB / 1.457 GB, free: 15.18 MB / 1.062 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/1.183, allocations: 8.593 MB / 1.465 GB, free: 6.062 MB / 1.062 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.192e-05/1.183, allocations: 12 kB / 1.465 GB, free: 6.051 MB / 1.062 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.02362/1.207, allocations: 13.88 MB / 1.479 GB, free: 8.43 MB / 1.077 GB Notification: Performance of prepare postOptimizeDAE: time 3.727e-05/1.207, allocations: 24.94 kB / 1.479 GB, free: 8.406 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.723e-05/1.207, allocations: 48 kB / 1.479 GB, free: 8.359 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02487/1.232, allocations: 6.226 MB / 1.485 GB, free: 2.078 MB / 1.077 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006119/1.238, allocations: 1.958 MB / 1.487 GB, free: 120 kB / 1.077 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06551/1.304, allocations: 57.94 MB / 1.543 GB, free: 3.359 MB / 1.14 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007428/1.311, allocations: 0.5289 MB / 1.544 GB, free: 2.828 MB / 1.14 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004862/1.312, allocations: 376 kB / 1.544 GB, free: 2.461 MB / 1.14 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006266/1.318, allocations: 4.262 MB / 1.548 GB, free: 14.19 MB / 1.155 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004963/1.323, allocations: 5.02 MB / 1.553 GB, free: 8.449 MB / 1.155 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00972/1.333, allocations: 8.264 MB / 1.561 GB, free: 15.48 MB / 1.171 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.257e-05/1.333, allocations: 19.98 kB / 1.561 GB, free: 15.46 MB / 1.171 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.01858/1.351, allocations: 12.18 MB / 1.573 GB, free: 3.152 MB / 1.171 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/1.351, allocations: 24 kB / 1.573 GB, free: 3.129 MB / 1.171 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.477e-05/1.351, allocations: 55.97 kB / 1.573 GB, free: 3.074 MB / 1.171 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02072/1.372, allocations: 5.15 MB / 1.578 GB, free: 13.88 MB / 1.187 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006582/1.379, allocations: 2.095 MB / 1.58 GB, free: 11.79 MB / 1.187 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04745/1.426, allocations: 47.54 MB / 1.627 GB, free: 9.684 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007104/1.433, allocations: 462 kB / 1.627 GB, free: 9.23 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004604/1.434, allocations: 372 kB / 1.628 GB, free: 8.867 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.001325/1.435, allocations: 0.7462 MB / 1.628 GB, free: 8.113 MB / 1.233 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001004/1.436, allocations: 0.8955 MB / 1.629 GB, free: 7.207 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01538/1.451, allocations: 10.01 MB / 1.639 GB, free: 13.17 MB / 1.249 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-05/1.451, allocations: 39.84 kB / 1.639 GB, free: 13.13 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/1.451, allocations: 4 kB / 1.639 GB, free: 13.12 MB / 1.249 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/1.454, allocations: 1.587 MB / 1.64 GB, free: 11.51 MB / 1.249 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008963/1.455, allocations: 156 kB / 1.641 GB, free: 11.36 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003782/1.459, allocations: 366.2 kB / 1.641 GB, free: 11 MB / 1.249 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008465/1.46, allocations: 0.7245 MB / 1.642 GB, free: 10.27 MB / 1.249 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01796/1.477, allocations: 9.414 MB / 1.651 GB, free: 1.031 MB / 1.249 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06572/1.543, allocations: 46.81 MB / 1.697 GB, free: 1.938 MB / 1.296 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003951/1.547, allocations: 3.008 MB / 1.7 GB, free: 14.92 MB / 1.312 GB Notification: Performance of sorting global known variables: time 0.003916/1.551, allocations: 3.679 MB / 1.703 GB, free: 11.29 MB / 1.312 GB Notification: Performance of Backend: time 3.4e-07/1.551, allocations: 0 / 1.703 GB, free: 11.29 MB / 1.312 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.03818/1.589, allocations: 24.68 MB / 1.727 GB, free: 2.141 MB / 1.327 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.3773/1.967, allocations: 33.01 MB / 1.759 GB, free: 457.6 MB / 1.343 GB Notification: Performance of Templates: time 0.0902/2.057, allocations: 206.2 MB / 1.961 GB, free: 314 MB / 1.343 GB make -j1 -f ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)