Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestGrids 1.0.0-master/package.mo", uses=false) Using package ScalableTestGrids with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestGrids 1.0.0-master/package.mo) Using package PowerGrids with version 1.0.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestGrids.Models.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008705/0.0008706, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 225.7 MB / 243.2 MB, free: 8.438 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000765/0.0007649, allocations: 88.03 kB / 294.4 MB, free: 9.477 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05947/0.05947, allocations: 14.37 MB / 359.8 MB, free: 8.32 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ScalableTestGrids 1.0.0-master/package.mo): time 3.011/3.011, allocations: 421.4 MB / 0.8163 GB, free: 4.359 MB / 0.5888 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004648, allocations: 8 kB / 0.9937 GB, free: 36.26 MB / 0.6828 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3372, allocations: 167.5 MB / 1.157 GB, free: 12.39 MB / 0.8234 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1_N_1_M_2): time 0.05249/0.3897, allocations: 58.58 MB / 1.215 GB, free: 1.637 MB / 0.8703 GB Notification: Performance of NFInst.instExpressions: time 0.04394/0.4337, allocations: 23.55 MB / 1.238 GB, free: 9.766 MB / 0.9015 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0158/0.4496, allocations: 238.8 kB / 1.238 GB, free: 9.531 MB / 0.9015 GB Notification: Performance of NFTyping.typeComponents: time 0.01246/0.4621, allocations: 2.794 MB / 1.24 GB, free: 6.723 MB / 0.9015 GB Notification: Performance of NFTyping.typeBindings: time 0.03582/0.498, allocations: 9.005 MB / 1.249 GB, free: 13.45 MB / 0.9171 GB Notification: Performance of NFTyping.typeClassSections: time 0.01051/0.5085, allocations: 3.441 MB / 1.253 GB, free: 9.898 MB / 0.9171 GB Notification: Performance of NFFlatten.flatten: time 1.253/1.762, allocations: 20.88 MB / 1.273 GB, free: 26.54 MB / 0.9176 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006384/1.768, allocations: 2.36 MB / 1.275 GB, free: 25.93 MB / 0.9176 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01809/1.786, allocations: 5.235 MB / 1.28 GB, free: 25.6 MB / 0.9176 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01829/1.805, allocations: 5.995 MB / 1.286 GB, free: 24.34 MB / 0.9176 GB Notification: Performance of NFPackage.collectConstants: time 0.005417/1.81, allocations: 339.1 kB / 1.287 GB, free: 24.34 MB / 0.9176 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01387/1.824, allocations: 1.083 MB / 1.288 GB, free: 24.34 MB / 0.9176 GB Notification: Performance of NFScalarize.scalarize: time 0.005677/1.83, allocations: 1.449 MB / 1.289 GB, free: 23.91 MB / 0.9176 GB Notification: Performance of NFVerifyModel.verify: time 0.02347/1.853, allocations: 5.613 MB / 1.295 GB, free: 22.19 MB / 0.9176 GB Notification: Performance of NFConvertDAE.convert: time 0.03484/1.888, allocations: 14.15 MB / 1.308 GB, free: 19.17 MB / 0.9176 GB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/1.888, allocations: 0 / 1.308 GB, free: 19.17 MB / 0.9176 GB Notification: Performance of FrontEnd: time 4.218e-06/1.888, allocations: 3.906 kB / 1.308 GB, free: 19.17 MB / 0.9176 GB Notification: Performance of Transformations before backend: time 0.0008837/1.889, allocations: 3.75 kB / 1.308 GB, free: 19.17 MB / 0.9176 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2196 * Number of variables: 2196 Notification: Performance of Generate backend data structure: time 0.05563/1.945, allocations: 13.63 MB / 1.322 GB, free: 12.62 MB / 0.9176 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/1.945, allocations: 9.875 kB / 1.322 GB, free: 12.62 MB / 0.9176 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/1.955, allocations: 1.651 MB / 1.323 GB, free: 11.88 MB / 0.9176 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/1.978, allocations: 6.572 MB / 1.33 GB, free: 9.094 MB / 0.9176 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/1.979, allocations: 0.6587 MB / 1.33 GB, free: 9.07 MB / 0.9176 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004943/1.984, allocations: 0.8661 MB / 1.331 GB, free: 9.062 MB / 0.9176 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0306/2.015, allocations: 8.969 MB / 1.34 GB, free: 6.414 MB / 0.9176 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005746/2.015, allocations: 13.69 kB / 1.34 GB, free: 6.414 MB / 0.9176 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003079/2.018, allocations: 359.3 kB / 1.34 GB, free: 6.414 MB / 0.9176 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003432/2.019, allocations: 215.4 kB / 1.341 GB, free: 6.414 MB / 0.9176 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02531/2.044, allocations: 8.564 MB / 1.349 GB, free: 5.199 MB / 0.9176 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.09165/2.136, allocations: 53.93 MB / 1.402 GB, free: 8.234 MB / 0.9645 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02183/2.158, allocations: 10.72 MB / 1.412 GB, free: 13.57 MB / 0.9801 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00983/2.168, allocations: 4.02 MB / 1.416 GB, free: 9.547 MB / 0.9801 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009545/2.169, allocations: 113.6 kB / 1.416 GB, free: 9.441 MB / 0.9801 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001812/2.169, allocations: 131.2 kB / 1.416 GB, free: 9.305 MB / 0.9801 GB Notification: Performance of pre-optimization done (n=909): time 2.879e-05/2.169, allocations: 3.984 kB / 1.416 GB, free: 9.301 MB / 0.9801 GB Notification: Performance of matching and sorting (n=911): time 0.0637/2.233, allocations: 20.56 MB / 1.436 GB, free: 4.812 MB / 0.9958 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/2.233, allocations: 352.2 kB / 1.437 GB, free: 4.406 MB / 0.9958 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01389/2.247, allocations: 5.705 MB / 1.442 GB, free: 14.75 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.001878/2.249, allocations: 193.7 kB / 1.442 GB, free: 14.55 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.004575/2.253, allocations: 4.045 MB / 1.446 GB, free: 10.5 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.005154/2.258, allocations: 3.142 MB / 1.449 GB, free: 7.387 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/2.26, allocations: 212 kB / 1.45 GB, free: 7.18 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0008809/2.261, allocations: 0.6973 MB / 1.45 GB, free: 6.477 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007589/2.269, allocations: 3.25 MB / 1.453 GB, free: 3.223 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/2.28, allocations: 5.291 MB / 1.459 GB, free: 13.23 MB / 1.027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01631/2.296, allocations: 8.636 MB / 1.467 GB, free: 4.074 MB / 1.027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.472e-05/2.296, allocations: 16 kB / 1.467 GB, free: 4.059 MB / 1.027 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.03944/2.335, allocations: 14.31 MB / 1.481 GB, free: 6.047 MB / 1.043 GB Notification: Performance of prepare postOptimizeDAE: time 0.001599/2.337, allocations: 1.547 MB / 1.483 GB, free: 3.848 MB / 1.043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/2.337, allocations: 52 kB / 1.483 GB, free: 3.797 MB / 1.043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03207/2.369, allocations: 6.445 MB / 1.489 GB, free: 13.3 MB / 1.058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009569/2.379, allocations: 1.952 MB / 1.491 GB, free: 11.46 MB / 1.058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08811/2.467, allocations: 54.67 MB / 1.544 GB, free: 2.309 MB / 1.105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01176/2.479, allocations: 0.5719 MB / 1.545 GB, free: 1.734 MB / 1.105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00232/2.481, allocations: 376 kB / 1.545 GB, free: 1.367 MB / 1.105 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/2.481, allocations: 4 kB / 1.545 GB, free: 1.363 MB / 1.105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02471/2.506, allocations: 11.34 MB / 1.556 GB, free: 6.355 MB / 1.121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001052/2.506, allocations: 47.98 kB / 1.556 GB, free: 6.309 MB / 1.121 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02564/2.532, allocations: 5.039 MB / 1.561 GB, free: 1.234 MB / 1.121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009577/2.542, allocations: 2.099 MB / 1.563 GB, free: 15.14 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05727/2.599, allocations: 43.78 MB / 1.606 GB, free: 0.9375 MB / 1.168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.61, allocations: 446 kB / 1.606 GB, free: 0.5 MB / 1.168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/2.612, allocations: 368 kB / 1.607 GB, free: 144 kB / 1.168 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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 (1063): * Single equations (assignments): 1043 * 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), (216,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.006546/2.619, allocations: 1.729 MB / 1.608 GB, free: 14.4 MB / 1.183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002672/2.621, allocations: 0.8954 MB / 1.609 GB, free: 13.5 MB / 1.183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/2.641, allocations: 10.07 MB / 1.619 GB, free: 3.395 MB / 1.183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001371/2.641, allocations: 47.77 kB / 1.619 GB, free: 3.348 MB / 1.183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.377e-05/2.641, allocations: 0 / 1.619 GB, free: 3.348 MB / 1.183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006019/2.647, allocations: 1.583 MB / 1.621 GB, free: 1.734 MB / 1.183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002625/2.65, allocations: 159.9 kB / 1.621 GB, free: 1.578 MB / 1.183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007337/2.657, allocations: 398 kB / 1.621 GB, free: 1.191 MB / 1.183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001594/2.659, allocations: 0.7206 MB / 1.622 GB, free: 480 kB / 1.183 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02887/2.688, allocations: 9.61 MB / 1.631 GB, free: 7.031 MB / 1.199 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02627/2.714, allocations: 10.96 MB / 1.642 GB, free: 12 MB / 1.215 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006248/2.72, allocations: 3.035 MB / 1.645 GB, free: 8.957 MB / 1.215 GB Notification: Performance of sorting global known variables: time 0.008668/2.729, allocations: 3.6 MB / 1.649 GB, free: 5.398 MB / 1.215 GB Notification: Performance of Backend: time 1.092e-06/2.729, allocations: 0 / 1.649 GB, free: 5.398 MB / 1.215 GB Notification: Performance of simCode: created initialization part: time 0.06712/2.796, allocations: 24.25 MB / 1.672 GB, free: 12.68 MB / 1.246 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.04909/2.845, allocations: 23.14 MB / 1.695 GB, free: 5.465 MB / 1.261 GB Notification: Performance of Templates: time 1.012/3.857, allocations: 172.7 MB / 1.863 GB, free: 378.3 MB / 1.308 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2 -abortSlowSimulation -alarm=500 -nls=kinsol -lv=LOG_STATS -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_2.pipe 2>&1)