Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_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.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2") translateModel(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_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.0009736/0.0009736, allocations: 179.3 kB / 16.71 MB, free: 4.934 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.318/1.318, 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.0008102/0.00081, allocations: 98.03 kB / 294.4 MB, free: 9.473 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.06071/0.06071, allocations: 14.36 MB / 359.8 MB, free: 8.328 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 2.976/2.976, allocations: 421.4 MB / 0.8163 GB, free: 4.395 MB / 0.5888 GB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 12 kB / 0.9937 GB, free: 36.27 MB / 0.6828 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3592, allocations: 167.6 MB / 1.157 GB, free: 12.39 MB / 0.8234 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.0514/0.4106, allocations: 58.57 MB / 1.215 GB, free: 1.648 MB / 0.8703 GB Notification: Performance of NFInst.instExpressions: time 0.04392/0.4546, allocations: 23.57 MB / 1.238 GB, free: 9.766 MB / 0.9015 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01679/0.4715, allocations: 234.8 kB / 1.238 GB, free: 9.535 MB / 0.9015 GB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.4844, allocations: 2.791 MB / 1.241 GB, free: 6.73 MB / 0.9015 GB Notification: Performance of NFTyping.typeBindings: time 0.03509/0.5196, allocations: 9.002 MB / 1.249 GB, free: 13.46 MB / 0.9171 GB Notification: Performance of NFTyping.typeClassSections: time 0.01102/0.5306, allocations: 3.456 MB / 1.253 GB, free: 9.898 MB / 0.9171 GB Notification: Performance of NFFlatten.flatten: time 1.657/2.187, allocations: 20.87 MB / 1.273 GB, free: 26.32 MB / 0.9176 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006554/2.194, allocations: 2.359 MB / 1.275 GB, free: 25.73 MB / 0.9176 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/2.211, allocations: 5.233 MB / 1.28 GB, free: 25.39 MB / 0.9176 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01622/2.227, allocations: 5.996 MB / 1.286 GB, free: 24.13 MB / 0.9176 GB Notification: Performance of NFPackage.collectConstants: time 0.004715/2.232, allocations: 342.3 kB / 1.287 GB, free: 24.13 MB / 0.9176 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/2.245, allocations: 1.075 MB / 1.288 GB, free: 24.13 MB / 0.9176 GB Notification: Performance of NFScalarize.scalarize: time 0.004747/2.25, allocations: 1.456 MB / 1.289 GB, free: 23.71 MB / 0.9176 GB Notification: Performance of NFVerifyModel.verify: time 0.02151/2.272, allocations: 5.607 MB / 1.295 GB, free: 21.99 MB / 0.9176 GB Notification: Performance of NFConvertDAE.convert: time 0.02861/2.3, allocations: 14.15 MB / 1.308 GB, free: 19.2 MB / 0.9176 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/2.301, allocations: 1.031 kB / 1.308 GB, free: 19.2 MB / 0.9176 GB Notification: Performance of FrontEnd: time 3.306e-06/2.301, allocations: 0 / 1.308 GB, free: 19.2 MB / 0.9176 GB Notification: Performance of Transformations before backend: time 0.0007596/2.301, allocations: 2.656 kB / 1.308 GB, free: 19.2 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.05274/2.354, allocations: 13.62 MB / 1.322 GB, free: 12.66 MB / 0.9176 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/2.354, allocations: 6.781 kB / 1.322 GB, free: 12.66 MB / 0.9176 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009706/2.364, allocations: 1.65 MB / 1.323 GB, free: 11.92 MB / 0.9176 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01591/2.38, allocations: 6.576 MB / 1.33 GB, free: 9.133 MB / 0.9176 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006295/2.381, allocations: 0.6571 MB / 1.33 GB, free: 9.109 MB / 0.9176 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002769/2.383, allocations: 0.8714 MB / 1.331 GB, free: 9.098 MB / 0.9176 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02342/2.407, allocations: 8.964 MB / 1.34 GB, free: 6.453 MB / 0.9176 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002661/2.407, allocations: 17.12 kB / 1.34 GB, free: 6.453 MB / 0.9176 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/2.409, allocations: 356.6 kB / 1.34 GB, free: 6.453 MB / 0.9176 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001671/2.409, allocations: 211.8 kB / 1.341 GB, free: 6.453 MB / 0.9176 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02185/2.431, allocations: 8.568 MB / 1.349 GB, free: 5.234 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.09578/2.527, allocations: 53.93 MB / 1.402 GB, free: 8.258 MB / 0.9645 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02284/2.55, allocations: 10.72 MB / 1.412 GB, free: 13.59 MB / 0.9801 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01145/2.561, allocations: 4.024 MB / 1.416 GB, free: 9.562 MB / 0.9801 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/2.562, allocations: 109.5 kB / 1.416 GB, free: 9.465 MB / 0.9801 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/2.563, allocations: 130.3 kB / 1.416 GB, free: 9.328 MB / 0.9801 GB Notification: Performance of pre-optimization done (n=909): time 1.966e-05/2.563, allocations: 0 / 1.416 GB, free: 9.328 MB / 0.9801 GB Notification: Performance of matching and sorting (n=911): time 0.05343/2.616, allocations: 20.55 MB / 1.436 GB, free: 4.848 MB / 0.9958 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/2.616, allocations: 360.1 kB / 1.437 GB, free: 4.434 MB / 0.9958 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/2.626, allocations: 5.704 MB / 1.442 GB, free: 14.78 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.002093/2.628, allocations: 189.7 kB / 1.442 GB, free: 14.59 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.003679/2.632, allocations: 4.057 MB / 1.446 GB, free: 10.52 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.005124/2.637, allocations: 3.137 MB / 1.449 GB, free: 7.41 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007361/2.638, allocations: 212 kB / 1.45 GB, free: 7.203 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0006027/2.639, allocations: 0.6973 MB / 1.45 GB, free: 6.5 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006283/2.645, allocations: 3.25 MB / 1.453 GB, free: 3.246 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008045/2.653, allocations: 5.288 MB / 1.459 GB, free: 13.26 MB / 1.027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0153/2.668, allocations: 8.642 MB / 1.467 GB, free: 4.098 MB / 1.027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.431e-05/2.668, allocations: 12 kB / 1.467 GB, free: 4.086 MB / 1.027 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.04175/2.71, allocations: 14.32 MB / 1.481 GB, free: 6.07 MB / 1.043 GB Notification: Performance of prepare postOptimizeDAE: time 0.00132/2.712, allocations: 1.544 MB / 1.483 GB, free: 3.875 MB / 1.043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.182e-05/2.712, allocations: 48 kB / 1.483 GB, free: 3.828 MB / 1.043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03079/2.742, allocations: 6.45 MB / 1.489 GB, free: 13.33 MB / 1.058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009104/2.752, allocations: 1.959 MB / 1.491 GB, free: 11.48 MB / 1.058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08297/2.835, allocations: 54.68 MB / 1.544 GB, free: 2.324 MB / 1.105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/2.846, allocations: 0.5719 MB / 1.545 GB, free: 1.75 MB / 1.105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001877/2.848, allocations: 378.2 kB / 1.545 GB, free: 1.383 MB / 1.105 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/2.848, allocations: 4 kB / 1.545 GB, free: 1.379 MB / 1.105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02406/2.872, allocations: 11.33 MB / 1.556 GB, free: 6.375 MB / 1.121 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-05/2.872, allocations: 48.94 kB / 1.556 GB, free: 6.328 MB / 1.121 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02396/2.896, allocations: 5.027 MB / 1.561 GB, free: 1.258 MB / 1.121 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009385/2.906, allocations: 2.098 MB / 1.563 GB, free: 15.19 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05573/2.961, allocations: 43.78 MB / 1.606 GB, free: 0.9883 MB / 1.168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/2.973, allocations: 438 kB / 1.606 GB, free: 0.5586 MB / 1.168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002455/2.976, allocations: 376 kB / 1.607 GB, free: 196 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.007371/2.983, allocations: 1.724 MB / 1.608 GB, free: 14.45 MB / 1.183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003181/2.986, allocations: 0.8993 MB / 1.609 GB, free: 13.54 MB / 1.183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02032/3.007, allocations: 10.06 MB / 1.619 GB, free: 3.453 MB / 1.183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001114/3.007, allocations: 43.83 kB / 1.619 GB, free: 3.41 MB / 1.183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-05/3.007, allocations: 7.938 kB / 1.619 GB, free: 3.402 MB / 1.183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006357/3.013, allocations: 1.591 MB / 1.621 GB, free: 1.781 MB / 1.183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003179/3.016, allocations: 160 kB / 1.621 GB, free: 1.625 MB / 1.183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007833/3.024, allocations: 394.2 kB / 1.621 GB, free: 1.238 MB / 1.183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001724/3.026, allocations: 0.7167 MB / 1.622 GB, free: 0.5195 MB / 1.183 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02801/3.054, allocations: 9.618 MB / 1.631 GB, free: 7.074 MB / 1.199 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01827/3.072, allocations: 10.96 MB / 1.642 GB, free: 12.04 MB / 1.215 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004941/3.077, allocations: 3.039 MB / 1.645 GB, free: 8.996 MB / 1.215 GB Notification: Performance of sorting global known variables: time 0.006553/3.084, allocations: 3.596 MB / 1.649 GB, free: 5.441 MB / 1.215 GB Notification: Performance of Backend: time 2.6e-07/3.084, allocations: 0 / 1.649 GB, free: 5.441 MB / 1.215 GB Notification: Performance of simCode: created initialization part: time 0.06454/3.148, allocations: 24.24 MB / 1.672 GB, free: 12.73 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.04719/3.196, allocations: 23.16 MB / 1.695 GB, free: 5.5 MB / 1.261 GB Notification: Performance of Templates: time 1.03/4.226, allocations: 172.8 MB / 1.864 GB, free: 378.3 MB / 1.308 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2 -abortSlowSimulation -alarm=500 -nls=kinsol -lv=LOG_STATS -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)