Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_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/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/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_noopt_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_noopt_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.001435/0.001435, allocations: 110.1 kB / 17.74 MB, free: 5.355 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.001532/0.001532, allocations: 179.8 kB / 18.67 MB, free: 4.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07791/0.07791, allocations: 14.18 MB / 286.1 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 3.742/3.742, allocations: 418.6 MB / 0.7378 GB, free: 5.148 MB / 0.5764 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.003898/0.003898, allocations: 85.02 kB / 1.067 GB, free: 6.684 MB / 0.7959 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5186/0.5225, allocations: 160.9 MB / 1.224 GB, free: 8.996 MB / 0.9209 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.07178/0.5944, allocations: 63.81 MB / 1.287 GB, free: 8.93 MB / 0.9834 GB Notification: Performance of NFInst.instExpressions: time 0.05748/0.652, allocations: 23.27 MB / 1.309 GB, free: 1.582 MB / 0.999 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02049/0.6725, allocations: 238.9 kB / 1.31 GB, free: 1.348 MB / 0.999 GB Notification: Performance of NFTyping.typeComponents: time 0.01798/0.6907, allocations: 3.314 MB / 1.313 GB, free: 14.01 MB / 1.015 GB Notification: Performance of NFTyping.typeBindings: time 0.04941/0.7401, allocations: 8.865 MB / 1.322 GB, free: 5.129 MB / 1.015 GB Notification: Performance of NFTyping.typeClassSections: time 0.01601/0.7562, allocations: 3.257 MB / 1.325 GB, free: 1.867 MB / 1.015 GB Notification: Performance of NFFlatten.flatten: time 0.04703/0.8033, allocations: 21.27 MB / 1.345 GB, free: 12.53 MB / 1.046 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/0.8147, allocations: 2.518 MB / 1.348 GB, free: 9.934 MB / 1.046 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02753/0.8423, allocations: 6.989 MB / 1.355 GB, free: 2.918 MB / 1.046 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02205/0.8645, allocations: 7.575 MB / 1.362 GB, free: 11.31 MB / 1.062 GB Notification: Performance of NFPackage.collectConstants: time 0.00805/0.8726, allocations: 1.047 MB / 1.363 GB, free: 10.27 MB / 1.062 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/0.8889, allocations: 2.047 MB / 1.365 GB, free: 8.219 MB / 1.062 GB Notification: Performance of NFScalarize.scalarize: time 0.007337/0.8963, allocations: 2.311 MB / 1.367 GB, free: 5.898 MB / 1.062 GB Notification: Performance of NFVerifyModel.verify: time 0.0245/0.9209, allocations: 6.714 MB / 1.374 GB, free: 15.15 MB / 1.077 GB Notification: Performance of NFConvertDAE.convert: time 0.05462/0.9755, allocations: 16.76 MB / 1.39 GB, free: 14.33 MB / 1.093 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.9757, allocations: 0 / 1.39 GB, free: 14.33 MB / 1.093 GB Notification: Performance of FrontEnd: time 3.557e-06/0.9757, allocations: 0 / 1.39 GB, free: 14.33 MB / 1.093 GB Notification: Performance of Transformations before backend: time 0.001252/0.977, allocations: 0 / 1.39 GB, free: 14.33 MB / 1.093 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.08942/1.066, allocations: 16.56 MB / 1.407 GB, free: 13.64 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 7.858e-05/1.067, allocations: 8.031 kB / 1.407 GB, free: 13.64 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/1.081, allocations: 1.7 MB / 1.408 GB, free: 11.93 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02871/1.109, allocations: 7.149 MB / 1.415 GB, free: 4.691 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001102/1.111, allocations: 0.6613 MB / 1.416 GB, free: 4.027 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005007/1.116, allocations: 0.8632 MB / 1.417 GB, free: 3.164 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03594/1.152, allocations: 8.977 MB / 1.425 GB, free: 9.785 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007233/1.152, allocations: 15.88 kB / 1.425 GB, free: 9.77 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004139/1.156, allocations: 356 kB / 1.426 GB, free: 9.418 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003341/1.157, allocations: 212 kB / 1.426 GB, free: 9.211 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03312/1.19, allocations: 8.523 MB / 1.434 GB, free: 0.668 MB / 1.124 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.1336/1.324, allocations: 57.15 MB / 1.49 GB, free: 2.609 MB / 1.187 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0259/1.35, allocations: 10.65 MB / 1.501 GB, free: 7.918 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01122/1.361, allocations: 4.028 MB / 1.504 GB, free: 3.875 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/1.362, allocations: 115 kB / 1.505 GB, free: 3.762 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/1.362, allocations: 129.7 kB / 1.505 GB, free: 3.625 MB / 1.202 GB Notification: Performance of pre-optimization done (n=909): time 2.006e-05/1.362, allocations: 0 / 1.505 GB, free: 3.625 MB / 1.202 GB Notification: Performance of matching and sorting (n=909): time 0.04518/1.408, allocations: 12.05 MB / 1.516 GB, free: 7.562 MB / 1.218 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003148/1.408, allocations: 356.1 kB / 1.517 GB, free: 7.152 MB / 1.218 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02254/1.431, allocations: 6.318 MB / 1.523 GB, free: 0.8828 MB / 1.218 GB Notification: Performance of collectPreVariables (initialization): time 0.002644/1.433, allocations: 189.7 kB / 1.523 GB, free: 0.6914 MB / 1.218 GB Notification: Performance of collectInitialEqns (initialization): time 1.203/2.636, allocations: 4.115 MB / 1.527 GB, free: 265.9 MB / 1.218 GB Notification: Performance of collectInitialBindings (initialization): time 0.00921/2.645, allocations: 3.301 MB / 1.53 GB, free: 264.3 MB / 1.218 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01378/2.659, allocations: 1.739 MB / 1.532 GB, free: 264.2 MB / 1.218 GB Notification: Performance of setup shared object (initialization): time 0.0001245/2.659, allocations: 310.8 kB / 1.532 GB, free: 263.9 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01404/2.673, allocations: 3.267 MB / 1.536 GB, free: 262.5 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01992/2.693, allocations: 5.272 MB / 1.541 GB, free: 259.1 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0326/2.726, allocations: 8.586 MB / 1.549 GB, free: 253.7 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003304/2.727, allocations: 12.84 kB / 1.549 GB, free: 253.7 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.06439/2.791, allocations: 13.94 MB / 1.563 GB, free: 248.2 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003511/2.791, allocations: 23.78 kB / 1.563 GB, free: 248.2 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003462/2.792, allocations: 47.59 kB / 1.563 GB, free: 248.2 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03184/2.824, allocations: 6.181 MB / 1.569 GB, free: 247.5 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009522/2.833, allocations: 1.943 MB / 1.571 GB, free: 247.3 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09162/2.925, allocations: 58.15 MB / 1.628 GB, free: 202.7 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01601/2.941, allocations: 0.869 MB / 1.628 GB, free: 202 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002854/2.944, allocations: 376 kB / 1.629 GB, free: 201.6 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01608/2.96, allocations: 4.254 MB / 1.633 GB, free: 197.4 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01137/2.971, allocations: 5.028 MB / 1.638 GB, free: 191.6 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02017/2.992, allocations: 8.264 MB / 1.646 GB, free: 182.6 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001243/2.992, allocations: 12 kB / 1.646 GB, free: 182.6 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.04186/3.034, allocations: 12.24 MB / 1.658 GB, free: 170.3 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/3.034, allocations: 27.98 kB / 1.658 GB, free: 170.2 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/3.034, allocations: 48 kB / 1.658 GB, free: 170.2 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02502/3.059, allocations: 5.103 MB / 1.663 GB, free: 165.1 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009821/3.069, allocations: 2.093 MB / 1.665 GB, free: 163 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06342/3.133, allocations: 47.67 MB / 1.711 GB, free: 112.8 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01625/3.149, allocations: 0.6647 MB / 1.712 GB, free: 112.2 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002828/3.152, allocations: 372 kB / 1.712 GB, free: 111.9 MB / 1.218 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.006061/3.158, allocations: 0.7353 MB / 1.713 GB, free: 111.1 MB / 1.218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005843/3.164, allocations: 0.951 MB / 1.714 GB, free: 110.2 MB / 1.218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03096/3.195, allocations: 9.952 MB / 1.724 GB, free: 100.2 MB / 1.218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003872/3.195, allocations: 47.83 kB / 1.724 GB, free: 100.1 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/3.195, allocations: 0 / 1.724 GB, free: 100.1 MB / 1.218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009628/3.205, allocations: 1.911 MB / 1.726 GB, free: 98.27 MB / 1.218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005721/3.211, allocations: 160 kB / 1.726 GB, free: 98.12 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0119/3.223, allocations: 270 kB / 1.726 GB, free: 97.86 MB / 1.218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003069/3.226, allocations: 0.7206 MB / 1.727 GB, free: 97.14 MB / 1.218 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03142/3.257, allocations: 9.37 MB / 1.736 GB, free: 87.95 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1533/3.41, allocations: 47.77 MB / 1.783 GB, free: 39.91 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007103/3.418, allocations: 2.996 MB / 1.786 GB, free: 36.91 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.01/3.428, allocations: 4.074 MB / 1.79 GB, free: 32.88 MB / 1.218 GB Notification: Performance of Backend: time 1.603e-06/3.428, allocations: 0 / 1.79 GB, free: 32.88 MB / 1.218 GB Notification: Performance of simCode: created initialization part: time 0.07296/3.501, allocations: 24.82 MB / 1.814 GB, free: 7.594 MB / 1.218 GB Notification: Performance of SimCode: time 0.07419/3.575, allocations: 30.44 MB / 1.844 GB, free: 9.004 MB / 1.249 GB Notification: Performance of Templates: time 0.4247/4, allocations: 216.5 MB / 2.055 GB, free: 336 kB / 1.452 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)