Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_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.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") translateModel(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_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.0009222/0.0009222, allocations: 190 kB / 17.33 MB, free: 6.152 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.3112/0.3112, allocations: 205.5 MB / 223.6 MB, free: 15.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009013/0.0009013, allocations: 107.9 kB / 271.1 MB, free: 10.57 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.01567/0.01567, allocations: 14.5 MB / 332.9 MB, free: 12.71 MB / 286.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.281/1.281, allocations: 438.4 MB / 0.8028 GB, free: 14.03 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.001203/0.001203, allocations: 77.59 kB / 0.9789 GB, free: 32.58 MB / 0.686 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1813, allocations: 166.1 MB / 1.141 GB, free: 10.24 MB / 0.8267 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.04017/0.2215, allocations: 64.68 MB / 1.204 GB, free: 9.293 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.6373/0.8589, allocations: 23.32 MB / 1.227 GB, free: 14.17 MB / 0.8897 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008166/0.8671, allocations: 247.6 kB / 1.227 GB, free: 14.17 MB / 0.8897 GB Notification: Performance of NFTyping.typeComponents: time 0.006147/0.8732, allocations: 2.799 MB / 1.23 GB, free: 14.09 MB / 0.8897 GB Notification: Performance of NFTyping.typeBindings: time 0.01759/0.8908, allocations: 8.037 MB / 1.238 GB, free: 13.26 MB / 0.8897 GB Notification: Performance of NFTyping.typeClassSections: time 0.004499/0.8954, allocations: 3.011 MB / 1.241 GB, free: 11.46 MB / 0.8897 GB Notification: Performance of NFFlatten.flatten: time 0.01994/0.9153, allocations: 22.13 MB / 1.262 GB, free: 0.9336 MB / 0.8897 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003289/0.9186, allocations: 2.517 MB / 1.265 GB, free: 15.64 MB / 0.9053 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008429/0.9271, allocations: 6.408 MB / 1.271 GB, free: 11.77 MB / 0.9053 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006953/0.934, allocations: 6.811 MB / 1.278 GB, free: 7.297 MB / 0.9053 GB Notification: Performance of NFPackage.collectConstants: time 0.001119/0.9352, allocations: 0.8998 MB / 1.279 GB, free: 7.293 MB / 0.9053 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004219/0.9394, allocations: 1.893 MB / 1.28 GB, free: 7.098 MB / 0.9053 GB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.9406, allocations: 2.06 MB / 1.282 GB, free: 5.352 MB / 0.9053 GB Notification: Performance of NFVerifyModel.verify: time 0.005455/0.946, allocations: 6.471 MB / 1.289 GB, free: 0.8164 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.959, allocations: 15.19 MB / 1.304 GB, free: 6.566 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.959, allocations: 1.375 kB / 1.304 GB, free: 6.566 MB / 0.9209 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9591, allocations: 0 / 1.304 GB, free: 6.566 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0001979/0.9593, allocations: 0 / 1.304 GB, free: 6.566 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.03877/0.998, allocations: 15.69 MB / 1.319 GB, free: 12.97 MB / 0.9365 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9981, allocations: 7.797 kB / 1.319 GB, free: 12.97 MB / 0.9365 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004821/1.003, allocations: 1.65 MB / 1.321 GB, free: 12.16 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009036/1.012, allocations: 6.637 MB / 1.327 GB, free: 7.27 MB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/1.012, allocations: 0.6536 MB / 1.328 GB, free: 6.945 MB / 0.9365 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009225/1.013, allocations: 0.8709 MB / 1.329 GB, free: 6.074 MB / 0.9365 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01151/1.025, allocations: 8.981 MB / 1.337 GB, free: 12.69 MB / 0.9522 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/1.025, allocations: 15.81 kB / 1.337 GB, free: 12.67 MB / 0.9522 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005632/1.025, allocations: 360 kB / 1.338 GB, free: 12.32 MB / 0.9522 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/1.026, allocations: 216 kB / 1.338 GB, free: 12.11 MB / 0.9522 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01149/1.037, allocations: 8.511 MB / 1.346 GB, free: 3.578 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.04587/1.083, allocations: 53.74 MB / 1.399 GB, free: 9.285 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/1.096, allocations: 10.66 MB / 1.409 GB, free: 14.59 MB / 1.03 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004825/1.101, allocations: 4.011 MB / 1.413 GB, free: 10.57 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/1.101, allocations: 111 kB / 1.413 GB, free: 10.47 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/1.101, allocations: 129.6 kB / 1.413 GB, free: 10.34 MB / 1.03 GB Notification: Performance of pre-optimization done (n=909): time 9.568e-06/1.101, allocations: 3.938 kB / 1.413 GB, free: 10.33 MB / 1.03 GB Notification: Performance of matching and sorting (n=911): time 0.03062/1.132, allocations: 20.41 MB / 1.433 GB, free: 5.844 MB / 1.046 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.132, allocations: 352.1 kB / 1.434 GB, free: 5.438 MB / 1.046 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005595/1.138, allocations: 5.794 MB / 1.439 GB, free: 15.69 MB / 1.062 GB Notification: Performance of collectPreVariables (initialization): time 0.0003752/1.138, allocations: 189.7 kB / 1.439 GB, free: 15.5 MB / 1.062 GB Notification: Performance of collectInitialEqns (initialization): time 0.002111/1.14, allocations: 4.057 MB / 1.443 GB, free: 11.44 MB / 1.062 GB Notification: Performance of collectInitialBindings (initialization): time 0.001812/1.142, allocations: 3.142 MB / 1.446 GB, free: 8.32 MB / 1.062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001948/1.144, allocations: 1.741 MB / 1.448 GB, free: 6.57 MB / 1.062 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/1.144, allocations: 305.1 kB / 1.448 GB, free: 6.27 MB / 1.062 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00467/1.149, allocations: 3.272 MB / 1.452 GB, free: 2.988 MB / 1.062 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005673/1.154, allocations: 5.263 MB / 1.457 GB, free: 13 MB / 1.077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/1.165, allocations: 8.592 MB / 1.465 GB, free: 3.691 MB / 1.077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.199e-05/1.165, allocations: 16 kB / 1.465 GB, free: 3.676 MB / 1.077 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.02342/1.189, allocations: 13.88 MB / 1.479 GB, free: 5.656 MB / 1.093 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/1.189, allocations: 24 kB / 1.479 GB, free: 5.633 MB / 1.093 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.393e-05/1.189, allocations: 48 kB / 1.479 GB, free: 5.586 MB / 1.093 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02453/1.213, allocations: 6.234 MB / 1.485 GB, free: 15.3 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006038/1.219, allocations: 1.954 MB / 1.487 GB, free: 13.34 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06568/1.285, allocations: 57.95 MB / 1.543 GB, free: 0.5391 MB / 1.155 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007044/1.292, allocations: 0.525 MB / 1.544 GB, free: 12 kB / 1.155 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004793/1.293, allocations: 380 kB / 1.544 GB, free: 15.64 MB / 1.171 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006218/1.299, allocations: 4.258 MB / 1.548 GB, free: 11.38 MB / 1.171 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004977/1.304, allocations: 5.024 MB / 1.553 GB, free: 5.625 MB / 1.171 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009737/1.314, allocations: 8.268 MB / 1.561 GB, free: 12.64 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.227e-05/1.314, allocations: 15.98 kB / 1.561 GB, free: 12.62 MB / 1.187 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.01849/1.332, allocations: 12.18 MB / 1.573 GB, free: 312 kB / 1.187 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/1.332, allocations: 24 kB / 1.573 GB, free: 288 kB / 1.187 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.139e-05/1.332, allocations: 48 kB / 1.573 GB, free: 240 kB / 1.187 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02053/1.353, allocations: 5.144 MB / 1.578 GB, free: 11.05 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006468/1.359, allocations: 2.106 MB / 1.58 GB, free: 8.941 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04748/1.407, allocations: 47.54 MB / 1.627 GB, free: 6.844 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006766/1.413, allocations: 458 kB / 1.627 GB, free: 6.395 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004483/1.414, allocations: 372 kB / 1.628 GB, free: 6.031 MB / 1.249 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.00129/1.415, allocations: 0.7384 MB / 1.628 GB, free: 5.285 MB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009818/1.416, allocations: 0.8955 MB / 1.629 GB, free: 4.379 MB / 1.249 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/1.432, allocations: 10.01 MB / 1.639 GB, free: 10.34 MB / 1.265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.682e-05/1.432, allocations: 43.83 kB / 1.639 GB, free: 10.3 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.432, allocations: 7.938 kB / 1.639 GB, free: 10.29 MB / 1.265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002475/1.434, allocations: 1.591 MB / 1.641 GB, free: 8.668 MB / 1.265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000886/1.435, allocations: 152 kB / 1.641 GB, free: 8.52 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003679/1.439, allocations: 362.2 kB / 1.641 GB, free: 8.164 MB / 1.265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008276/1.44, allocations: 0.7206 MB / 1.642 GB, free: 7.441 MB / 1.265 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01808/1.458, allocations: 9.427 MB / 1.651 GB, free: 14.19 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06567/1.523, allocations: 46.8 MB / 1.697 GB, free: 15.1 MB / 1.327 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003917/1.527, allocations: 3.012 MB / 1.7 GB, free: 12.08 MB / 1.327 GB Notification: Performance of sorting global known variables: time 0.003915/1.531, allocations: 3.679 MB / 1.703 GB, free: 8.445 MB / 1.327 GB Notification: Performance of Backend: time 4.51e-07/1.531, allocations: 0 / 1.703 GB, free: 8.445 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: created initialization part: time 0.3739/1.905, allocations: 24.65 MB / 1.727 GB, free: 457.5 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.03101/1.936, allocations: 33.03 MB / 1.76 GB, free: 443.4 MB / 1.327 GB Notification: Performance of Templates: time 0.08818/2.024, allocations: 205.9 MB / 1.961 GB, free: 276.5 MB / 1.327 GB make -j1 -f ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile (rm -f ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_AnalyticJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)