Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4.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_4,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4") translateModel(ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 92.95 kB / 16.95 MB, free: 6.441 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.001534/0.001535, allocations: 181.5 kB / 17.84 MB, free: 6.004 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.188/2.188, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06122/0.06122, allocations: 14.16 MB / 286.4 MB, free: 14.1 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 5.22/5.22, 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.000817/0.000817, allocations: 19.94 kB / 0.9684 GB, free: 348 kB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.895/1.895, allocations: 176 MB / 1.14 GB, free: 25.45 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4): time 0.3263/2.222, allocations: 287.7 MB / 1.421 GB, free: 2.297 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.2872/2.509, allocations: 115.8 MB / 1.534 GB, free: 14.2 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1157/2.625, allocations: 1.174 MB / 1.535 GB, free: 13.02 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.08132/2.706, allocations: 12.26 MB / 1.547 GB, free: 0.6836 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.233/2.939, allocations: 42.41 MB / 1.589 GB, free: 6.195 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 1.759/4.699, allocations: 9.281 MB / 1.598 GB, free: 17.74 MB / 1.265 GB Notification: Performance of NFFlatten.flatten: time 0.2097/4.908, allocations: 80.93 MB / 1.677 GB, free: 17.5 MB / 1.265 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04077/4.949, allocations: 9.927 MB / 1.687 GB, free: 30.82 MB / 1.28 GB Notification: Performance of NFEvalConstants.evaluate: time 0.09447/5.044, allocations: 30.19 MB / 1.716 GB, free: 30.82 MB / 1.28 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08088/5.125, allocations: 31.03 MB / 1.746 GB, free: 30.8 MB / 1.28 GB Notification: Performance of NFPackage.collectConstants: time 0.02517/5.15, allocations: 1.762 MB / 1.748 GB, free: 30.8 MB / 1.28 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06599/5.216, allocations: 5.406 MB / 1.753 GB, free: 30.8 MB / 1.28 GB Notification: Performance of NFScalarize.scalarize: time 0.0303/5.246, allocations: 7.352 MB / 1.761 GB, free: 30.8 MB / 1.28 GB Notification: Performance of NFVerifyModel.verify: time 0.06362/5.31, allocations: 11.74 MB / 1.772 GB, free: 26.17 MB / 1.28 GB Notification: Performance of NFConvertDAE.convert: time 0.1232/5.433, allocations: 60.39 MB / 1.831 GB, free: 14.09 MB / 1.312 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/5.433, allocations: 0 / 1.831 GB, free: 14.09 MB / 1.312 GB Notification: Performance of FrontEnd: time 1.693e-06/5.433, allocations: 0 / 1.831 GB, free: 14.09 MB / 1.312 GB Notification: Performance of Transformations before backend: time 0.003884/5.437, allocations: 0 / 1.831 GB, free: 14.09 MB / 1.312 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12174 * Number of variables: 12174 Notification: Performance of Generate backend data structure: time 0.2925/5.729, allocations: 74.3 MB / 1.904 GB, free: 12.88 MB / 1.374 GB Notification: Performance of prepare preOptimizeDAE: time 8.57e-05/5.73, allocations: 12.03 kB / 1.904 GB, free: 12.87 MB / 1.374 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05484/5.784, allocations: 9.127 MB / 1.913 GB, free: 4.121 MB / 1.374 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1153/5.9, allocations: 33.37 MB / 1.945 GB, free: 13.96 MB / 1.405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005369/5.905, allocations: 3.567 MB / 1.949 GB, free: 11.93 MB / 1.405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01784/5.923, allocations: 4.708 MB / 1.953 GB, free: 8.789 MB / 1.405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1578/6.081, allocations: 48.83 MB / 2.001 GB, free: 6.781 MB / 1.437 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003075/6.084, allocations: 102 kB / 2.001 GB, free: 6.742 MB / 1.437 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01398/6.098, allocations: 1.923 MB / 2.003 GB, free: 6.309 MB / 1.437 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001288/6.099, allocations: 1.152 MB / 2.004 GB, free: 5.156 MB / 1.437 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1338/6.233, allocations: 46.89 MB / 2.05 GB, free: 6.469 MB / 1.468 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 1.623/7.857, allocations: 306.9 MB / 2.349 GB, free: 367.3 MB / 1.562 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1992/8.056, allocations: 78.55 MB / 2.426 GB, free: 323.7 MB / 1.562 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007941/8.064, allocations: 0.5744 MB / 2.427 GB, free: 323.7 MB / 1.562 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009601/8.065, allocations: 0.5466 MB / 2.427 GB, free: 323.3 MB / 1.562 GB Notification: Performance of pre-optimization done (n=5083): time 5.896e-05/8.065, allocations: 0 / 2.427 GB, free: 323.3 MB / 1.562 GB Notification: Performance of matching and sorting (n=5091): time 0.461/8.526, allocations: 112.3 MB / 2.537 GB, free: 271.6 MB / 1.562 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005486/8.527, allocations: 1.372 MB / 2.538 GB, free: 270.5 MB / 1.562 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09025/8.617, allocations: 29.52 MB / 2.567 GB, free: 245.1 MB / 1.562 GB Notification: Performance of collectPreVariables (initialization): time 0.01091/8.628, allocations: 0.8884 MB / 2.568 GB, free: 244.2 MB / 1.562 GB Notification: Performance of collectInitialEqns (initialization): time 0.02655/8.654, allocations: 22.77 MB / 2.59 GB, free: 222.6 MB / 1.562 GB Notification: Performance of collectInitialBindings (initialization): time 0.0319/8.686, allocations: 17.59 MB / 2.607 GB, free: 205.1 MB / 1.562 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01402/8.7, allocations: 1.121 MB / 2.609 GB, free: 204 MB / 1.562 GB Notification: Performance of setup shared object (initialization): time 0.006603/8.707, allocations: 2.441 MB / 2.611 GB, free: 201.6 MB / 1.562 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06681/8.774, allocations: 16.93 MB / 2.627 GB, free: 184.6 MB / 1.562 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0643/8.838, allocations: 27.62 MB / 2.654 GB, free: 153.2 MB / 1.562 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06015/8.898, allocations: 21 MB / 2.675 GB, free: 132.1 MB / 1.562 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005062/8.899, allocations: 72 kB / 2.675 GB, free: 132.1 MB / 1.562 GB Notification: Performance of matching and sorting (n=7329) (initialization): time 0.2709/9.17, allocations: 74.79 MB / 2.748 GB, free: 56.91 MB / 1.562 GB Notification: Performance of prepare postOptimizeDAE: time 0.9379/10.11, allocations: 273.5 MB / 3.015 GB, free: 275 MB / 1.562 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002238/10.11, allocations: 264.2 kB / 3.015 GB, free: 275 MB / 1.562 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1579/10.27, allocations: 31.68 MB / 3.046 GB, free: 274.3 MB / 1.562 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05059/10.32, allocations: 10.31 MB / 3.056 GB, free: 274.1 MB / 1.562 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6145/10.93, allocations: 265.4 MB / 3.316 GB, free: 110.3 MB / 1.562 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07043/11, allocations: 2.926 MB / 3.318 GB, free: 107.6 MB / 1.562 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01394/11.02, allocations: 1.973 MB / 3.32 GB, free: 105.7 MB / 1.562 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/11.02, allocations: 7.938 kB / 3.32 GB, free: 105.7 MB / 1.562 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2023/11.22, allocations: 62.04 MB / 3.381 GB, free: 43.36 MB / 1.562 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001029/11.22, allocations: 260 kB / 3.381 GB, free: 43.11 MB / 1.562 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1257/11.35, allocations: 27.91 MB / 3.408 GB, free: 15.05 MB / 1.562 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04851/11.4, allocations: 10.89 MB / 3.419 GB, free: 4.148 MB / 1.562 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718/13.11, allocations: 219.5 MB / 3.633 GB, free: 327.1 MB / 1.562 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05708/13.17, allocations: 2.386 MB / 3.636 GB, free: 325.9 MB / 1.562 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01222/13.18, allocations: 1.955 MB / 3.638 GB, free: 325.5 MB / 1.562 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1183 * 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 (5625): * Single equations (assignments): 5551 * 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,1516 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.04327/13.23, allocations: 8.407 MB / 3.646 GB, free: 320.2 MB / 1.562 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02284/13.25, allocations: 4.845 MB / 3.651 GB, free: 317.8 MB / 1.562 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2299/13.48, allocations: 55.52 MB / 3.705 GB, free: 294.4 MB / 1.562 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002563/13.48, allocations: 242 kB / 3.705 GB, free: 294.4 MB / 1.562 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002932/13.48, allocations: 0 / 3.705 GB, free: 294.4 MB / 1.562 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04939/13.53, allocations: 8.177 MB / 3.713 GB, free: 289 MB / 1.562 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03115/13.56, allocations: 0.8322 MB / 3.714 GB, free: 288.3 MB / 1.562 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05647/13.62, allocations: 2.016 MB / 3.716 GB, free: 287.4 MB / 1.562 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01774/13.64, allocations: 4.07 MB / 3.72 GB, free: 287 MB / 1.562 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2015/13.84, allocations: 52.28 MB / 3.771 GB, free: 254.5 MB / 1.562 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2033/14.04, allocations: 58.28 MB / 3.828 GB, free: 196.2 MB / 1.562 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.04335/14.08, allocations: 16.21 MB / 3.844 GB, free: 180 MB / 1.562 GB Notification: Performance of sorting global known variables: time 0.04866/14.13, allocations: 18.71 MB / 3.862 GB, free: 161.5 MB / 1.562 GB Notification: Performance of Backend: time 1.704e-06/14.13, allocations: 0 / 3.862 GB, free: 161.5 MB / 1.562 GB Notification: Performance of simCode: created initialization part: time 0.3387/14.47, allocations: 127.8 MB / 3.987 GB, free: 31.52 MB / 1.562 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 1.464/15.94, allocations: 260.3 MB / 4.241 GB, free: 275 MB / 1.624 GB Notification: Performance of Templates: time 2.894/18.83, allocations: 0.8584 GB / 5.099 GB, free: 79.66 MB / 1.624 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4.makefile Environment - environmentSimulation: (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type2.Type2_noTap___N_2_M_4.pipe 2>&1) Environment - environmentSimulation: