Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.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.Models.Type1.Type1_reduced_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_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_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 103.9 kB / 18.35 MB, free: 4.684 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.001247/0.001247, allocations: 190.9 kB / 19.29 MB, free: 3.754 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.287/1.287, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05875/0.05875, allocations: 14.16 MB / 286.7 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 2.663/2.663, allocations: 461.2 MB / 0.78 GB, free: 107.2 MB / 0.6545 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.001874/0.001874, allocations: 91.81 kB / 0.963 GB, free: 2.023 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9211/0.923, allocations: 172.1 MB / 1.131 GB, free: 28.89 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1): time 0.03661/0.9597, allocations: 55.59 MB / 1.185 GB, free: 3.094 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.03283/0.9926, allocations: 20.53 MB / 1.205 GB, free: 1.793 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01028/1.003, allocations: 211.3 kB / 1.206 GB, free: 1.73 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.009464/1.012, allocations: 2.886 MB / 1.208 GB, free: 15.38 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.02467/1.037, allocations: 7.707 MB / 1.216 GB, free: 8.781 MB / 0.9204 GB Notification: Performance of NFTyping.typeClassSections: time 0.007776/1.045, allocations: 3.13 MB / 1.219 GB, free: 6.121 MB / 0.9204 GB Notification: Performance of NFFlatten.flatten: time 0.02433/1.069, allocations: 18.58 MB / 1.237 GB, free: 10.55 MB / 0.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004445/1.074, allocations: 2.367 MB / 1.239 GB, free: 9.27 MB / 0.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/1.084, allocations: 6.121 MB / 1.245 GB, free: 5.445 MB / 0.936 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/1.096, allocations: 6.628 MB / 1.252 GB, free: 0.8359 MB / 0.936 GB Notification: Performance of NFPackage.collectConstants: time 0.003271/1.099, allocations: 0.9565 MB / 1.253 GB, free: 0.8359 MB / 0.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007634/1.107, allocations: 1.845 MB / 1.255 GB, free: 0.6445 MB / 0.936 GB Notification: Performance of NFScalarize.scalarize: time 0.002841/1.109, allocations: 2.084 MB / 1.257 GB, free: 14.79 MB / 0.9517 GB Notification: Performance of NFVerifyModel.verify: time 0.0116/1.121, allocations: 5.924 MB / 1.262 GB, free: 10.49 MB / 0.9517 GB Notification: Performance of NFConvertDAE.convert: time 0.02028/1.141, allocations: 14.39 MB / 1.277 GB, free: 120 kB / 0.9517 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.141, allocations: 0 / 1.277 GB, free: 120 kB / 0.9517 GB Notification: Performance of FrontEnd: time 1.653e-06/1.141, allocations: 0 / 1.277 GB, free: 120 kB / 0.9517 GB Notification: Performance of Transformations before backend: time 0.0004471/1.142, allocations: 1.25 kB / 1.277 GB, free: 120 kB / 0.9517 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.0521/1.194, allocations: 14.37 MB / 1.291 GB, free: 5.062 MB / 0.9673 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.194, allocations: 8.031 kB / 1.291 GB, free: 5.055 MB / 0.9673 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007237/1.201, allocations: 1.437 MB / 1.292 GB, free: 3.605 MB / 0.9673 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/1.216, allocations: 6.326 MB / 1.298 GB, free: 13.21 MB / 0.9829 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004418/1.216, allocations: 0.581 MB / 1.299 GB, free: 12.62 MB / 0.9829 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001717/1.218, allocations: 0.7694 MB / 1.299 GB, free: 11.86 MB / 0.9829 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/1.232, allocations: 7.891 MB / 1.307 GB, free: 3.645 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/1.232, allocations: 11.88 kB / 1.307 GB, free: 3.633 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005915/1.233, allocations: 316 kB / 1.307 GB, free: 3.324 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00012/1.233, allocations: 188 kB / 1.308 GB, free: 3.141 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01343/1.247, allocations: 7.5 MB / 1.315 GB, free: 11.63 MB / 0.9985 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.08092/1.328, allocations: 48.86 MB / 1.363 GB, free: 6.664 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0149/1.342, allocations: 9.329 MB / 1.372 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00585/1.348, allocations: 3.541 MB / 1.375 GB, free: 9.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/1.349, allocations: 102.1 kB / 1.375 GB, free: 9.559 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/1.349, allocations: 112.7 kB / 1.375 GB, free: 9.438 MB / 1.061 GB Notification: Performance of pre-optimization done (n=787): time 1.269e-05/1.349, allocations: 0 / 1.375 GB, free: 9.438 MB / 1.061 GB Notification: Performance of matching and sorting (n=787): time 0.0216/1.371, allocations: 10.42 MB / 1.386 GB, free: 14.98 MB / 1.077 GB Notification: Performance of evaluateOutputsOnly (n=787 -> n=337): time 1.144/2.515, allocations: 435.8 MB / 1.811 GB, free: 190 MB / 1.265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/2.515, allocations: 293.8 kB / 1.811 GB, free: 189.6 MB / 1.265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/2.525, allocations: 7.478 MB / 1.819 GB, free: 183.6 MB / 1.265 GB Notification: Performance of collectPreVariables (initialization): time 0.001125/2.526, allocations: 169.7 kB / 1.819 GB, free: 183.4 MB / 1.265 GB Notification: Performance of collectInitialEqns (initialization): time 0.002141/2.528, allocations: 2.79 MB / 1.822 GB, free: 181.3 MB / 1.265 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/2.53, allocations: 1.207 MB / 1.823 GB, free: 180.3 MB / 1.265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00205/2.532, allocations: 1.837 MB / 1.825 GB, free: 178.4 MB / 1.265 GB Notification: Performance of setup shared object (initialization): time 3.923e-05/2.532, allocations: 313 kB / 1.825 GB, free: 178.1 MB / 1.265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004134/2.536, allocations: 2.959 MB / 1.828 GB, free: 175.1 MB / 1.265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/2.541, allocations: 4.747 MB / 1.832 GB, free: 169.8 MB / 1.265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00781/2.548, allocations: 6.549 MB / 1.839 GB, free: 162.7 MB / 1.265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.567e-05/2.548, allocations: 12 kB / 1.839 GB, free: 162.7 MB / 1.265 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.0225/2.571, allocations: 12.45 MB / 1.851 GB, free: 150.2 MB / 1.265 GB Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/2.571, allocations: 24 kB / 1.851 GB, free: 150.2 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.229e-05/2.571, allocations: 43.81 kB / 1.851 GB, free: 150.2 MB / 1.265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02276/2.594, allocations: 5.513 MB / 1.856 GB, free: 144.6 MB / 1.265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006371/2.6, allocations: 1.74 MB / 1.858 GB, free: 142.9 MB / 1.265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05652/2.657, allocations: 53.97 MB / 1.911 GB, free: 86.08 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009906/2.667, allocations: 0.8784 MB / 1.912 GB, free: 85.2 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/2.668, allocations: 332 kB / 1.912 GB, free: 84.87 MB / 1.265 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006291/2.674, allocations: 3.569 MB / 1.916 GB, free: 81.3 MB / 1.265 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004507/2.679, allocations: 4.515 MB / 1.92 GB, free: 76.12 MB / 1.265 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007416/2.686, allocations: 6.221 MB / 1.926 GB, free: 69.3 MB / 1.265 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.269e-05/2.686, allocations: 16 kB / 1.926 GB, free: 69.29 MB / 1.265 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.01894/2.705, allocations: 10.76 MB / 1.937 GB, free: 58.46 MB / 1.265 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/2.705, allocations: 26.34 kB / 1.937 GB, free: 58.43 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.119e-05/2.705, allocations: 40 kB / 1.937 GB, free: 58.39 MB / 1.265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01935/2.725, allocations: 4.418 MB / 1.941 GB, free: 53.93 MB / 1.265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00694/2.732, allocations: 1.884 MB / 1.943 GB, free: 52.05 MB / 1.265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03922/2.771, allocations: 43.44 MB / 1.985 GB, free: 6.078 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009899/2.781, allocations: 0.5937 MB / 1.986 GB, free: 5.48 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/2.782, allocations: 335.4 kB / 1.986 GB, free: 5.156 MB / 1.265 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 (949): * Single equations (assignments): 929 * 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.001239/2.783, allocations: 0.6171 MB / 1.987 GB, free: 4.531 MB / 1.265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002002/2.785, allocations: 0.7366 MB / 1.987 GB, free: 3.785 MB / 1.265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/2.795, allocations: 5.444 MB / 1.993 GB, free: 14.29 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/2.795, allocations: 19.88 kB / 1.993 GB, free: 14.27 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/2.795, allocations: 0 / 1.993 GB, free: 14.27 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003889/2.799, allocations: 1.35 MB / 1.994 GB, free: 12.89 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/2.801, allocations: 68 kB / 1.994 GB, free: 12.82 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004014/2.805, allocations: 151.9 kB / 1.994 GB, free: 12.68 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006445/2.806, allocations: 401.9 kB / 1.995 GB, free: 12.28 MB / 1.28 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01265/2.818, allocations: 5.363 MB / 2 GB, free: 6.984 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.07219/2.89, allocations: 38.67 MB / 2.038 GB, free: 15.99 MB / 1.327 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002407/2.893, allocations: 1.423 MB / 2.039 GB, free: 14.56 MB / 1.327 GB Notification: Performance of sorting global known variables: time 0.007931/2.901, allocations: 4.641 MB / 2.044 GB, free: 9.949 MB / 1.327 GB Notification: Performance of Backend: time 7.71e-07/2.901, allocations: 0 / 2.044 GB, free: 9.949 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.04588/2.947, allocations: 21.89 MB / 2.065 GB, free: 3.609 MB / 1.343 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.03096/2.978, allocations: 19.86 MB / 2.084 GB, free: 15.87 MB / 1.374 GB Notification: Performance of Templates: time 0.9654/3.943, allocations: 170.8 MB / 2.251 GB, free: 340.6 MB / 1.39 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe 2>&1)