Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.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.3/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001545, allocations: 112.9 kB / 18.42 MB, free: 4.5 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.001184/0.001184, allocations: 189.5 kB / 19.36 MB, free: 3.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.07152/0.07152, allocations: 14.18 MB / 286.8 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.868/3.868, allocations: 461.2 MB / 0.7801 GB, free: 107.2 MB / 0.6546 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: ScalableTestGrids requested package PowerGrids of version 1.0.2. PowerGrids 1.0.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002968/0.002968, allocations: 91.36 kB / 1.132 GB, free: 22.01 MB / 0.8736 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.328, allocations: 172.1 MB / 1.3 GB, free: 7.023 MB / 0.9829 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.06675/0.3948, allocations: 63.81 MB / 1.362 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.04843/0.4433, allocations: 23.28 MB / 1.385 GB, free: 15.6 MB / 1.077 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01389/0.4572, allocations: 238.9 kB / 1.385 GB, free: 15.36 MB / 1.077 GB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.4696, allocations: 3.325 MB / 1.388 GB, free: 12.02 MB / 1.077 GB Notification: Performance of NFTyping.typeBindings: time 0.03195/0.5016, allocations: 9.4 MB / 1.397 GB, free: 2.574 MB / 1.077 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/0.5121, allocations: 3.269 MB / 1.401 GB, free: 15.3 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.03724/0.5494, allocations: 21.28 MB / 1.421 GB, free: 9.953 MB / 1.108 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009557/0.559, allocations: 2.522 MB / 1.424 GB, free: 7.352 MB / 1.108 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01653/0.5756, allocations: 7.142 MB / 1.431 GB, free: 188 kB / 1.108 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01601/0.5916, allocations: 7.564 MB / 1.438 GB, free: 8.59 MB / 1.124 GB Notification: Performance of NFPackage.collectConstants: time 0.005128/0.5968, allocations: 1.047 MB / 1.439 GB, free: 7.543 MB / 1.124 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01026/0.6071, allocations: 2.05 MB / 1.441 GB, free: 5.492 MB / 1.124 GB Notification: Performance of NFScalarize.scalarize: time 0.005137/0.6123, allocations: 2.303 MB / 1.443 GB, free: 3.18 MB / 1.124 GB Notification: Performance of NFVerifyModel.verify: time 0.01637/0.6287, allocations: 6.725 MB / 1.45 GB, free: 12.42 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.03374/0.6624, allocations: 16.78 MB / 1.466 GB, free: 11.59 MB / 1.155 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.6625, allocations: 0 / 1.466 GB, free: 11.59 MB / 1.155 GB Notification: Performance of FrontEnd: time 4.278e-06/0.6625, allocations: 4 kB / 1.466 GB, free: 11.58 MB / 1.155 GB Notification: Performance of Transformations before backend: time 0.0006662/0.6632, allocations: 3.938 kB / 1.466 GB, free: 11.58 MB / 1.155 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.06683/0.73, allocations: 16.55 MB / 1.483 GB, free: 10.91 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.7301, allocations: 12.03 kB / 1.483 GB, free: 10.89 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009534/0.7397, allocations: 1.707 MB / 1.484 GB, free: 9.18 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02058/0.7603, allocations: 7.149 MB / 1.491 GB, free: 1.941 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000765/0.7611, allocations: 0.6574 MB / 1.492 GB, free: 1.281 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004377/0.7655, allocations: 0.8671 MB / 1.493 GB, free: 424 kB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/0.7912, allocations: 8.973 MB / 1.502 GB, free: 7.035 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001556/0.7914, allocations: 15.88 kB / 1.502 GB, free: 7.02 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007785/0.7922, allocations: 356 kB / 1.502 GB, free: 6.672 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/0.7924, allocations: 212 kB / 1.502 GB, free: 6.465 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02038/0.8127, allocations: 8.515 MB / 1.51 GB, free: 13.93 MB / 1.202 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.1183/0.9311, allocations: 57.15 MB / 1.566 GB, free: 15.87 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/0.9544, allocations: 10.66 MB / 1.577 GB, free: 5.176 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009905/0.9644, allocations: 4.024 MB / 1.581 GB, free: 1.137 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009652/0.9654, allocations: 111.1 kB / 1.581 GB, free: 1.027 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001883/0.9656, allocations: 129.7 kB / 1.581 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of pre-optimization done (n=909): time 2.488e-05/0.9657, allocations: 0 / 1.581 GB, free: 0.8906 MB / 1.264 GB Notification: Performance of matching and sorting (n=909): time 0.03536/1.001, allocations: 12.05 MB / 1.593 GB, free: 4.828 MB / 1.28 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002616/1.001, allocations: 356.2 kB / 1.593 GB, free: 4.418 MB / 1.28 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.211/2.213, allocations: 6.312 MB / 1.599 GB, free: 262.6 MB / 1.28 GB Notification: Performance of collectPreVariables (initialization): time 0.001764/2.214, allocations: 192.5 kB / 1.599 GB, free: 262.6 MB / 1.28 GB Notification: Performance of collectInitialEqns (initialization): time 0.003824/2.218, allocations: 4.119 MB / 1.603 GB, free: 262.5 MB / 1.28 GB Notification: Performance of collectInitialBindings (initialization): time 0.004346/2.223, allocations: 3.301 MB / 1.606 GB, free: 260.8 MB / 1.28 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003047/2.226, allocations: 1.742 MB / 1.608 GB, free: 260.3 MB / 1.28 GB Notification: Performance of setup shared object (initialization): time 4.864e-05/2.226, allocations: 301.6 kB / 1.608 GB, free: 260 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005795/2.231, allocations: 3.275 MB / 1.612 GB, free: 258.7 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008715/2.24, allocations: 5.265 MB / 1.617 GB, free: 255.2 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0193/2.26, allocations: 8.585 MB / 1.625 GB, free: 249.8 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002155/2.26, allocations: 15.16 kB / 1.625 GB, free: 249.8 MB / 1.28 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.04734/2.307, allocations: 13.94 MB / 1.639 GB, free: 244.4 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001853/2.307, allocations: 25.38 kB / 1.639 GB, free: 244.4 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/2.308, allocations: 47.25 kB / 1.639 GB, free: 244.4 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03064/2.338, allocations: 6.185 MB / 1.645 GB, free: 243.6 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008186/2.346, allocations: 1.948 MB / 1.647 GB, free: 243.4 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07521/2.422, allocations: 58.13 MB / 1.704 GB, free: 199.2 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/2.433, allocations: 0.863 MB / 1.704 GB, free: 198.8 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/2.435, allocations: 375.1 kB / 1.705 GB, free: 198.7 MB / 1.28 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00914/2.444, allocations: 4.26 MB / 1.709 GB, free: 196.4 MB / 1.28 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006118/2.451, allocations: 5.03 MB / 1.714 GB, free: 191.8 MB / 1.28 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01223/2.463, allocations: 8.256 MB / 1.722 GB, free: 182.8 MB / 1.28 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.695e-05/2.463, allocations: 20 kB / 1.722 GB, free: 182.8 MB / 1.28 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.02597/2.489, allocations: 12.24 MB / 1.734 GB, free: 170.4 MB / 1.28 GB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/2.489, allocations: 24 kB / 1.734 GB, free: 170.4 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.153e-05/2.489, allocations: 48 kB / 1.734 GB, free: 170.3 MB / 1.28 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02432/2.513, allocations: 5.109 MB / 1.739 GB, free: 165.2 MB / 1.28 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008586/2.522, allocations: 2.091 MB / 1.741 GB, free: 163.1 MB / 1.28 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05827/2.58, allocations: 47.66 MB / 1.788 GB, free: 112.9 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01142/2.592, allocations: 0.6679 MB / 1.788 GB, free: 112.3 MB / 1.28 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/2.593, allocations: 368 kB / 1.789 GB, free: 112 MB / 1.28 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 (1061): * Single equations (assignments): 1041 * 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.00211/2.596, allocations: 0.7486 MB / 1.789 GB, free: 111.2 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003202/2.599, allocations: 0.9472 MB / 1.79 GB, free: 110.3 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/2.616, allocations: 9.96 MB / 1.8 GB, free: 100.3 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001554/2.616, allocations: 39.84 kB / 1.8 GB, free: 100.3 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/2.616, allocations: 7.938 kB / 1.8 GB, free: 100.3 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006299/2.623, allocations: 1.906 MB / 1.802 GB, free: 98.39 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002765/2.626, allocations: 156 kB / 1.802 GB, free: 98.24 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008245/2.634, allocations: 274 kB / 1.802 GB, free: 97.98 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001699/2.636, allocations: 0.7167 MB / 1.803 GB, free: 97.25 MB / 1.28 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02569/2.661, allocations: 9.378 MB / 1.812 GB, free: 88.05 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.09007/2.751, allocations: 47.76 MB / 1.859 GB, free: 40.03 MB / 1.28 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004867/2.756, allocations: 3.008 MB / 1.862 GB, free: 37.02 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.006475/2.763, allocations: 4.062 MB / 1.866 GB, free: 33 MB / 1.28 GB Notification: Performance of Backend: time 1.032e-06/2.763, allocations: 0 / 1.866 GB, free: 33 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.05067/2.813, allocations: 24.85 MB / 1.89 GB, free: 7.691 MB / 1.28 GB Notification: Performance of SimCode: time 0.0571/2.871, allocations: 30.42 MB / 1.92 GB, free: 9.125 MB / 1.312 GB Notification: Performance of Templates: time 0.4237/3.294, allocations: 217.7 MB / 2.132 GB, free: 15.28 MB / 1.53 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1)