Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_NumericalJacobian_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_NumericalJacobian_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_NumericalJacobian_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.001428/0.001428, allocations: 195.6 kB / 16.7 MB, free: 6.902 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.3088/0.3088, allocations: 205.5 MB / 223 MB, free: 0.668 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.0008733/0.0008733, allocations: 103.5 kB / 270.4 MB, free: 8.625 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.1083/0.1083, allocations: 14.42 MB / 332.2 MB, free: 45.14 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.262/1.262, allocations: 460.6 MB / 0.8238 GB, free: 12.33 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.001197/0.001197, allocations: 71.89 kB / 1.006 GB, free: 11.94 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1971, allocations: 171.9 MB / 1.174 GB, free: 15.7 MB / 0.9045 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.03943/0.2366, allocations: 64.68 MB / 1.237 GB, free: 14.76 MB / 0.967 GB Notification: Performance of NFInst.instExpressions: time 0.7443/0.9809, allocations: 23.35 MB / 1.26 GB, free: 38.57 MB / 0.9673 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00742/0.9884, allocations: 248.2 kB / 1.26 GB, free: 38.57 MB / 0.9673 GB Notification: Performance of NFTyping.typeComponents: time 0.005048/0.9934, allocations: 2.797 MB / 1.262 GB, free: 38.53 MB / 0.9673 GB Notification: Performance of NFTyping.typeBindings: time 0.01525/1.009, allocations: 8.016 MB / 1.27 GB, free: 38.26 MB / 0.9673 GB Notification: Performance of NFTyping.typeClassSections: time 0.004292/1.013, allocations: 3.014 MB / 1.273 GB, free: 38.18 MB / 0.9673 GB Notification: Performance of NFFlatten.flatten: time 0.01771/1.031, allocations: 22.13 MB / 1.295 GB, free: 30.04 MB / 0.9673 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003669/1.034, allocations: 2.518 MB / 1.297 GB, free: 28.9 MB / 0.9673 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008072/1.043, allocations: 6.406 MB / 1.304 GB, free: 25.58 MB / 0.9673 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007347/1.05, allocations: 6.813 MB / 1.31 GB, free: 22.31 MB / 0.9673 GB Notification: Performance of NFPackage.collectConstants: time 0.001399/1.051, allocations: 0.8959 MB / 1.311 GB, free: 22.31 MB / 0.9673 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/1.056, allocations: 1.89 MB / 1.313 GB, free: 22.16 MB / 0.9673 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/1.057, allocations: 2.059 MB / 1.315 GB, free: 20.7 MB / 0.9673 GB Notification: Performance of NFVerifyModel.verify: time 0.005887/1.063, allocations: 6.469 MB / 1.321 GB, free: 16.58 MB / 0.9673 GB Notification: Performance of NFConvertDAE.convert: time 0.01206/1.075, allocations: 15.21 MB / 1.336 GB, free: 10.39 MB / 0.9673 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.075, allocations: 1.406 kB / 1.336 GB, free: 10.39 MB / 0.9673 GB Notification: Performance of FrontEnd: time 1.603e-06/1.075, allocations: 0 / 1.336 GB, free: 10.39 MB / 0.9673 GB Notification: Performance of Transformations before backend: time 0.0002139/1.075, allocations: 4 kB / 1.336 GB, free: 10.38 MB / 0.9673 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.03768/1.113, allocations: 15.68 MB / 1.351 GB, free: 0.793 MB / 0.9673 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/1.113, allocations: 10.3 kB / 1.351 GB, free: 0.793 MB / 0.9673 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004961/1.118, allocations: 1.651 MB / 1.353 GB, free: 15.97 MB / 0.9829 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009687/1.127, allocations: 6.631 MB / 1.36 GB, free: 11.09 MB / 0.9829 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/1.128, allocations: 0.6548 MB / 1.36 GB, free: 10.79 MB / 0.9829 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008676/1.129, allocations: 0.8701 MB / 1.361 GB, free: 10.49 MB / 0.9829 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/1.14, allocations: 8.977 MB / 1.37 GB, free: 4.777 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/1.14, allocations: 22.52 kB / 1.37 GB, free: 4.762 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005464/1.141, allocations: 356.7 kB / 1.37 GB, free: 4.492 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/1.141, allocations: 212 kB / 1.37 GB, free: 4.492 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01163/1.153, allocations: 8.512 MB / 1.379 GB, free: 356 kB / 0.9829 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.04589/1.199, allocations: 53.75 MB / 1.431 GB, free: 14.62 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/1.211, allocations: 10.67 MB / 1.442 GB, free: 3.938 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004704/1.216, allocations: 4.02 MB / 1.446 GB, free: 15.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/1.216, allocations: 107.8 kB / 1.446 GB, free: 15.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.599e-05/1.216, allocations: 129.7 kB / 1.446 GB, free: 15.68 MB / 1.061 GB Notification: Performance of pre-optimization done (n=909): time 9.558e-06/1.216, allocations: 0 / 1.446 GB, free: 15.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=911): time 0.03005/1.246, allocations: 20.41 MB / 1.466 GB, free: 11.19 MB / 1.077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/1.246, allocations: 352.2 kB / 1.466 GB, free: 10.78 MB / 1.077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005649/1.252, allocations: 5.794 MB / 1.472 GB, free: 5.035 MB / 1.077 GB Notification: Performance of collectPreVariables (initialization): time 0.0003549/1.252, allocations: 197.6 kB / 1.472 GB, free: 4.836 MB / 1.077 GB Notification: Performance of collectInitialEqns (initialization): time 0.002146/1.255, allocations: 4.051 MB / 1.476 GB, free: 0.7812 MB / 1.077 GB Notification: Performance of collectInitialBindings (initialization): time 0.001811/1.256, allocations: 3.145 MB / 1.479 GB, free: 13.66 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001934/1.258, allocations: 1.733 MB / 1.481 GB, free: 11.92 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/1.258, allocations: 301.1 kB / 1.481 GB, free: 11.62 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004471/1.263, allocations: 3.272 MB / 1.484 GB, free: 8.34 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005502/1.268, allocations: 5.266 MB / 1.489 GB, free: 2.352 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.279, allocations: 8.592 MB / 1.498 GB, free: 9.039 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.166e-05/1.279, allocations: 12 kB / 1.498 GB, free: 9.027 MB / 1.108 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.02275/1.302, allocations: 13.89 MB / 1.511 GB, free: 11 MB / 1.124 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/1.302, allocations: 24 kB / 1.511 GB, free: 10.98 MB / 1.124 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-05/1.302, allocations: 48 kB / 1.511 GB, free: 10.93 MB / 1.124 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02429/1.326, allocations: 6.234 MB / 1.517 GB, free: 4.648 MB / 1.124 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006016/1.332, allocations: 1.95 MB / 1.519 GB, free: 2.695 MB / 1.124 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06244/1.395, allocations: 57.95 MB / 1.576 GB, free: 5.926 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007042/1.402, allocations: 0.5289 MB / 1.576 GB, free: 5.395 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000468/1.402, allocations: 376 kB / 1.577 GB, free: 5.027 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006098/1.408, allocations: 4.262 MB / 1.581 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004868/1.413, allocations: 5.024 MB / 1.586 GB, free: 11.01 MB / 1.202 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009445/1.423, allocations: 8.264 MB / 1.594 GB, free: 2.027 MB / 1.202 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.258e-05/1.423, allocations: 16 kB / 1.594 GB, free: 2.012 MB / 1.202 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.01828/1.441, allocations: 12.18 MB / 1.606 GB, free: 5.695 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/1.441, allocations: 31.97 kB / 1.606 GB, free: 5.664 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-05/1.441, allocations: 48 kB / 1.606 GB, free: 5.617 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02066/1.462, allocations: 5.146 MB / 1.611 GB, free: 440 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/1.468, allocations: 2.095 MB / 1.613 GB, free: 14.33 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04561/1.514, allocations: 47.54 MB / 1.659 GB, free: 12.25 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00675/1.52, allocations: 466 kB / 1.66 GB, free: 11.79 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/1.521, allocations: 372 kB / 1.66 GB, free: 11.43 MB / 1.28 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.001288/1.522, allocations: 0.7421 MB / 1.661 GB, free: 10.68 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009918/1.523, allocations: 0.8955 MB / 1.662 GB, free: 9.773 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.538, allocations: 10 MB / 1.671 GB, free: 15.74 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-05/1.538, allocations: 43.83 kB / 1.672 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.538, allocations: 0 / 1.672 GB, free: 15.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002602/1.541, allocations: 1.591 MB / 1.673 GB, free: 14.07 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008661/1.542, allocations: 160 kB / 1.673 GB, free: 13.92 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003499/1.545, allocations: 358.2 kB / 1.674 GB, free: 13.57 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008331/1.546, allocations: 0.7245 MB / 1.674 GB, free: 12.84 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01709/1.563, allocations: 9.418 MB / 1.683 GB, free: 3.594 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01302/1.576, allocations: 10.89 MB / 1.694 GB, free: 8.633 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003554/1.58, allocations: 3.012 MB / 1.697 GB, free: 5.613 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.004013/1.584, allocations: 3.675 MB / 1.701 GB, free: 1.98 MB / 1.311 GB Notification: Performance of Backend: time 5.11e-07/1.584, allocations: 0 / 1.701 GB, free: 1.98 MB / 1.311 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.03663/1.62, allocations: 24.68 MB / 1.725 GB, free: 8.812 MB / 1.342 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.02168/1.642, allocations: 23.03 MB / 1.747 GB, free: 1.711 MB / 1.358 GB Notification: Performance of Templates: time 0.8401/2.482, allocations: 186.8 MB / 1.93 GB, free: 371.8 MB / 1.374 GB make -j1 -f ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)