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.001324/0.001324, allocations: 107.9 kB / 18.37 MB, free: 4.766 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.001361/0.001361, allocations: 191 kB / 19.3 MB, free: 3.84 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.499/1.499, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0627/0.0627, allocations: 14.16 MB / 286.7 MB, free: 13.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.434/3.434, allocations: 461.2 MB / 0.7801 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.002161/0.002161, allocations: 83.88 kB / 0.963 GB, free: 2.02 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179/1.181, allocations: 172.1 MB / 1.131 GB, free: 28.86 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1): time 0.04738/1.229, allocations: 55.58 MB / 1.185 GB, free: 3.07 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.04516/1.274, allocations: 20.54 MB / 1.205 GB, free: 1.762 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01672/1.291, allocations: 212 kB / 1.206 GB, free: 1.699 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/1.302, allocations: 2.881 MB / 1.208 GB, free: 15.35 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.03056/1.333, allocations: 7.706 MB / 1.216 GB, free: 8.754 MB / 0.9204 GB Notification: Performance of NFTyping.typeClassSections: time 0.009877/1.343, allocations: 3.13 MB / 1.219 GB, free: 6.094 MB / 0.9204 GB Notification: Performance of NFFlatten.flatten: time 0.0365/1.379, allocations: 18.58 MB / 1.237 GB, free: 10.52 MB / 0.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00652/1.386, allocations: 2.367 MB / 1.239 GB, free: 9.242 MB / 0.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01558/1.401, allocations: 6.121 MB / 1.245 GB, free: 5.418 MB / 0.936 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0164/1.418, allocations: 6.625 MB / 1.252 GB, free: 0.8125 MB / 0.936 GB Notification: Performance of NFPackage.collectConstants: time 0.005284/1.423, allocations: 0.9611 MB / 1.253 GB, free: 0.8086 MB / 0.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01117/1.434, allocations: 1.84 MB / 1.255 GB, free: 0.6211 MB / 0.936 GB Notification: Performance of NFScalarize.scalarize: time 0.004868/1.439, allocations: 2.092 MB / 1.257 GB, free: 14.75 MB / 0.9517 GB Notification: Performance of NFVerifyModel.verify: time 0.01916/1.458, allocations: 5.921 MB / 1.262 GB, free: 10.46 MB / 0.9517 GB Notification: Performance of NFConvertDAE.convert: time 0.0324/1.491, allocations: 14.39 MB / 1.277 GB, free: 92 kB / 0.9517 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/1.491, allocations: 1.406 kB / 1.277 GB, free: 92 kB / 0.9517 GB Notification: Performance of FrontEnd: time 4.829e-06/1.491, allocations: 0 / 1.277 GB, free: 92 kB / 0.9517 GB Notification: Performance of Transformations before backend: time 0.0006233/1.492, allocations: 3.938 kB / 1.277 GB, free: 88 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.06326/1.555, allocations: 14.36 MB / 1.291 GB, free: 5.07 MB / 0.9673 GB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/1.555, allocations: 12.02 kB / 1.291 GB, free: 5.059 MB / 0.9673 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009687/1.565, allocations: 1.433 MB / 1.292 GB, free: 3.613 MB / 0.9673 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02013/1.585, allocations: 6.33 MB / 1.298 GB, free: 13.21 MB / 0.9829 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006883/1.586, allocations: 0.581 MB / 1.299 GB, free: 12.63 MB / 0.9829 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002862/1.588, allocations: 0.7655 MB / 1.299 GB, free: 11.87 MB / 0.9829 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02274/1.611, allocations: 7.891 MB / 1.307 GB, free: 3.656 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002341/1.611, allocations: 11.88 kB / 1.307 GB, free: 3.645 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001404/1.613, allocations: 312 kB / 1.307 GB, free: 3.34 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/1.613, allocations: 184 kB / 1.308 GB, free: 3.16 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02019/1.633, allocations: 7.5 MB / 1.315 GB, free: 11.64 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.09405/1.727, allocations: 48.87 MB / 1.363 GB, free: 6.672 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01695/1.744, allocations: 9.329 MB / 1.372 GB, free: 13.22 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006992/1.751, allocations: 3.538 MB / 1.375 GB, free: 9.672 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/1.752, allocations: 98.12 kB / 1.375 GB, free: 9.574 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.749e-05/1.752, allocations: 112.7 kB / 1.375 GB, free: 9.453 MB / 1.061 GB Notification: Performance of pre-optimization done (n=787): time 9.799e-06/1.752, allocations: 0 / 1.375 GB, free: 9.453 MB / 1.061 GB Notification: Performance of matching and sorting (n=787): time 0.02479/1.777, allocations: 10.42 MB / 1.386 GB, free: 14.99 MB / 1.077 GB Notification: Performance of evaluateOutputsOnly (n=787 -> n=337): time 1.65/3.427, allocations: 435.8 MB / 1.811 GB, free: 190 MB / 1.265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/3.427, allocations: 296 kB / 1.811 GB, free: 189.7 MB / 1.265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/3.441, allocations: 7.472 MB / 1.819 GB, free: 183.6 MB / 1.265 GB Notification: Performance of collectPreVariables (initialization): time 0.001561/3.442, allocations: 169.7 kB / 1.819 GB, free: 183.5 MB / 1.265 GB Notification: Performance of collectInitialEqns (initialization): time 0.003316/3.446, allocations: 2.798 MB / 1.822 GB, free: 181.3 MB / 1.265 GB Notification: Performance of collectInitialBindings (initialization): time 0.001819/3.447, allocations: 1.214 MB / 1.823 GB, free: 180.3 MB / 1.265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003387/3.451, allocations: 1.837 MB / 1.825 GB, free: 178.5 MB / 1.265 GB Notification: Performance of setup shared object (initialization): time 5.743e-05/3.451, allocations: 309 kB / 1.825 GB, free: 178.2 MB / 1.265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004993/3.456, allocations: 2.953 MB / 1.828 GB, free: 175.2 MB / 1.265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00641/3.462, allocations: 4.746 MB / 1.832 GB, free: 169.8 MB / 1.265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/3.473, allocations: 6.553 MB / 1.839 GB, free: 162.8 MB / 1.265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.714e-05/3.473, allocations: 13.42 kB / 1.839 GB, free: 162.8 MB / 1.265 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.0305/3.503, allocations: 12.45 MB / 1.851 GB, free: 150.3 MB / 1.265 GB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/3.503, allocations: 24 kB / 1.851 GB, free: 150.2 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.426e-05/3.504, allocations: 44 kB / 1.851 GB, free: 150.2 MB / 1.265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02409/3.528, allocations: 5.506 MB / 1.856 GB, free: 144.7 MB / 1.265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007355/3.535, allocations: 1.743 MB / 1.858 GB, free: 142.9 MB / 1.265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06292/3.598, allocations: 53.97 MB / 1.911 GB, free: 86.14 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/3.611, allocations: 0.8784 MB / 1.912 GB, free: 85.25 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001845/3.612, allocations: 336 kB / 1.912 GB, free: 84.92 MB / 1.265 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008781/3.621, allocations: 3.56 MB / 1.916 GB, free: 81.35 MB / 1.265 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006694/3.628, allocations: 4.515 MB / 1.92 GB, free: 76.18 MB / 1.265 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01003/3.638, allocations: 6.229 MB / 1.926 GB, free: 69.35 MB / 1.265 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.387e-05/3.638, allocations: 15.94 kB / 1.926 GB, free: 69.33 MB / 1.265 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.02599/3.664, allocations: 10.76 MB / 1.937 GB, free: 58.51 MB / 1.265 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/3.664, allocations: 20 kB / 1.937 GB, free: 58.49 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-05/3.664, allocations: 44 kB / 1.937 GB, free: 58.45 MB / 1.265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02052/3.685, allocations: 4.427 MB / 1.941 GB, free: 53.98 MB / 1.265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007941/3.693, allocations: 1.884 MB / 1.943 GB, free: 52.09 MB / 1.265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04397/3.737, allocations: 43.43 MB / 1.985 GB, free: 6.125 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01257/3.749, allocations: 0.5898 MB / 1.986 GB, free: 5.531 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001819/3.751, allocations: 336 kB / 1.986 GB, free: 5.203 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.001698/3.753, allocations: 0.6095 MB / 1.987 GB, free: 4.586 MB / 1.265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002963/3.756, allocations: 0.7366 MB / 1.987 GB, free: 3.84 MB / 1.265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/3.767, allocations: 5.448 MB / 1.993 GB, free: 14.34 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.429e-05/3.767, allocations: 15.94 kB / 1.993 GB, free: 14.32 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/3.767, allocations: 0 / 1.993 GB, free: 14.32 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006569/3.774, allocations: 1.354 MB / 1.994 GB, free: 12.94 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003625/3.778, allocations: 71.06 kB / 1.994 GB, free: 12.88 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006986/3.785, allocations: 147.9 kB / 1.994 GB, free: 12.73 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/3.786, allocations: 401.9 kB / 1.995 GB, free: 12.34 MB / 1.28 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01543/3.801, allocations: 5.365 MB / 2 GB, free: 7.035 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.09755/3.899, allocations: 38.66 MB / 2.038 GB, free: 52 kB / 1.312 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002954/3.902, allocations: 1.436 MB / 2.039 GB, free: 14.61 MB / 1.327 GB Notification: Performance of sorting global known variables: time 0.0113/3.913, allocations: 4.63 MB / 2.044 GB, free: 10 MB / 1.327 GB Notification: Performance of Backend: time 1.102e-06/3.913, allocations: 0 / 2.044 GB, free: 10 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.0546/3.968, allocations: 21.9 MB / 2.065 GB, free: 3.66 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.04566/4.014, allocations: 19.85 MB / 2.084 GB, free: 15.91 MB / 1.374 GB Notification: Performance of Templates: time 1.228/5.242, allocations: 170.9 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 cvode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_1_M_1.pipe 2>&1)