Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_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_noopt_ScalableTestGrids.Models.Type1.Type1_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.001197/0.001198, 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.001217/0.001217, 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.345/1.345, 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.05925/0.05925, allocations: 14.17 MB / 286.7 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.022/3.022, allocations: 461.2 MB / 0.78 GB, free: 107.3 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.001761/0.001761, allocations: 83.88 kB / 0.963 GB, free: 2.023 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 172.1 MB / 1.131 GB, free: 28.88 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.04347/1.109, allocations: 63.81 MB / 1.193 GB, free: 12.41 MB / 0.9048 GB Notification: Performance of NFInst.instExpressions: time 0.04168/1.151, allocations: 23.29 MB / 1.216 GB, free: 8.77 MB / 0.9204 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01742/1.169, allocations: 234.2 kB / 1.216 GB, free: 8.703 MB / 0.9204 GB Notification: Performance of NFTyping.typeComponents: time 0.01289/1.182, allocations: 3.313 MB / 1.22 GB, free: 6.012 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.03412/1.216, allocations: 8.862 MB / 1.228 GB, free: 14.41 MB / 0.936 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/1.227, allocations: 3.262 MB / 1.231 GB, free: 11.64 MB / 0.936 GB Notification: Performance of NFFlatten.flatten: time 0.03434/1.261, allocations: 21.25 MB / 1.252 GB, free: 14.44 MB / 0.9517 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007149/1.268, allocations: 2.518 MB / 1.255 GB, free: 13.1 MB / 0.9517 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01408/1.282, allocations: 6.998 MB / 1.261 GB, free: 8.75 MB / 0.9517 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0138/1.296, allocations: 7.566 MB / 1.269 GB, free: 3.52 MB / 0.9517 GB Notification: Performance of NFPackage.collectConstants: time 0.00554/1.302, allocations: 1.051 MB / 1.27 GB, free: 3.516 MB / 0.9517 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01348/1.315, allocations: 2.046 MB / 1.272 GB, free: 3.312 MB / 0.9517 GB Notification: Performance of NFScalarize.scalarize: time 0.004149/1.319, allocations: 2.315 MB / 1.274 GB, free: 1.254 MB / 0.9517 GB Notification: Performance of NFVerifyModel.verify: time 0.01732/1.337, allocations: 6.714 MB / 1.281 GB, free: 12.41 MB / 0.9673 GB Notification: Performance of NFConvertDAE.convert: time 0.02745/1.364, allocations: 16.16 MB / 1.296 GB, free: 15 MB / 0.9829 GB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/1.364, allocations: 4 kB / 1.297 GB, free: 15 MB / 0.9829 GB Notification: Performance of FrontEnd: time 3.447e-06/1.364, allocations: 4 kB / 1.297 GB, free: 15 MB / 0.9829 GB Notification: Performance of Transformations before backend: time 0.0005665/1.365, allocations: 0 / 1.297 GB, free: 15 MB / 0.9829 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.05885/1.424, allocations: 16.35 MB / 1.312 GB, free: 14.53 MB / 0.9985 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.424, allocations: 8.031 kB / 1.312 GB, free: 14.52 MB / 0.9985 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007471/1.431, allocations: 1.65 MB / 1.314 GB, free: 12.86 MB / 0.9985 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/1.447, allocations: 7.083 MB / 1.321 GB, free: 5.68 MB / 0.9985 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004904/1.447, allocations: 0.6496 MB / 1.322 GB, free: 5.027 MB / 0.9985 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001924/1.449, allocations: 0.871 MB / 1.322 GB, free: 4.156 MB / 0.9985 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01575/1.465, allocations: 8.981 MB / 1.331 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001347/1.465, allocations: 19.81 kB / 1.331 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000657/1.466, allocations: 356 kB / 1.332 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/1.466, allocations: 216 kB / 1.332 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/1.482, allocations: 8.511 MB / 1.34 GB, free: 1.664 MB / 1.014 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.08656/1.569, allocations: 57.06 MB / 1.396 GB, free: 3.68 MB / 1.077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01845/1.587, allocations: 10.67 MB / 1.406 GB, free: 8.969 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007695/1.595, allocations: 4.012 MB / 1.41 GB, free: 4.945 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007993/1.596, allocations: 115.1 kB / 1.41 GB, free: 4.832 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/1.596, allocations: 121.7 kB / 1.41 GB, free: 4.703 MB / 1.092 GB Notification: Performance of pre-optimization done (n=909): time 1.405e-05/1.596, allocations: 0 / 1.41 GB, free: 4.703 MB / 1.092 GB Notification: Performance of matching and sorting (n=909): time 0.02616/1.622, allocations: 12 MB / 1.422 GB, free: 8.672 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001609/1.623, allocations: 360.1 kB / 1.422 GB, free: 8.258 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01255/1.635, allocations: 6.313 MB / 1.429 GB, free: 1.992 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.001562/1.637, allocations: 193.7 kB / 1.429 GB, free: 1.797 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.004278/1.641, allocations: 4.035 MB / 1.433 GB, free: 13.73 MB / 1.124 GB Notification: Performance of collectInitialBindings (initialization): time 0.005323/1.646, allocations: 3.142 MB / 1.436 GB, free: 10.54 MB / 1.124 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006358/1.653, allocations: 1.733 MB / 1.438 GB, free: 8.797 MB / 1.124 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.653, allocations: 305.1 kB / 1.438 GB, free: 8.496 MB / 1.124 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007624/1.66, allocations: 3.279 MB / 1.441 GB, free: 5.207 MB / 1.124 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008723/1.669, allocations: 5.266 MB / 1.446 GB, free: 15.22 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01586/1.685, allocations: 8.584 MB / 1.455 GB, free: 5.914 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.767e-05/1.685, allocations: 12 kB / 1.455 GB, free: 5.902 MB / 1.139 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.03288/1.718, allocations: 13.9 MB / 1.468 GB, free: 7.852 MB / 1.155 GB Notification: Performance of prepare postOptimizeDAE: time 5.744e-05/1.718, allocations: 28 kB / 1.468 GB, free: 7.824 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-05/1.718, allocations: 47.94 kB / 1.468 GB, free: 7.777 MB / 1.155 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0295/1.748, allocations: 6.184 MB / 1.474 GB, free: 1.523 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008641/1.756, allocations: 1.95 MB / 1.476 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08412/1.841, allocations: 58 MB / 1.533 GB, free: 2.703 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/1.852, allocations: 0.8559 MB / 1.534 GB, free: 1.84 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001664/1.854, allocations: 376 kB / 1.534 GB, free: 1.473 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008965/1.863, allocations: 4.258 MB / 1.538 GB, free: 13.2 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007093/1.87, allocations: 5.024 MB / 1.543 GB, free: 7.449 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01334/1.883, allocations: 8.26 MB / 1.551 GB, free: 14.47 MB / 1.249 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.46e-05/1.883, allocations: 12 kB / 1.551 GB, free: 14.46 MB / 1.249 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.02532/1.909, allocations: 12.2 MB / 1.563 GB, free: 2.121 MB / 1.249 GB Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/1.909, allocations: 31.83 kB / 1.563 GB, free: 2.094 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-05/1.909, allocations: 48.91 kB / 1.563 GB, free: 2.047 MB / 1.249 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02506/1.934, allocations: 5.104 MB / 1.568 GB, free: 12.89 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008735/1.943, allocations: 2.095 MB / 1.57 GB, free: 10.79 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8933/2.836, allocations: 47.57 MB / 1.617 GB, free: 345.6 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009963/2.846, allocations: 0.6546 MB / 1.617 GB, free: 345.4 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00151/2.847, allocations: 375.8 kB / 1.618 GB, free: 345.3 MB / 1.265 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.001905/2.849, allocations: 0.7462 MB / 1.618 GB, free: 344.9 MB / 1.265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002784/2.852, allocations: 0.904 MB / 1.619 GB, free: 344.8 MB / 1.265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/2.873, allocations: 9.955 MB / 1.629 GB, free: 340.6 MB / 1.265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001511/2.873, allocations: 46.06 kB / 1.629 GB, free: 340.6 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/2.873, allocations: 0 / 1.629 GB, free: 340.6 MB / 1.265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006084/2.879, allocations: 1.854 MB / 1.631 GB, free: 339.3 MB / 1.265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002461/2.882, allocations: 162.1 kB / 1.631 GB, free: 339.2 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007244/2.889, allocations: 271.4 kB / 1.631 GB, free: 339.1 MB / 1.265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001386/2.891, allocations: 0.7242 MB / 1.632 GB, free: 339 MB / 1.265 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02355/2.914, allocations: 9.349 MB / 1.641 GB, free: 335.8 MB / 1.265 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1045/3.019, allocations: 47.54 MB / 1.687 GB, free: 312.4 MB / 1.265 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005512/3.024, allocations: 3 MB / 1.69 GB, free: 311 MB / 1.265 GB Notification: Performance of sorting global known variables: time 0.007982/3.032, allocations: 4.069 MB / 1.694 GB, free: 308.9 MB / 1.265 GB Notification: Performance of Backend: time 7.21e-07/3.032, allocations: 0 / 1.694 GB, free: 308.9 MB / 1.265 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.04885/3.081, allocations: 24.7 MB / 1.719 GB, free: 294.4 MB / 1.265 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.04543/3.127, allocations: 29.91 MB / 1.748 GB, free: 268.2 MB / 1.265 GB Notification: Performance of Templates: time 0.2624/3.389, allocations: 212.5 MB / 1.955 GB, free: 55.72 MB / 1.265 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)