Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.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_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_NumericalJacobian_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_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009247/0.0009248, allocations: 198.5 kB / 16.71 MB, free: 6.898 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.3239/0.3239, allocations: 205.5 MB / 223 MB, free: 0.7656 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.0008785/0.0008785, allocations: 111.9 kB / 270.4 MB, free: 8.656 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1106/0.1106, allocations: 14.45 MB / 332.2 MB, free: 44.91 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.255/1.255, allocations: 460.6 MB / 0.8239 GB, free: 11.89 MB / 0.6388 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.001173/0.001173, allocations: 83.88 kB / 1.006 GB, free: 7.625 MB / 0.6858 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1949, allocations: 171.9 MB / 1.174 GB, free: 11.36 MB / 0.8577 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.7323/0.9272, allocations: 56.31 MB / 1.229 GB, free: 14.01 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.0235/0.9508, allocations: 20.56 MB / 1.249 GB, free: 8.418 MB / 0.8892 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006283/0.9571, allocations: 228.3 kB / 1.249 GB, free: 8.344 MB / 0.8892 GB Notification: Performance of NFTyping.typeComponents: time 0.004727/0.9619, allocations: 2.435 MB / 1.251 GB, free: 7.473 MB / 0.8892 GB Notification: Performance of NFTyping.typeBindings: time 0.01381/0.9757, allocations: 6.974 MB / 1.258 GB, free: 3.316 MB / 0.8892 GB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.9802, allocations: 2.88 MB / 1.261 GB, free: 1.137 MB / 0.8892 GB Notification: Performance of NFFlatten.flatten: time 0.01768/0.9979, allocations: 19.31 MB / 1.28 GB, free: 6.066 MB / 0.9048 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002896/1.001, allocations: 2.365 MB / 1.282 GB, free: 4.816 MB / 0.9048 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006672/1.007, allocations: 5.626 MB / 1.288 GB, free: 1.391 MB / 0.9048 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007309/1.015, allocations: 5.988 MB / 1.293 GB, free: 13.43 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.001326/1.016, allocations: 0.8288 MB / 1.294 GB, free: 13.43 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/1.02, allocations: 1.714 MB / 1.296 GB, free: 13.25 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/1.021, allocations: 1.873 MB / 1.298 GB, free: 11.66 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.004745/1.026, allocations: 5.713 MB / 1.303 GB, free: 7.621 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/1.037, allocations: 13.57 MB / 1.317 GB, free: 14.04 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.037, allocations: 0 / 1.317 GB, free: 14.04 MB / 0.936 GB Notification: Performance of FrontEnd: time 1.273e-06/1.037, allocations: 1.156 kB / 1.317 GB, free: 14.04 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.0001744/1.037, allocations: 0 / 1.317 GB, free: 14.04 MB / 0.936 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.03382/1.071, allocations: 13.8 MB / 1.33 GB, free: 5.383 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/1.071, allocations: 9.078 kB / 1.33 GB, free: 5.383 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004094/1.075, allocations: 1.434 MB / 1.331 GB, free: 4.672 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007998/1.083, allocations: 5.947 MB / 1.337 GB, free: 176 kB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002739/1.084, allocations: 0.5757 MB / 1.338 GB, free: 15.9 MB / 0.9517 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006995/1.084, allocations: 0.7634 MB / 1.339 GB, free: 15.61 MB / 0.9517 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009434/1.094, allocations: 7.883 MB / 1.346 GB, free: 7.406 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/1.094, allocations: 11.88 kB / 1.346 GB, free: 7.395 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004625/1.094, allocations: 319.9 kB / 1.347 GB, free: 7.082 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.572e-05/1.095, allocations: 184 kB / 1.347 GB, free: 6.902 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0099/1.104, allocations: 7.5 MB / 1.354 GB, free: 15.39 MB / 0.9673 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.03939/1.144, allocations: 46.19 MB / 1.399 GB, free: 13.11 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/1.155, allocations: 9.329 MB / 1.408 GB, free: 3.66 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004159/1.159, allocations: 3.545 MB / 1.412 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000259/1.159, allocations: 98.11 kB / 1.412 GB, free: 0 / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.43e-05/1.159, allocations: 116.7 kB / 1.412 GB, free: 15.88 MB / 1.03 GB Notification: Performance of pre-optimization done (n=787): time 9.218e-06/1.159, allocations: 0 / 1.412 GB, free: 15.88 MB / 1.03 GB Notification: Performance of matching and sorting (n=789): time 0.02594/1.185, allocations: 17.83 MB / 1.429 GB, free: 13.92 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.186, allocations: 343.2 kB / 1.43 GB, free: 13.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004927/1.19, allocations: 5.213 MB / 1.435 GB, free: 8.332 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/1.191, allocations: 173.7 kB / 1.435 GB, free: 8.156 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0019/1.193, allocations: 3.587 MB / 1.438 GB, free: 4.539 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001538/1.194, allocations: 2.718 MB / 1.441 GB, free: 1.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001691/1.196, allocations: 1.557 MB / 1.443 GB, free: 216 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/1.196, allocations: 305.1 kB / 1.443 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004023/1.2, allocations: 2.932 MB / 1.446 GB, free: 12.96 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004954/1.205, allocations: 4.733 MB / 1.45 GB, free: 7.566 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009194/1.214, allocations: 7.653 MB / 1.458 GB, free: 15.31 MB / 1.077 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.222e-05/1.214, allocations: 19.94 kB / 1.458 GB, free: 15.29 MB / 1.077 GB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.02054/1.235, allocations: 12.41 MB / 1.47 GB, free: 2.797 MB / 1.077 GB Notification: Performance of prepare postOptimizeDAE: time 3.442e-05/1.235, allocations: 24 kB / 1.47 GB, free: 2.773 MB / 1.077 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/1.235, allocations: 40 kB / 1.47 GB, free: 2.734 MB / 1.077 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02161/1.256, allocations: 5.545 MB / 1.475 GB, free: 13.12 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005298/1.262, allocations: 1.747 MB / 1.477 GB, free: 11.38 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05612/1.318, allocations: 53.9 MB / 1.53 GB, free: 2.594 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006103/1.324, allocations: 490 kB / 1.53 GB, free: 2.113 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/1.324, allocations: 332 kB / 1.531 GB, free: 1.789 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005336/1.33, allocations: 3.799 MB / 1.534 GB, free: 13.98 MB / 1.155 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004331/1.334, allocations: 4.506 MB / 1.539 GB, free: 8.812 MB / 1.155 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008277/1.342, allocations: 7.329 MB / 1.546 GB, free: 0.8828 MB / 1.155 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.876e-05/1.342, allocations: 12 kB / 1.546 GB, free: 0.8711 MB / 1.155 GB Notification: Performance of matching and sorting (n=1197) (initialization_lambda0): time 0.01597/1.358, allocations: 10.71 MB / 1.556 GB, free: 6.086 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/1.358, allocations: 24.97 kB / 1.556 GB, free: 6.062 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.674e-05/1.358, allocations: 40 kB / 1.556 GB, free: 6.023 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01797/1.376, allocations: 4.448 MB / 1.561 GB, free: 1.516 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005806/1.382, allocations: 1.896 MB / 1.563 GB, free: 15.62 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03953/1.422, allocations: 43.39 MB / 1.605 GB, free: 1.621 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005815/1.428, allocations: 410.3 kB / 1.605 GB, free: 1.219 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003853/1.428, allocations: 332 kB / 1.606 GB, free: 0.8945 MB / 1.217 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 (951): * Single equations (assignments): 931 * 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.001121/1.429, allocations: 0.6803 MB / 1.606 GB, free: 212 kB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008444/1.43, allocations: 0.7913 MB / 1.607 GB, free: 15.4 MB / 1.233 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01267/1.443, allocations: 8.638 MB / 1.616 GB, free: 6.703 MB / 1.233 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.187e-05/1.443, allocations: 35.86 kB / 1.616 GB, free: 6.668 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.443, allocations: 4 kB / 1.616 GB, free: 6.664 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002246/1.445, allocations: 1.424 MB / 1.617 GB, free: 5.211 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007308/1.446, allocations: 132 kB / 1.617 GB, free: 5.082 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/1.449, allocations: 318.5 kB / 1.617 GB, free: 4.77 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006993/1.45, allocations: 0.6222 MB / 1.618 GB, free: 4.145 MB / 1.233 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01493/1.465, allocations: 8.23 MB / 1.626 GB, free: 11.86 MB / 1.249 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01147/1.476, allocations: 9.609 MB / 1.635 GB, free: 2.16 MB / 1.249 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003149/1.479, allocations: 2.664 MB / 1.638 GB, free: 15.48 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003558/1.483, allocations: 3.316 MB / 1.641 GB, free: 12.19 MB / 1.264 GB Notification: Performance of Backend: time 6.11e-07/1.483, allocations: 0 / 1.641 GB, free: 12.19 MB / 1.264 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.03192/1.515, allocations: 22.01 MB / 1.663 GB, free: 5.648 MB / 1.28 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.01878/1.533, allocations: 20.31 MB / 1.683 GB, free: 1.25 MB / 1.295 GB Notification: Performance of Templates: time 0.8474/2.381, allocations: 164.2 MB / 1.843 GB, free: 364 MB / 1.327 GB make -j1 -f ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.makefile (rm -f ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; mkfifo ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe >> ../files/ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.sim & ./ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe 2>&1)