Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_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.Type1.Type1_reduced_N_2_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_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.001396/0.001397, allocations: 91.78 kB / 16.94 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.00149/0.001491, allocations: 179.6 kB / 17.83 MB, free: 5.316 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.016/2.016, 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.05999/0.05999, allocations: 14.15 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.367/5.367, 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.0008268/0.0008271, allocations: 20 kB / 0.9684 GB, free: 368 kB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883/1.884, allocations: 176 MB / 1.14 GB, free: 25.42 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4): time 0.2924/2.177, allocations: 287.8 MB / 1.421 GB, free: 2.219 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.2773/2.454, allocations: 115.8 MB / 1.534 GB, free: 14.11 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1093/2.563, allocations: 1.17 MB / 1.536 GB, free: 12.94 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.08162/2.645, allocations: 12.25 MB / 1.548 GB, free: 0.6094 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.2342/2.879, allocations: 42.42 MB / 1.589 GB, free: 6.109 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 2.162/5.041, allocations: 9.284 MB / 1.598 GB, free: 18.26 MB / 1.265 GB Notification: Performance of NFFlatten.flatten: time 0.3668/5.408, allocations: 80.88 MB / 1.677 GB, free: 18.02 MB / 1.265 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07602/5.484, allocations: 9.929 MB / 1.687 GB, free: 31.34 MB / 1.28 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1561/5.641, allocations: 30.18 MB / 1.716 GB, free: 31.34 MB / 1.28 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0996/5.74, allocations: 31.04 MB / 1.747 GB, free: 31.32 MB / 1.28 GB Notification: Performance of NFPackage.collectConstants: time 0.02658/5.767, allocations: 1.76 MB / 1.748 GB, free: 31.32 MB / 1.28 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07057/5.838, allocations: 5.406 MB / 1.754 GB, free: 31.32 MB / 1.28 GB Notification: Performance of NFScalarize.scalarize: time 0.0276/5.865, allocations: 7.348 MB / 1.761 GB, free: 31.32 MB / 1.28 GB Notification: Performance of NFVerifyModel.verify: time 0.05036/5.916, allocations: 11.74 MB / 1.772 GB, free: 26.64 MB / 1.28 GB Notification: Performance of NFConvertDAE.convert: time 0.1206/6.036, allocations: 60.39 MB / 1.831 GB, free: 14.57 MB / 1.312 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/6.036, allocations: 0 / 1.831 GB, free: 14.57 MB / 1.312 GB Notification: Performance of FrontEnd: time 3.416e-06/6.036, allocations: 0 / 1.831 GB, free: 14.57 MB / 1.312 GB Notification: Performance of Transformations before backend: time 0.003966/6.04, allocations: 0 / 1.831 GB, free: 14.57 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: 12175 * Number of variables: 12175 Notification: Performance of Generate backend data structure: time 0.3189/6.359, allocations: 74.3 MB / 1.904 GB, free: 13.35 MB / 1.374 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/6.359, allocations: 12.03 kB / 1.904 GB, free: 13.34 MB / 1.374 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06305/6.422, allocations: 9.133 MB / 1.913 GB, free: 4.582 MB / 1.374 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1322/6.555, allocations: 33.37 MB / 1.945 GB, free: 14.41 MB / 1.405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006053/6.561, allocations: 3.566 MB / 1.949 GB, free: 12.39 MB / 1.405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02188/6.583, allocations: 4.708 MB / 1.953 GB, free: 9.246 MB / 1.405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1808/6.764, allocations: 48.83 MB / 2.001 GB, free: 7.25 MB / 1.437 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003969/6.768, allocations: 101.8 kB / 2.001 GB, free: 7.207 MB / 1.437 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02019/6.788, allocations: 1.922 MB / 2.003 GB, free: 6.773 MB / 1.437 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/6.789, allocations: 1.156 MB / 2.004 GB, free: 5.617 MB / 1.437 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1639/6.953, allocations: 46.87 MB / 2.05 GB, free: 6.949 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.619/8.572, allocations: 306.9 MB / 2.35 GB, free: 56.63 MB / 1.562 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1617/8.734, allocations: 78.77 MB / 2.426 GB, free: 34.91 MB / 1.562 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006616/8.74, allocations: 0.5764 MB / 2.427 GB, free: 34.87 MB / 1.562 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000728/8.741, allocations: 0.5481 MB / 2.428 GB, free: 34.79 MB / 1.562 GB Notification: Performance of pre-optimization done (n=5084): time 5.892e-05/8.741, allocations: 4 kB / 2.428 GB, free: 34.79 MB / 1.562 GB Notification: Performance of matching and sorting (n=5092): time 0.4133/9.155, allocations: 112.4 MB / 2.537 GB, free: 22.84 MB / 1.562 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004814/9.155, allocations: 1.375 MB / 2.539 GB, free: 21.74 MB / 1.562 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09073/9.246, allocations: 29.53 MB / 2.568 GB, free: 10.53 MB / 1.562 GB Notification: Performance of collectPreVariables (initialization): time 0.01307/9.259, allocations: 0.887 MB / 2.568 GB, free: 10.32 MB / 1.562 GB Notification: Performance of collectInitialEqns (initialization): time 0.02927/9.288, allocations: 22.75 MB / 2.591 GB, free: 0.8047 MB / 1.562 GB Notification: Performance of collectInitialBindings (initialization): time 0.03642/9.325, allocations: 17.6 MB / 2.608 GB, free: 3.031 MB / 1.577 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01405/9.339, allocations: 1.119 MB / 2.609 GB, free: 2.805 MB / 1.577 GB Notification: Performance of setup shared object (initialization): time 0.006101/9.345, allocations: 2.443 MB / 2.611 GB, free: 1.398 MB / 1.577 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05209/9.397, allocations: 16.94 MB / 2.628 GB, free: 7.043 MB / 1.593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0776/9.475, allocations: 27.63 MB / 2.655 GB, free: 15.51 MB / 1.624 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06996/9.545, allocations: 21.01 MB / 2.675 GB, free: 1.723 MB / 1.624 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009273/9.546, allocations: 72 kB / 2.675 GB, free: 1.652 MB / 1.624 GB Notification: Performance of matching and sorting (n=7330) (initialization): time 0.2867/9.832, allocations: 74.83 MB / 2.748 GB, free: 8.965 MB / 1.702 GB Notification: Performance of prepare postOptimizeDAE: time 1.147/10.98, allocations: 273.5 MB / 3.016 GB, free: 460.9 MB / 1.749 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002635/10.98, allocations: 259.1 kB / 3.016 GB, free: 460.9 MB / 1.749 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.173/11.16, allocations: 31.71 MB / 3.047 GB, free: 460.2 MB / 1.749 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0536/11.21, allocations: 10.31 MB / 3.057 GB, free: 460.1 MB / 1.749 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6333/11.84, allocations: 265.5 MB / 3.316 GB, free: 302.6 MB / 1.749 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06316/11.91, allocations: 2.936 MB / 3.319 GB, free: 300 MB / 1.749 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01408/11.92, allocations: 1.965 MB / 3.321 GB, free: 298 MB / 1.749 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/11.92, allocations: 7.938 kB / 3.321 GB, free: 298 MB / 1.749 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2007/12.12, allocations: 62.09 MB / 3.381 GB, free: 235.6 MB / 1.749 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001428/12.12, allocations: 260 kB / 3.382 GB, free: 235.4 MB / 1.749 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1273/12.25, allocations: 27.95 MB / 3.409 GB, free: 207.3 MB / 1.749 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05054/12.3, allocations: 10.88 MB / 3.42 GB, free: 196.4 MB / 1.749 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514/13.81, allocations: 219.6 MB / 3.634 GB, free: 0.5618 GB / 1.749 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06422/13.88, allocations: 2.382 MB / 3.636 GB, free: 0.5618 GB / 1.749 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01763/13.9, allocations: 1.958 MB / 3.638 GB, free: 0.5618 GB / 1.749 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 (5626): * Single equations (assignments): 5552 * 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.04787/13.94, allocations: 8.411 MB / 3.647 GB, free: 0.5616 GB / 1.749 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02528/13.97, allocations: 4.846 MB / 3.651 GB, free: 0.5616 GB / 1.749 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2268/14.2, allocations: 55.58 MB / 3.706 GB, free: 0.5538 GB / 1.749 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00267/14.2, allocations: 239.8 kB / 3.706 GB, free: 0.5538 GB / 1.749 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001053/14.2, allocations: 0 / 3.706 GB, free: 0.5538 GB / 1.749 GB Notification: Performance of postOpt removeConstants (simulation): time 0.04479/14.24, allocations: 8.192 MB / 3.714 GB, free: 0.5498 GB / 1.749 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02717/14.27, allocations: 0.8325 MB / 3.715 GB, free: 0.5491 GB / 1.749 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.05834/14.33, allocations: 2.015 MB / 3.717 GB, free: 0.5483 GB / 1.749 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01875/14.35, allocations: 4.066 MB / 3.721 GB, free: 0.5479 GB / 1.749 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2132/14.56, allocations: 52.28 MB / 3.772 GB, free: 0.5309 GB / 1.749 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2161/14.78, allocations: 58.29 MB / 3.828 GB, free: 0.5067 GB / 1.749 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.05019/14.83, allocations: 16.23 MB / 3.844 GB, free: 0.5002 GB / 1.749 GB Notification: Performance of sorting global known variables: time 0.05669/14.88, allocations: 18.7 MB / 3.863 GB, free: 0.4938 GB / 1.749 GB Notification: Performance of Backend: time 1.563e-06/14.88, allocations: 0 / 3.863 GB, free: 0.4938 GB / 1.749 GB Notification: Performance of simCode: created initialization part: time 0.3665/15.25, allocations: 127.8 MB / 3.987 GB, free: 397.5 MB / 1.749 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.356/16.61, allocations: 260.5 MB / 4.242 GB, free: 0.5472 GB / 1.749 GB Notification: Performance of Templates: time 2.876/19.48, allocations: 0.8584 GB / 5.1 GB, free: 421.3 MB / 1.749 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4.makefile Environment - environmentSimulation: (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_reduced_N_2_M_4.pipe 2>&1) Environment - environmentSimulation: