Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.conf.json 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/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/PowerGrids 1.0.3/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_NumericalJacobian_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_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 116.7 kB / 17.12 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 187.8 kB / 18.05 MB, free: 4.871 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.5184/0.5184, allocations: 208 MB / 226.9 MB, free: 20.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.03082/0.03082, allocations: 14.72 MB / 291.5 MB, free: 6.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 1.628/1.628, allocations: 469.1 MB / 0.795 GB, free: 15.38 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: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002197/0.002197, allocations: 91.81 kB / 1.167 GB, free: 13.16 MB / 0.8735 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 182.5 MB / 1.345 GB, free: 13.52 MB / 1.03 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.05072/1.064, allocations: 64 MB / 1.408 GB, free: 9.887 MB / 1.077 GB Notification: Performance of NFInst.instExpressions: time 0.03371/1.098, allocations: 23.32 MB / 1.43 GB, free: 6.234 MB / 1.093 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00834/1.106, allocations: 233.8 kB / 1.431 GB, free: 6.168 MB / 1.093 GB Notification: Performance of NFTyping.typeComponents: time 0.007666/1.114, allocations: 3.322 MB / 1.434 GB, free: 3.469 MB / 1.093 GB Notification: Performance of NFTyping.typeBindings: time 0.02202/1.136, allocations: 9.413 MB / 1.443 GB, free: 11.48 MB / 1.108 GB Notification: Performance of NFTyping.typeClassSections: time 0.006492/1.142, allocations: 3.288 MB / 1.446 GB, free: 8.691 MB / 1.108 GB Notification: Performance of NFFlatten.flatten: time 0.02218/1.164, allocations: 21.25 MB / 1.467 GB, free: 11.48 MB / 1.124 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/1.167, allocations: 1.472 MB / 1.468 GB, free: 10.46 MB / 1.124 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009622/1.177, allocations: 7.145 MB / 1.475 GB, free: 6.012 MB / 1.124 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01107/1.188, allocations: 7.562 MB / 1.483 GB, free: 0.7852 MB / 1.124 GB Notification: Performance of NFPackage.collectConstants: time 0.002001/1.19, allocations: 1.046 MB / 1.484 GB, free: 0.7852 MB / 1.124 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005898/1.196, allocations: 2.047 MB / 1.486 GB, free: 40 kB / 1.124 GB Notification: Performance of NFScalarize.scalarize: time 0.00168/1.198, allocations: 2.311 MB / 1.488 GB, free: 13.72 MB / 1.14 GB Notification: Performance of NFVerifyModel.verify: time 0.006653/1.204, allocations: 6.725 MB / 1.495 GB, free: 6.961 MB / 1.14 GB Notification: Performance of NFConvertDAE.convert: time 0.01644/1.221, allocations: 16.78 MB / 1.511 GB, free: 6.133 MB / 1.155 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.221, allocations: 0 / 1.511 GB, free: 6.133 MB / 1.155 GB Notification: Performance of FrontEnd: time 1.052e-06/1.221, allocations: 4 kB / 1.511 GB, free: 6.129 MB / 1.155 GB Notification: Performance of Transformations before backend: time 0.0001557/1.221, allocations: 3.938 kB / 1.511 GB, free: 6.125 MB / 1.155 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.045/1.266, allocations: 16.55 MB / 1.527 GB, free: 5.453 MB / 1.171 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.266, allocations: 12.33 kB / 1.527 GB, free: 5.441 MB / 1.171 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005207/1.271, allocations: 1.707 MB / 1.529 GB, free: 3.727 MB / 1.171 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/1.282, allocations: 7.146 MB / 1.536 GB, free: 12.49 MB / 1.187 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004246/1.283, allocations: 0.6535 MB / 1.536 GB, free: 11.84 MB / 1.187 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/1.284, allocations: 0.871 MB / 1.537 GB, free: 10.96 MB / 1.187 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/1.296, allocations: 8.984 MB / 1.546 GB, free: 1.578 MB / 1.187 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001135/1.296, allocations: 19.81 kB / 1.546 GB, free: 1.559 MB / 1.187 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006122/1.297, allocations: 356 kB / 1.546 GB, free: 1.211 MB / 1.187 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/1.297, allocations: 216 kB / 1.547 GB, free: 1 MB / 1.187 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01263/1.309, allocations: 8.515 MB / 1.555 GB, free: 8.461 MB / 1.202 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.06652/1.376, allocations: 57.14 MB / 1.611 GB, free: 10.41 MB / 1.265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01445/1.39, allocations: 10.02 MB / 1.621 GB, free: 368 kB / 1.265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005301/1.396, allocations: 3.582 MB / 1.624 GB, free: 12.76 MB / 1.28 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/1.396, allocations: 107.1 kB / 1.624 GB, free: 12.66 MB / 1.28 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.806e-05/1.396, allocations: 133.7 kB / 1.624 GB, free: 12.52 MB / 1.28 GB Notification: Performance of pre-optimization done (n=909): time 9.378e-06/1.396, allocations: 3.938 kB / 1.624 GB, free: 12.51 MB / 1.28 GB Notification: Performance of matching and sorting (n=909): time 0.0204/1.416, allocations: 11.91 MB / 1.636 GB, free: 0.5898 MB / 1.28 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/1.417, allocations: 356.1 kB / 1.636 GB, free: 184 kB / 1.28 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008276/1.425, allocations: 6.322 MB / 1.642 GB, free: 9.906 MB / 1.296 GB Notification: Performance of collectPreVariables (initialization): time 0.000398/1.425, allocations: 193.7 kB / 1.643 GB, free: 9.711 MB / 1.296 GB Notification: Performance of collectInitialEqns (initialization): time 0.002986/1.428, allocations: 4.119 MB / 1.647 GB, free: 5.566 MB / 1.296 GB Notification: Performance of collectInitialBindings (initialization): time 0.002758/1.431, allocations: 3.295 MB / 1.65 GB, free: 2.242 MB / 1.296 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/1.433, allocations: 1.742 MB / 1.652 GB, free: 0.4922 MB / 1.296 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/1.433, allocations: 301.1 kB / 1.652 GB, free: 200 kB / 1.296 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005326/1.439, allocations: 3.276 MB / 1.655 GB, free: 12.91 MB / 1.312 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006772/1.446, allocations: 5.266 MB / 1.66 GB, free: 6.914 MB / 1.312 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/1.458, allocations: 8.585 MB / 1.669 GB, free: 13.61 MB / 1.327 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-05/1.458, allocations: 12 kB / 1.669 GB, free: 13.6 MB / 1.327 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.02656/1.485, allocations: 13.8 MB / 1.682 GB, free: 15.66 MB / 1.343 GB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/1.485, allocations: 28 kB / 1.682 GB, free: 15.63 MB / 1.343 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-05/1.485, allocations: 48 kB / 1.682 GB, free: 15.59 MB / 1.343 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0258/1.511, allocations: 6.176 MB / 1.688 GB, free: 9.344 MB / 1.343 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006412/1.517, allocations: 1.946 MB / 1.69 GB, free: 7.395 MB / 1.343 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07542/1.592, allocations: 58.15 MB / 1.747 GB, free: 10.38 MB / 1.405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007492/1.6, allocations: 0.8581 MB / 1.748 GB, free: 9.52 MB / 1.405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006742/1.601, allocations: 380 kB / 1.748 GB, free: 9.148 MB / 1.405 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007014/1.608, allocations: 4.262 MB / 1.752 GB, free: 4.879 MB / 1.405 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006066/1.614, allocations: 5.028 MB / 1.757 GB, free: 15.13 MB / 1.421 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01148/1.625, allocations: 8.256 MB / 1.765 GB, free: 6.152 MB / 1.421 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.732e-05/1.625, allocations: 16 kB / 1.765 GB, free: 6.137 MB / 1.421 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.02115/1.646, allocations: 12.12 MB / 1.777 GB, free: 9.883 MB / 1.437 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/1.646, allocations: 24 kB / 1.777 GB, free: 9.859 MB / 1.437 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.498e-05/1.646, allocations: 48 kB / 1.777 GB, free: 9.812 MB / 1.437 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02188/1.668, allocations: 5.114 MB / 1.782 GB, free: 4.637 MB / 1.437 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006905/1.675, allocations: 2.087 MB / 1.784 GB, free: 2.547 MB / 1.437 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05512/1.73, allocations: 47.67 MB / 1.831 GB, free: 308 kB / 1.483 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007157/1.737, allocations: 0.6732 MB / 1.831 GB, free: 15.62 MB / 1.499 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006102/1.738, allocations: 376 kB / 1.832 GB, free: 15.25 MB / 1.499 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 (1061): * Single equations (assignments): 1041 * 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.001349/1.739, allocations: 0.7422 MB / 1.832 GB, free: 14.5 MB / 1.499 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001841/1.741, allocations: 0.9434 MB / 1.833 GB, free: 13.55 MB / 1.499 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01726/1.759, allocations: 9.823 MB / 1.843 GB, free: 3.691 MB / 1.499 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.568e-05/1.759, allocations: 51.77 kB / 1.843 GB, free: 3.641 MB / 1.499 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/1.759, allocations: 0 / 1.843 GB, free: 3.641 MB / 1.499 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003466/1.762, allocations: 1.899 MB / 1.845 GB, free: 1.715 MB / 1.499 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.763, allocations: 160 kB / 1.845 GB, free: 1.559 MB / 1.499 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00506/1.768, allocations: 271.7 kB / 1.845 GB, free: 1.293 MB / 1.499 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009945/1.769, allocations: 0.7245 MB / 1.846 GB, free: 0.5664 MB / 1.499 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01998/1.789, allocations: 9.374 MB / 1.855 GB, free: 7.168 MB / 1.515 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01533/1.805, allocations: 10.91 MB / 1.866 GB, free: 12.2 MB / 1.53 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003985/1.809, allocations: 2.82 MB / 1.868 GB, free: 9.375 MB / 1.53 GB Notification: Performance of sorting global known variables: time 0.005149/1.814, allocations: 4.07 MB / 1.872 GB, free: 5.348 MB / 1.53 GB Notification: Performance of Backend: time 2.5e-07/1.814, allocations: 0 / 1.872 GB, free: 5.348 MB / 1.53 GB Notification: Performance of simCode: created initialization part: time 0.04154/1.855, allocations: 23.67 MB / 1.896 GB, free: 13.14 MB / 1.562 GB Notification: Performance of SimCode: time 0.02517/1.88, allocations: 19.94 MB / 1.915 GB, free: 9.059 MB / 1.577 GB Notification: Performance of Templates: time 0.6839/2.564, allocations: 206.8 MB / 2.117 GB, free: 289.6 MB / 1.577 GB make -j1 -f ScalableTestGrids_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile (rm -f ScalableTestGrids_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=300 -lv LOG_STATS > ScalableTestGrids_NumericalJacobian_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)