Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_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_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_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.001153/0.001153, allocations: 192.9 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.3244/0.3244, allocations: 205.5 MB / 223 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008888/0.0008888, allocations: 107.7 kB / 270.4 MB, free: 8.566 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.09571/0.09571, allocations: 14.43 MB / 332.2 MB, free: 45.12 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.304/1.304, allocations: 460.6 MB / 0.8238 GB, free: 12.86 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.001168/0.001168, allocations: 75.88 kB / 1.006 GB, free: 7.738 MB / 0.6858 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1991, allocations: 171.9 MB / 1.174 GB, free: 11.47 MB / 0.8577 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1): time 0.6313/0.8305, allocations: 56.35 MB / 1.229 GB, free: 14.65 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.02445/0.8549, allocations: 20.56 MB / 1.249 GB, free: 8.742 MB / 0.8892 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006564/0.8615, allocations: 225 kB / 1.249 GB, free: 8.672 MB / 0.8892 GB Notification: Performance of NFTyping.typeComponents: time 0.004496/0.866, allocations: 2.43 MB / 1.251 GB, free: 7.805 MB / 0.8892 GB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.8802, allocations: 6.987 MB / 1.258 GB, free: 3.59 MB / 0.8892 GB Notification: Performance of NFTyping.typeClassSections: time 0.004609/0.8849, allocations: 2.894 MB / 1.261 GB, free: 1.402 MB / 0.8892 GB Notification: Performance of NFFlatten.flatten: time 0.0185/0.9034, allocations: 19.32 MB / 1.28 GB, free: 6.34 MB / 0.9048 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/0.9064, allocations: 2.362 MB / 1.282 GB, free: 5.094 MB / 0.9048 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007293/0.9137, allocations: 5.628 MB / 1.288 GB, free: 1.664 MB / 0.9048 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00579/0.9195, allocations: 5.988 MB / 1.293 GB, free: 13.7 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.0009075/0.9204, allocations: 0.8286 MB / 1.294 GB, free: 13.7 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.9238, allocations: 1.714 MB / 1.296 GB, free: 13.52 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.001336/0.9252, allocations: 1.872 MB / 1.298 GB, free: 11.93 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.004472/0.9297, allocations: 5.712 MB / 1.303 GB, free: 7.898 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.9413, allocations: 13.57 MB / 1.317 GB, free: 14.37 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.9413, allocations: 5.406 kB / 1.317 GB, free: 14.36 MB / 0.936 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9413, allocations: 0 / 1.317 GB, free: 14.36 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.0001798/0.9415, allocations: 3.938 kB / 1.317 GB, free: 14.36 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: 1921 * Number of variables: 1921 Notification: Performance of Generate backend data structure: time 0.03386/0.9754, allocations: 13.8 MB / 1.33 GB, free: 5.703 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.9754, allocations: 9.797 kB / 1.33 GB, free: 5.703 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/0.9795, allocations: 1.439 MB / 1.331 GB, free: 4.988 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008165/0.9877, allocations: 5.939 MB / 1.337 GB, free: 0.4961 MB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002857/0.988, allocations: 0.5824 MB / 1.338 GB, free: 228 kB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007486/0.9888, allocations: 0.7643 MB / 1.339 GB, free: 15.76 MB / 0.9517 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009873/0.9986, allocations: 7.891 MB / 1.346 GB, free: 7.547 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001083/0.9988, allocations: 15.88 kB / 1.346 GB, free: 7.531 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004665/0.9992, allocations: 308 kB / 1.347 GB, free: 7.23 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.9993, allocations: 188 kB / 1.347 GB, free: 7.047 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/1.009, allocations: 7.496 MB / 1.354 GB, free: 15.54 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.04203/1.052, allocations: 46.2 MB / 1.399 GB, free: 13.24 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/1.063, allocations: 9.329 MB / 1.408 GB, free: 3.801 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004333/1.067, allocations: 3.546 MB / 1.412 GB, free: 244 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/1.068, allocations: 106.1 kB / 1.412 GB, free: 136 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.724e-05/1.068, allocations: 112.7 kB / 1.412 GB, free: 12 kB / 1.014 GB Notification: Performance of pre-optimization done (n=788): time 9.528e-06/1.068, allocations: 0 / 1.412 GB, free: 12 kB / 1.014 GB Notification: Performance of matching and sorting (n=790): time 0.02695/1.095, allocations: 17.85 MB / 1.429 GB, free: 14.04 MB / 1.045 GB Notification: Performance of evaluateOutputsOnly (n=790 -> n=338): time 1.037/2.131, allocations: 437.6 MB / 1.857 GB, free: 293.1 MB / 1.327 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/2.131, allocations: 291.7 kB / 1.857 GB, free: 292.7 MB / 1.327 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006218/2.138, allocations: 6.821 MB / 1.864 GB, free: 290.4 MB / 1.327 GB Notification: Performance of collectPreVariables (initialization): time 0.000558/2.138, allocations: 173.7 kB / 1.864 GB, free: 290.2 MB / 1.327 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/2.14, allocations: 2.826 MB / 1.867 GB, free: 288.7 MB / 1.327 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006278/2.14, allocations: 1.208 MB / 1.868 GB, free: 288.2 MB / 1.327 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001803/2.142, allocations: 1.844 MB / 1.87 GB, free: 287.3 MB / 1.327 GB Notification: Performance of setup shared object (initialization): time 3.109e-05/2.142, allocations: 307 kB / 1.87 GB, free: 287 MB / 1.327 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003795/2.146, allocations: 2.951 MB / 1.873 GB, free: 285.8 MB / 1.327 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004415/2.151, allocations: 4.751 MB / 1.877 GB, free: 282.6 MB / 1.327 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00696/2.157, allocations: 6.554 MB / 1.884 GB, free: 278.4 MB / 1.327 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/2.158, allocations: 12 kB / 1.884 GB, free: 278.4 MB / 1.327 GB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.0197/2.177, allocations: 12.45 MB / 1.896 GB, free: 273.7 MB / 1.327 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/2.177, allocations: 20.5 kB / 1.896 GB, free: 273.7 MB / 1.327 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.243e-05/2.177, allocations: 42.62 kB / 1.896 GB, free: 273.7 MB / 1.327 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02097/2.198, allocations: 5.538 MB / 1.901 GB, free: 273 MB / 1.327 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005289/2.204, allocations: 1.746 MB / 1.903 GB, free: 272.8 MB / 1.327 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04891/2.253, allocations: 53.9 MB / 1.956 GB, free: 221.7 MB / 1.327 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006808/2.259, allocations: 0.5632 MB / 1.956 GB, free: 221.2 MB / 1.327 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/2.26, allocations: 332 kB / 1.957 GB, free: 220.8 MB / 1.327 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004525/2.264, allocations: 3.572 MB / 1.96 GB, free: 217.2 MB / 1.327 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003653/2.268, allocations: 4.518 MB / 1.965 GB, free: 212.1 MB / 1.327 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005751/2.274, allocations: 6.233 MB / 1.971 GB, free: 205.2 MB / 1.327 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.758e-05/2.274, allocations: 12 kB / 1.971 GB, free: 205.2 MB / 1.327 GB Notification: Performance of matching and sorting (n=1198) (initialization_lambda0): time 0.01425/2.288, allocations: 10.74 MB / 1.981 GB, free: 194.4 MB / 1.327 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/2.288, allocations: 24.22 kB / 1.981 GB, free: 194.4 MB / 1.327 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/2.288, allocations: 44 kB / 1.981 GB, free: 194.4 MB / 1.327 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01697/2.305, allocations: 4.444 MB / 1.986 GB, free: 189.9 MB / 1.327 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005445/2.31, allocations: 1.896 MB / 1.987 GB, free: 188 MB / 1.327 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03383/2.344, allocations: 43.39 MB / 2.03 GB, free: 142 MB / 1.327 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005555/2.35, allocations: 407 kB / 2.03 GB, free: 141.6 MB / 1.327 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004005/2.35, allocations: 335.9 kB / 2.03 GB, free: 141.3 MB / 1.327 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 (952): * Single equations (assignments): 932 * 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 {(172,0), (38,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.0008907/2.351, allocations: 0.6066 MB / 2.031 GB, free: 140.7 MB / 1.327 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00089/2.352, allocations: 0.7366 MB / 2.032 GB, free: 140 MB / 1.327 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008095/2.36, allocations: 5.46 MB / 2.037 GB, free: 134.4 MB / 1.327 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-05/2.36, allocations: 15.94 kB / 2.037 GB, free: 134.4 MB / 1.327 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/2.36, allocations: 2.078 kB / 2.037 GB, free: 134.4 MB / 1.327 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/2.362, allocations: 1.159 MB / 2.038 GB, free: 133.2 MB / 1.327 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/2.363, allocations: 72 kB / 2.038 GB, free: 133.2 MB / 1.327 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002566/2.366, allocations: 139.7 kB / 2.038 GB, free: 133 MB / 1.327 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004458/2.366, allocations: 401.9 kB / 2.039 GB, free: 132.6 MB / 1.327 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01017/2.376, allocations: 5.384 MB / 2.044 GB, free: 127.3 MB / 1.327 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006225/2.383, allocations: 5.784 MB / 2.05 GB, free: 121.4 MB / 1.327 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001656/2.384, allocations: 1.438 MB / 2.051 GB, free: 120 MB / 1.327 GB Notification: Performance of sorting global known variables: time 0.004277/2.389, allocations: 4.15 MB / 2.055 GB, free: 115.9 MB / 1.327 GB Notification: Performance of Backend: time 8.01e-07/2.389, allocations: 0 / 2.055 GB, free: 115.9 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.02821/2.417, allocations: 21.88 MB / 2.077 GB, free: 93.56 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.01287/2.43, allocations: 16.02 MB / 2.092 GB, free: 77.71 MB / 1.327 GB Notification: Performance of Templates: time 0.0966/2.526, allocations: 148.4 MB / 2.237 GB, free: 9.629 MB / 1.405 GB make -j1 -f ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.makefile (rm -f ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe ; mkfifo ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe >> ../files/ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.sim & ./ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_NumericalJacobian_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe 2>&1)