Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_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.2/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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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.Type2.Type2_noTap___N_2_M_2,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2") translateModel(ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 97.11 kB / 16.95 MB, free: 5.656 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.001336/0.001337, allocations: 184.4 kB / 17.83 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 224 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06264/0.06264, allocations: 14.15 MB / 286.4 MB, free: 14.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 5.218/5.218, allocations: 463.5 MB / 0.783 GB, free: 108.6 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: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 19.94 kB / 0.9684 GB, free: 372 kB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923/1.924, allocations: 176 MB / 1.14 GB, free: 25.39 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2): time 0.2691/2.193, allocations: 233.7 MB / 1.368 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2426/2.436, allocations: 94.71 MB / 1.461 GB, free: 9.516 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09042/2.526, allocations: 0.9872 MB / 1.462 GB, free: 8.523 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.07555/2.602, allocations: 9.858 MB / 1.472 GB, free: 14.61 MB / 1.155 GB Notification: Performance of NFTyping.typeBindings: time 0.2533/2.855, allocations: 34.07 MB / 1.505 GB, free: 12.49 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.07017/2.926, allocations: 8.328 MB / 1.513 GB, free: 4.148 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.3044/3.23, allocations: 65.54 MB / 1.577 GB, free: 2.492 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06272/3.293, allocations: 8.774 MB / 1.586 GB, free: 9.629 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 2.01/5.303, allocations: 24.52 MB / 1.61 GB, free: 25.26 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.07448/5.377, allocations: 25.39 MB / 1.634 GB, free: 25.26 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.02437/5.402, allocations: 1.476 MB / 1.636 GB, free: 25.26 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0576/5.459, allocations: 4.389 MB / 1.64 GB, free: 25.26 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.02566/5.485, allocations: 6.156 MB / 1.646 GB, free: 25.26 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.05365/5.539, allocations: 9.665 MB / 1.655 GB, free: 25.23 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.1256/5.664, allocations: 50.58 MB / 1.705 GB, free: 14.73 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/5.665, allocations: 0 / 1.705 GB, free: 14.73 MB / 1.265 GB Notification: Performance of FrontEnd: time 4.157e-06/5.665, allocations: 2.531 kB / 1.705 GB, free: 14.73 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.00509/5.67, allocations: 0 / 1.705 GB, free: 14.73 MB / 1.265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9966 * Number of variables: 9966 Notification: Performance of Generate backend data structure: time 0.293/5.963, allocations: 61.01 MB / 1.764 GB, free: 2.66 MB / 1.28 GB Notification: Performance of prepare preOptimizeDAE: time 6.587e-05/5.963, allocations: 9.375 kB / 1.764 GB, free: 2.66 MB / 1.28 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05025/6.013, allocations: 7.442 MB / 1.772 GB, free: 15.34 MB / 1.296 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1197/6.133, allocations: 27.99 MB / 1.799 GB, free: 4.516 MB / 1.296 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007362/6.14, allocations: 2.943 MB / 1.802 GB, free: 4.438 MB / 1.296 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01986/6.16, allocations: 3.903 MB / 1.806 GB, free: 2.453 MB / 1.296 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1491/6.309, allocations: 40.23 MB / 1.845 GB, free: 6.547 MB / 1.327 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003122/6.312, allocations: 76.53 kB / 1.845 GB, free: 6.516 MB / 1.327 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01528/6.328, allocations: 1.57 MB / 1.847 GB, free: 6.164 MB / 1.327 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001261/6.329, allocations: 0.9453 MB / 1.848 GB, free: 5.219 MB / 1.327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.122/6.451, allocations: 38.81 MB / 1.885 GB, free: 11.79 MB / 1.358 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.4688/6.92, allocations: 246.3 MB / 2.126 GB, free: 14.99 MB / 1.577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.9443/7.864, allocations: 62.19 MB / 2.187 GB, free: 0.574 GB / 1.593 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006446/7.871, allocations: 488 kB / 2.187 GB, free: 0.5739 GB / 1.593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001141/7.872, allocations: 460.9 kB / 2.188 GB, free: 0.5739 GB / 1.593 GB Notification: Performance of pre-optimization done (n=4107): time 7.345e-05/7.872, allocations: 0.9062 kB / 2.188 GB, free: 0.5739 GB / 1.593 GB Notification: Performance of matching and sorting (n=4115): time 0.402/8.274, allocations: 91.81 MB / 2.277 GB, free: 0.5431 GB / 1.593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005328/8.275, allocations: 1.273 MB / 2.278 GB, free: 0.542 GB / 1.593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07258/8.347, allocations: 24.96 MB / 2.303 GB, free: 0.5335 GB / 1.593 GB Notification: Performance of collectPreVariables (initialization): time 0.01051/8.358, allocations: 0.7456 MB / 2.304 GB, free: 0.5329 GB / 1.593 GB Notification: Performance of collectInitialEqns (initialization): time 0.02578/8.384, allocations: 18.87 MB / 2.322 GB, free: 0.5195 GB / 1.593 GB Notification: Performance of collectInitialBindings (initialization): time 0.02647/8.41, allocations: 14.28 MB / 2.336 GB, free: 0.5084 GB / 1.593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01073/8.421, allocations: 0.9293 MB / 2.337 GB, free: 0.5077 GB / 1.593 GB Notification: Performance of setup shared object (initialization): time 0.004973/8.426, allocations: 2.081 MB / 2.339 GB, free: 0.5066 GB / 1.593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04231/8.468, allocations: 14.35 MB / 2.353 GB, free: 0.5011 GB / 1.593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05524/8.524, allocations: 23.48 MB / 2.376 GB, free: 497.3 MB / 1.593 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05526/8.579, allocations: 17.73 MB / 2.393 GB, free: 484.2 MB / 1.593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000645/8.58, allocations: 64 kB / 2.393 GB, free: 484.2 MB / 1.593 GB Notification: Performance of matching and sorting (n=6081) (initialization): time 0.221/8.801, allocations: 63.17 MB / 2.455 GB, free: 427.9 MB / 1.593 GB Notification: Performance of prepare postOptimizeDAE: time 0.04953/8.85, allocations: 208.6 MB / 2.659 GB, free: 209.6 MB / 1.593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001055/8.851, allocations: 222.2 kB / 2.659 GB, free: 209.3 MB / 1.593 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1199/8.971, allocations: 26.21 MB / 2.684 GB, free: 187.5 MB / 1.593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04594/9.017, allocations: 8.691 MB / 2.693 GB, free: 178.8 MB / 1.593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585/10.6, allocations: 233.9 MB / 2.921 GB, free: 0.4932 GB / 1.593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05834/10.66, allocations: 2.514 MB / 2.924 GB, free: 0.4925 GB / 1.593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0135/10.67, allocations: 1.651 MB / 2.925 GB, free: 0.4921 GB / 1.593 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/10.67, allocations: 4.125 kB / 2.925 GB, free: 0.4921 GB / 1.593 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.163/10.84, allocations: 51.09 MB / 2.975 GB, free: 483.5 MB / 1.593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008471/10.84, allocations: 221.9 kB / 2.976 GB, free: 483.5 MB / 1.593 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1042/10.94, allocations: 22.51 MB / 2.998 GB, free: 481.1 MB / 1.593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04257/10.98, allocations: 9.262 MB / 3.007 GB, free: 480.3 MB / 1.593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3267/11.31, allocations: 188.2 MB / 3.19 GB, free: 323.7 MB / 1.593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05595/11.37, allocations: 1.971 MB / 3.192 GB, free: 322.2 MB / 1.593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01441/11.38, allocations: 1.637 MB / 3.194 GB, free: 320.6 MB / 1.593 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1007 * Number of states: 0 () * Number of discrete variables: 40 (GEN_4_2.PSS.firstWashoutVsi2.integrator.local_reset,GEN_4_2.PSS.secondWashoutVsi1.integrator.local_reset,GEN_4_2.PSS.firstWashoutVsi1.integrator.local_reset,GEN_4_2.AVR.firstOrderLim.I.local_reset,GEN_4_2.TGOV.firstOrderLim.I.local_reset,GEN_4_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_4_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_4_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_4_1.AVR.firstOrderLim.I.local_reset,GEN_4_1.TGOV.firstOrderLim.I.local_reset,GEN_3_2.PSS.firstWashoutVsi2.integrator.local_reset,GEN_3_2.PSS.secondWashoutVsi1.integrator.local_reset,GEN_3_2.PSS.firstWashoutVsi1.integrator.local_reset,GEN_3_2.AVR.firstOrderLim.I.local_reset,GEN_3_2.TGOV.firstOrderLim.I.local_reset,GEN_3_1.PSS.firstWashoutVsi2.integrator.local_reset,GEN_3_1.PSS.secondWashoutVsi1.integrator.local_reset,GEN_3_1.PSS.firstWashoutVsi1.integrator.local_reset,GEN_3_1.AVR.firstOrderLim.I.local_reset,GEN_3_1.TGOV.firstOrderLim.I.local_reset,GEN_2_2.PSS.firstWashoutVsi2.integrator.local_reset,GEN_2_2.PSS.secondWashoutVsi1.integrator.local_reset,GEN_2_2.PSS.firstWashoutVsi1.integrator.local_reset,GEN_2_2.AVR.firstOrderLim.I.local_reset,GEN_2_2.TGOV.firstOrderLim.I.local_reset,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_2.PSS.firstWashoutVsi2.integrator.local_reset,GEN_1_2.PSS.secondWashoutVsi1.integrator.local_reset,GEN_1_2.PSS.firstWashoutVsi1.integrator.local_reset,GEN_1_2.AVR.firstOrderLim.I.local_reset,GEN_1_2.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 (4729): * Single equations (assignments): 4655 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 74 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 32 {(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0} * Non-linear torn systems: 42 {38 0,1164 0,2 0,2 0,2 0,2 0,10 0,2 0,2 0,2 0,2 0,10 0,2 0,2 0,2 0,2 0,10 0,2 0,2 0,2 0,2 0,10 0,2 0,2 0,2 0,2 0,10 0,2 0,2 0,2 0,2 0,10 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.05823/11.44, allocations: 7.072 MB / 3.201 GB, free: 313.7 MB / 1.593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0228/11.46, allocations: 4.014 MB / 3.205 GB, free: 309.6 MB / 1.593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1379/11.6, allocations: 44.87 MB / 3.249 GB, free: 264.6 MB / 1.593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/11.6, allocations: 195.2 kB / 3.249 GB, free: 264.4 MB / 1.593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-05/11.6, allocations: 0 / 3.249 GB, free: 264.4 MB / 1.593 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03462/11.64, allocations: 6.795 MB / 3.255 GB, free: 257.6 MB / 1.593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02084/11.66, allocations: 0.6843 MB / 3.256 GB, free: 256.9 MB / 1.593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04355/11.7, allocations: 1.671 MB / 3.258 GB, free: 255.4 MB / 1.593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01157/11.71, allocations: 3.26 MB / 3.261 GB, free: 252.1 MB / 1.593 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1355/11.85, allocations: 42.68 MB / 3.303 GB, free: 210.2 MB / 1.593 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.142/11.99, allocations: 48.25 MB / 3.35 GB, free: 161.8 MB / 1.593 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02946/12.02, allocations: 13.5 MB / 3.363 GB, free: 148.3 MB / 1.593 GB Notification: Performance of sorting global known variables: time 0.04476/12.07, allocations: 15.83 MB / 3.378 GB, free: 132.6 MB / 1.593 GB Notification: Performance of Backend: time 1.212e-06/12.07, allocations: 2.516 kB / 3.378 GB, free: 132.6 MB / 1.593 GB Notification: Performance of simCode: created initialization part: time 1.244/13.31, allocations: 106.9 MB / 3.483 GB, free: 473.1 MB / 1.593 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.3191/13.63, allocations: 181.3 MB / 3.66 GB, free: 342.6 MB / 1.593 GB Notification: Performance of Templates: time 2.397/16.03, allocations: 0.7101 GB / 4.37 GB, free: 232.1 MB / 1.593 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2.makefile Environment - environmentSimulation: (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_2.pipe 2>&1) Environment - environmentSimulation: