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_1.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_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008616/0.0008614, allocations: 184.2 kB / 16.71 MB, free: 4.969 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.32/1.32, allocations: 225.7 MB / 243.2 MB, free: 8.449 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.0009114/0.0009113, allocations: 94.81 kB / 294.4 MB, free: 9.484 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.0599/0.0599, allocations: 14.36 MB / 359.8 MB, free: 8.332 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.071/3.071, allocations: 421.4 MB / 0.8163 GB, free: 4.348 MB / 0.5888 GB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004378, allocations: 16 kB / 0.9937 GB, free: 36.25 MB / 0.6828 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3444, allocations: 167.5 MB / 1.157 GB, free: 12.38 MB / 0.8234 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1_N_1_M_1): time 0.04521/0.3897, allocations: 50.95 MB / 1.207 GB, free: 9.281 MB / 0.8703 GB Notification: Performance of NFInst.instExpressions: time 0.04055/0.4303, allocations: 20.88 MB / 1.227 GB, free: 4.094 MB / 0.8859 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01416/0.4445, allocations: 210.9 kB / 1.228 GB, free: 3.887 MB / 0.8859 GB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.4558, allocations: 2.425 MB / 1.23 GB, free: 1.449 MB / 0.8859 GB Notification: Performance of NFTyping.typeBindings: time 0.03025/0.4861, allocations: 7.947 MB / 1.238 GB, free: 9.242 MB / 0.9015 GB Notification: Performance of NFTyping.typeClassSections: time 0.0138/0.4999, allocations: 3.328 MB / 1.241 GB, free: 5.801 MB / 0.9015 GB Notification: Performance of NFFlatten.flatten: time 0.03037/0.5303, allocations: 18.2 MB / 1.259 GB, free: 3.531 MB / 0.9171 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006995/0.5374, allocations: 2.219 MB / 1.261 GB, free: 1.238 MB / 0.9171 GB Notification: Performance of NFEvalConstants.evaluate: time 1.258/1.795, allocations: 4.555 MB / 1.265 GB, free: 27.63 MB / 0.9176 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01568/1.811, allocations: 5.236 MB / 1.271 GB, free: 26.99 MB / 0.9176 GB Notification: Performance of NFPackage.collectConstants: time 0.00466/1.815, allocations: 303.2 kB / 1.271 GB, free: 26.99 MB / 0.9176 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01219/1.828, allocations: 0.9628 MB / 1.272 GB, free: 26.99 MB / 0.9176 GB Notification: Performance of NFScalarize.scalarize: time 0.005461/1.833, allocations: 1.294 MB / 1.273 GB, free: 26.62 MB / 0.9176 GB Notification: Performance of NFVerifyModel.verify: time 0.02233/1.855, allocations: 4.927 MB / 1.278 GB, free: 25.1 MB / 0.9176 GB Notification: Performance of NFConvertDAE.convert: time 0.03207/1.888, allocations: 12.61 MB / 1.29 GB, free: 23.24 MB / 0.9176 GB Notification: Performance of FrontEnd - DAE generated: time 1.147e-05/1.888, allocations: 1.969 kB / 1.29 GB, free: 23.24 MB / 0.9176 GB Notification: Performance of FrontEnd: time 4.889e-06/1.888, allocations: 0 / 1.29 GB, free: 23.24 MB / 0.9176 GB Notification: Performance of Transformations before backend: time 0.001203/1.889, allocations: 1.438 kB / 1.29 GB, free: 23.24 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: 1920 * Number of variables: 1920 Notification: Performance of Generate backend data structure: time 0.05453/1.943, allocations: 11.97 MB / 1.302 GB, free: 18.87 MB / 0.9176 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/1.944, allocations: 8.562 kB / 1.302 GB, free: 18.87 MB / 0.9176 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009568/1.953, allocations: 1.43 MB / 1.303 GB, free: 18.23 MB / 0.9176 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.973, allocations: 5.886 MB / 1.309 GB, free: 15.77 MB / 0.9176 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001567/1.975, allocations: 0.5791 MB / 1.31 GB, free: 15.75 MB / 0.9176 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004264/1.979, allocations: 0.7714 MB / 1.31 GB, free: 15.74 MB / 0.9176 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03311/2.012, allocations: 7.88 MB / 1.318 GB, free: 13.47 MB / 0.9176 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006954/2.013, allocations: 19.88 kB / 1.318 GB, free: 13.46 MB / 0.9176 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002984/2.016, allocations: 310.5 kB / 1.318 GB, free: 13.46 MB / 0.9176 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003427/2.017, allocations: 185.6 kB / 1.319 GB, free: 13.46 MB / 0.9176 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0247/2.041, allocations: 7.56 MB / 1.326 GB, free: 12.38 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.08217/2.123, allocations: 46.36 MB / 1.371 GB, free: 11.11 MB / 0.9489 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01877/2.142, allocations: 9.381 MB / 1.38 GB, free: 8.059 MB / 0.9489 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008519/2.151, allocations: 3.548 MB / 1.384 GB, free: 6.309 MB / 0.9489 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000818/2.152, allocations: 96.27 kB / 1.384 GB, free: 6.297 MB / 0.9489 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/2.152, allocations: 125.7 kB / 1.384 GB, free: 6.195 MB / 0.9489 GB Notification: Performance of pre-optimization done (n=787): time 1.595e-05/2.152, allocations: 4 kB / 1.384 GB, free: 6.191 MB / 0.9489 GB Notification: Performance of matching and sorting (n=789): time 0.05875/2.211, allocations: 18 MB / 1.402 GB, free: 7.203 MB / 0.9645 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001852/2.211, allocations: 339.2 kB / 1.402 GB, free: 6.809 MB / 0.9645 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01323/2.224, allocations: 5.133 MB / 1.407 GB, free: 1.695 MB / 0.9645 GB Notification: Performance of collectPreVariables (initialization): time 0.001877/2.226, allocations: 173.7 kB / 1.407 GB, free: 1.52 MB / 0.9645 GB Notification: Performance of collectInitialEqns (initialization): time 0.004487/2.231, allocations: 3.598 MB / 1.411 GB, free: 14.01 MB / 0.9801 GB Notification: Performance of collectInitialBindings (initialization): time 0.004929/2.236, allocations: 2.736 MB / 1.413 GB, free: 11.3 MB / 0.9801 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002222/2.238, allocations: 184 kB / 1.413 GB, free: 11.12 MB / 0.9801 GB Notification: Performance of setup shared object (initialization): time 0.0009487/2.239, allocations: 0.6476 MB / 1.414 GB, free: 10.46 MB / 0.9801 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008332/2.247, allocations: 2.934 MB / 1.417 GB, free: 7.523 MB / 0.9801 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/2.257, allocations: 4.772 MB / 1.422 GB, free: 2.113 MB / 0.9801 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01722/2.275, allocations: 7.7 MB / 1.429 GB, free: 9.988 MB / 0.9958 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.381e-05/2.275, allocations: 12 kB / 1.429 GB, free: 9.977 MB / 0.9958 GB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.04148/2.316, allocations: 12.86 MB / 1.442 GB, free: 13.43 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001174/2.317, allocations: 1.402 MB / 1.443 GB, free: 11.46 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/2.318, allocations: 40 kB / 1.443 GB, free: 11.42 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02679/2.344, allocations: 5.763 MB / 1.449 GB, free: 5.602 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007953/2.352, allocations: 1.746 MB / 1.45 GB, free: 3.957 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0801/2.433, allocations: 50.97 MB / 1.5 GB, free: 14.52 MB / 1.074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0121/2.445, allocations: 0.5059 MB / 1.501 GB, free: 14.01 MB / 1.074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/2.447, allocations: 336 kB / 1.501 GB, free: 13.68 MB / 1.074 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/2.447, allocations: 4 kB / 1.501 GB, free: 13.68 MB / 1.074 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0223/2.469, allocations: 9.964 MB / 1.511 GB, free: 4.047 MB / 1.074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.341e-05/2.47, allocations: 40.22 kB / 1.511 GB, free: 4.008 MB / 1.074 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02061/2.49, allocations: 4.352 MB / 1.515 GB, free: 15.61 MB / 1.09 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008737/2.499, allocations: 1.897 MB / 1.517 GB, free: 13.82 MB / 1.09 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05112/2.55, allocations: 40 MB / 1.556 GB, free: 3.574 MB / 1.121 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009624/2.56, allocations: 398.3 kB / 1.556 GB, free: 3.184 MB / 1.121 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/2.562, allocations: 328 kB / 1.557 GB, free: 2.863 MB / 1.121 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * 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 (951): * Single equations (assignments): 931 * 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), (172,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.005673/2.567, allocations: 1.559 MB / 1.558 GB, free: 1.402 MB / 1.121 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002704/2.57, allocations: 0.7952 MB / 1.559 GB, free: 0.5977 MB / 1.121 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/2.588, allocations: 8.776 MB / 1.568 GB, free: 8.18 MB / 1.136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.533e-05/2.588, allocations: 39.84 kB / 1.568 GB, free: 8.141 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/2.588, allocations: 0 / 1.568 GB, free: 8.141 MB / 1.136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006348/2.595, allocations: 1.417 MB / 1.569 GB, free: 6.695 MB / 1.136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002796/2.597, allocations: 136 kB / 1.569 GB, free: 6.562 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006448/2.604, allocations: 342.5 kB / 1.569 GB, free: 6.227 MB / 1.136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001271/2.605, allocations: 0.6299 MB / 1.57 GB, free: 5.594 MB / 1.136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02308/2.628, allocations: 8.401 MB / 1.578 GB, free: 13.32 MB / 1.152 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01903/2.647, allocations: 9.699 MB / 1.588 GB, free: 3.527 MB / 1.152 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00499/2.652, allocations: 2.692 MB / 1.59 GB, free: 0.8203 MB / 1.152 GB Notification: Performance of sorting global known variables: time 0.007132/2.66, allocations: 3.241 MB / 1.594 GB, free: 13.6 MB / 1.168 GB Notification: Performance of Backend: time 1.172e-06/2.66, allocations: 4 kB / 1.594 GB, free: 13.6 MB / 1.168 GB Notification: Performance of simCode: created initialization part: time 0.0565/2.716, allocations: 21.74 MB / 1.615 GB, free: 7.77 MB / 1.183 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.04204/2.758, allocations: 20.42 MB / 1.635 GB, free: 3.277 MB / 1.199 GB Notification: Performance of Templates: time 0.9871/3.745, allocations: 151.7 MB / 1.783 GB, free: 440.5 MB / 1.308 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1 -abortSlowSimulation -alarm=500 -nls=kinsol -lv=LOG_STATS -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1_N_1_M_1.pipe 2>&1)