Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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_N_2_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4") translateModel(ScalableTestGrids.Models.Type1.Type1_N_2_M_4,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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.001045/0.001046, allocations: 94.11 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.000949/0.0009491, allocations: 182.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.043/2.043, 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.05923/0.05923, 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 4.962/4.962, 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.0005876/0.0005877, allocations: 20 kB / 0.9684 GB, free: 368 kB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541/1.542, allocations: 176 MB / 1.14 GB, free: 25.41 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_2_M_4): time 0.2945/1.836, allocations: 287.7 MB / 1.421 GB, free: 2.312 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.2953/2.132, allocations: 115.8 MB / 1.534 GB, free: 14.21 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1209/2.252, allocations: 1.166 MB / 1.535 GB, free: 13.04 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.08831/2.341, allocations: 12.26 MB / 1.547 GB, free: 0.707 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.2223/2.563, allocations: 42.41 MB / 1.589 GB, free: 6.227 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 1.857/4.42, allocations: 9.279 MB / 1.598 GB, free: 17.65 MB / 1.265 GB Notification: Performance of NFFlatten.flatten: time 0.2358/4.656, allocations: 80.89 MB / 1.677 GB, free: 17.41 MB / 1.265 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05273/4.709, allocations: 9.922 MB / 1.687 GB, free: 30.73 MB / 1.28 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1147/4.824, allocations: 30.19 MB / 1.716 GB, free: 30.73 MB / 1.28 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09753/4.921, allocations: 31.03 MB / 1.746 GB, free: 30.71 MB / 1.28 GB Notification: Performance of NFPackage.collectConstants: time 0.03739/4.959, allocations: 1.759 MB / 1.748 GB, free: 30.71 MB / 1.28 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07967/5.038, allocations: 5.407 MB / 1.753 GB, free: 30.71 MB / 1.28 GB Notification: Performance of NFScalarize.scalarize: time 0.03148/5.07, allocations: 7.348 MB / 1.761 GB, free: 30.71 MB / 1.28 GB Notification: Performance of NFVerifyModel.verify: time 0.0682/5.138, allocations: 11.74 MB / 1.772 GB, free: 26.08 MB / 1.28 GB Notification: Performance of NFConvertDAE.convert: time 0.1421/5.28, allocations: 60.37 MB / 1.831 GB, free: 14.05 MB / 1.312 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/5.28, allocations: 0 / 1.831 GB, free: 14.05 MB / 1.312 GB Notification: Performance of FrontEnd: time 5.31e-06/5.28, allocations: 4 kB / 1.831 GB, free: 14.05 MB / 1.312 GB Notification: Performance of Transformations before backend: time 0.004372/5.285, allocations: 3.562 kB / 1.831 GB, free: 14.05 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.3311/5.616, allocations: 74.3 MB / 1.904 GB, free: 12.83 MB / 1.374 GB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/5.616, allocations: 8.031 kB / 1.904 GB, free: 12.82 MB / 1.374 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06068/5.677, allocations: 9.131 MB / 1.912 GB, free: 4.066 MB / 1.374 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.134/5.811, allocations: 33.36 MB / 1.945 GB, free: 13.9 MB / 1.405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006692/5.818, allocations: 3.566 MB / 1.949 GB, free: 11.88 MB / 1.405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.02169/5.839, allocations: 4.711 MB / 1.953 GB, free: 8.734 MB / 1.405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1813/6.021, allocations: 48.83 MB / 2.001 GB, free: 6.734 MB / 1.437 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004129/6.025, allocations: 100.5 kB / 2.001 GB, free: 6.691 MB / 1.437 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01943/6.044, allocations: 1.923 MB / 2.003 GB, free: 6.258 MB / 1.437 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001796/6.046, allocations: 1.152 MB / 2.004 GB, free: 5.105 MB / 1.437 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1554/6.202, allocations: 46.87 MB / 2.05 GB, free: 6.434 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.829/8.031, allocations: 306.9 MB / 2.349 GB, free: 367 MB / 1.562 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2099/8.24, allocations: 78.74 MB / 2.426 GB, free: 323.2 MB / 1.562 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008531/8.249, allocations: 0.574 MB / 2.427 GB, free: 323.2 MB / 1.562 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001226/8.25, allocations: 0.5546 MB / 2.427 GB, free: 322.8 MB / 1.562 GB Notification: Performance of pre-optimization done (n=5083): time 5.891e-05/8.25, allocations: 0 / 2.427 GB, free: 322.8 MB / 1.562 GB Notification: Performance of matching and sorting (n=5091): time 0.4575/8.708, allocations: 112.4 MB / 2.537 GB, free: 271 MB / 1.562 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005196/8.709, allocations: 1.373 MB / 2.539 GB, free: 269.9 MB / 1.562 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.07462/8.783, allocations: 29.52 MB / 2.567 GB, free: 244.7 MB / 1.562 GB Notification: Performance of collectPreVariables (initialization): time 0.01104/8.794, allocations: 0.8923 MB / 2.568 GB, free: 243.8 MB / 1.562 GB Notification: Performance of collectInitialEqns (initialization): time 0.02537/8.82, allocations: 22.76 MB / 2.59 GB, free: 222.2 MB / 1.562 GB Notification: Performance of collectInitialBindings (initialization): time 0.03551/8.855, allocations: 17.6 MB / 2.608 GB, free: 204.8 MB / 1.562 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01297/8.868, allocations: 1.12 MB / 2.609 GB, free: 203.7 MB / 1.562 GB Notification: Performance of setup shared object (initialization): time 0.006634/8.875, allocations: 2.449 MB / 2.611 GB, free: 201.2 MB / 1.562 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0506/8.926, allocations: 16.93 MB / 2.628 GB, free: 184.2 MB / 1.562 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.06367/8.989, allocations: 27.63 MB / 2.655 GB, free: 152.8 MB / 1.562 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.067/9.056, allocations: 21.01 MB / 2.675 GB, free: 131.7 MB / 1.562 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007379/9.057, allocations: 72 kB / 2.675 GB, free: 131.7 MB / 1.562 GB Notification: Performance of matching and sorting (n=7329) (initialization): time 0.2782/9.335, allocations: 74.81 MB / 2.748 GB, free: 56.49 MB / 1.562 GB Notification: Performance of prepare postOptimizeDAE: time 1.503/10.84, allocations: 273.5 MB / 3.015 GB, free: 274 MB / 1.562 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003233/10.84, allocations: 259.8 kB / 3.016 GB, free: 274 MB / 1.562 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1858/11.03, allocations: 31.71 MB / 3.047 GB, free: 273.3 MB / 1.562 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06092/11.09, allocations: 10.31 MB / 3.057 GB, free: 273.1 MB / 1.562 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7248/11.81, allocations: 265.4 MB / 3.316 GB, free: 109.8 MB / 1.562 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08048/11.89, allocations: 2.931 MB / 3.319 GB, free: 107.1 MB / 1.562 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01821/11.91, allocations: 1.973 MB / 3.321 GB, free: 105.1 MB / 1.562 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/11.91, allocations: 7.938 kB / 3.321 GB, free: 105.1 MB / 1.562 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2645/12.18, allocations: 62.07 MB / 3.381 GB, free: 42.77 MB / 1.562 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00189/12.18, allocations: 264 kB / 3.382 GB, free: 42.52 MB / 1.562 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1423/12.32, allocations: 27.95 MB / 3.409 GB, free: 14.42 MB / 1.562 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.06166/12.38, allocations: 10.88 MB / 3.419 GB, free: 3.523 MB / 1.562 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098/14.48, allocations: 219.5 MB / 3.634 GB, free: 326.5 MB / 1.562 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.08143/14.56, allocations: 2.39 MB / 3.636 GB, free: 325.3 MB / 1.562 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.02044/14.58, allocations: 1.956 MB / 3.638 GB, free: 324.9 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.07023/14.65, allocations: 8.408 MB / 3.646 GB, free: 319.6 MB / 1.562 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03739/14.69, allocations: 4.845 MB / 3.651 GB, free: 317.1 MB / 1.562 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2628/14.95, allocations: 55.54 MB / 3.705 GB, free: 293.7 MB / 1.562 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003014/14.96, allocations: 240 kB / 3.705 GB, free: 293.7 MB / 1.562 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003161/14.96, allocations: 3.812 kB / 3.705 GB, free: 293.7 MB / 1.562 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06086/15.02, allocations: 8.17 MB / 3.713 GB, free: 288.3 MB / 1.562 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03472/15.05, allocations: 0.8363 MB / 3.714 GB, free: 287.6 MB / 1.562 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06973/15.12, allocations: 2.017 MB / 3.716 GB, free: 286.7 MB / 1.562 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.02553/15.15, allocations: 4.068 MB / 3.72 GB, free: 286.4 MB / 1.562 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2427/15.39, allocations: 52.28 MB / 3.771 GB, free: 254.2 MB / 1.562 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.2155/15.61, allocations: 58.29 MB / 3.828 GB, free: 195.8 MB / 1.562 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.04611/15.65, allocations: 16.23 MB / 3.844 GB, free: 179.6 MB / 1.562 GB Notification: Performance of sorting global known variables: time 0.06118/15.71, allocations: 18.7 MB / 3.862 GB, free: 161.1 MB / 1.562 GB Notification: Performance of Backend: time 2.735e-06/15.71, allocations: 0 / 3.862 GB, free: 161.1 MB / 1.562 GB Notification: Performance of simCode: created initialization part: time 0.3837/16.1, allocations: 127.8 MB / 3.987 GB, free: 31.1 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.663/17.76, allocations: 260.3 MB / 4.241 GB, free: 264.1 MB / 1.608 GB Notification: Performance of Templates: time 3.117/20.88, allocations: 0.8582 GB / 5.1 GB, free: 63.71 MB / 1.608 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.makefile Environment - environmentSimulation: (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_2_M_4.pipe 2>&1) Environment - environmentSimulation: