Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.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/package.mo", uses=false) Using package ScalableTestGrids with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/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_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_1,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 104.9 kB / 17.17 MB, free: 6.316 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.001016/0.001016, allocations: 189.9 kB / 18.08 MB, free: 5.41 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.439/1.439, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06211/0.06211, allocations: 14.17 MB / 285.4 MB, free: 14.14 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.783/2.783, allocations: 418.6 MB / 0.7371 GB, free: 5.383 MB / 0.5764 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.001648/0.001648, allocations: 79.89 kB / 0.9081 GB, free: 13.05 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.086/1.087, allocations: 160.9 MB / 1.065 GB, free: 12.19 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.04988/1.137, allocations: 56.32 MB / 1.12 GB, free: 0.7227 MB / 0.8271 GB Notification: Performance of NFInst.instExpressions: time 0.04676/1.184, allocations: 20.56 MB / 1.14 GB, free: 15.45 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01819/1.202, allocations: 223.9 kB / 1.14 GB, free: 15.38 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01242/1.215, allocations: 2.428 MB / 1.143 GB, free: 13.49 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.03428/1.249, allocations: 7.013 MB / 1.15 GB, free: 7.574 MB / 0.8584 GB Notification: Performance of NFTyping.typeClassSections: time 0.01271/1.262, allocations: 2.9 MB / 1.153 GB, free: 5.145 MB / 0.8584 GB Notification: Performance of NFFlatten.flatten: time 0.03475/1.297, allocations: 18.21 MB / 1.17 GB, free: 10.64 MB / 0.874 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007636/1.304, allocations: 2.248 MB / 1.173 GB, free: 9.395 MB / 0.874 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01428/1.319, allocations: 4.725 MB / 1.177 GB, free: 6.73 MB / 0.874 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01502/1.334, allocations: 5.43 MB / 1.182 GB, free: 3.168 MB / 0.874 GB Notification: Performance of NFPackage.collectConstants: time 0.004489/1.338, allocations: 380.7 kB / 1.183 GB, free: 3.164 MB / 0.874 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/1.349, allocations: 1.042 MB / 1.184 GB, free: 2.973 MB / 0.874 GB Notification: Performance of NFScalarize.scalarize: time 0.003627/1.352, allocations: 1.411 MB / 1.185 GB, free: 1.785 MB / 0.874 GB Notification: Performance of NFVerifyModel.verify: time 0.01607/1.368, allocations: 5.05 MB / 1.19 GB, free: 14.36 MB / 0.8896 GB Notification: Performance of NFConvertDAE.convert: time 0.02521/1.394, allocations: 13.04 MB / 1.203 GB, free: 2.234 MB / 0.8896 GB Notification: Performance of FrontEnd - DAE generated: time 7.343e-06/1.394, allocations: 0 / 1.203 GB, free: 2.234 MB / 0.8896 GB Notification: Performance of FrontEnd: time 2.685e-06/1.394, allocations: 0 / 1.203 GB, free: 2.234 MB / 0.8896 GB Notification: Performance of Transformations before backend: time 0.0005294/1.394, allocations: 3.938 kB / 1.203 GB, free: 2.23 MB / 0.8896 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.05301/1.447, allocations: 13.73 MB / 1.216 GB, free: 4.391 MB / 0.9053 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/1.447, allocations: 11.97 kB / 1.216 GB, free: 4.379 MB / 0.9053 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008162/1.456, allocations: 1.437 MB / 1.218 GB, free: 2.93 MB / 0.9053 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/1.47, allocations: 5.931 MB / 1.223 GB, free: 12.93 MB / 0.9209 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005337/1.471, allocations: 0.5849 MB / 1.224 GB, free: 12.34 MB / 0.9209 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00216/1.473, allocations: 0.7616 MB / 1.225 GB, free: 11.58 MB / 0.9209 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01842/1.491, allocations: 7.887 MB / 1.233 GB, free: 3.371 MB / 0.9209 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/1.492, allocations: 15.81 kB / 1.233 GB, free: 3.355 MB / 0.9209 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/1.493, allocations: 316 kB / 1.233 GB, free: 3.047 MB / 0.9209 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00015/1.493, allocations: 184 kB / 1.233 GB, free: 2.867 MB / 0.9209 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/1.511, allocations: 7.496 MB / 1.24 GB, free: 11.36 MB / 0.9365 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.07707/1.588, allocations: 46.18 MB / 1.285 GB, free: 9.078 MB / 0.9834 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01965/1.608, allocations: 9.329 MB / 1.295 GB, free: 15.63 MB / 0.999 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008162/1.616, allocations: 3.534 MB / 1.298 GB, free: 12.08 MB / 0.999 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007962/1.617, allocations: 102.1 kB / 1.298 GB, free: 11.98 MB / 0.999 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/1.617, allocations: 112.7 kB / 1.298 GB, free: 11.86 MB / 0.999 GB Notification: Performance of pre-optimization done (n=787): time 1.243e-05/1.617, allocations: 0 / 1.298 GB, free: 11.86 MB / 0.999 GB Notification: Performance of matching and sorting (n=789): time 0.05041/1.667, allocations: 17.83 MB / 1.316 GB, free: 9.902 MB / 1.015 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/1.668, allocations: 339.2 kB / 1.316 GB, free: 9.508 MB / 1.015 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01091/1.678, allocations: 5.209 MB / 1.321 GB, free: 4.32 MB / 1.015 GB Notification: Performance of collectPreVariables (initialization): time 0.001568/1.68, allocations: 173.7 kB / 1.321 GB, free: 4.145 MB / 1.015 GB Notification: Performance of collectInitialEqns (initialization): time 0.003038/1.683, allocations: 3.599 MB / 1.325 GB, free: 0.5156 MB / 1.015 GB Notification: Performance of collectInitialBindings (initialization): time 0.003768/1.687, allocations: 2.726 MB / 1.327 GB, free: 13.75 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002646/1.69, allocations: 1.55 MB / 1.329 GB, free: 12.18 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/1.69, allocations: 301.1 kB / 1.329 GB, free: 11.89 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005501/1.695, allocations: 2.944 MB / 1.332 GB, free: 8.926 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007251/1.702, allocations: 4.737 MB / 1.337 GB, free: 3.531 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/1.716, allocations: 7.649 MB / 1.344 GB, free: 11.28 MB / 1.046 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-05/1.716, allocations: 12 kB / 1.344 GB, free: 11.27 MB / 1.046 GB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.03048/1.747, allocations: 12.41 MB / 1.356 GB, free: 14.78 MB / 1.062 GB Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/1.747, allocations: 24 kB / 1.356 GB, free: 14.75 MB / 1.062 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.401e-05/1.747, allocations: 44.12 kB / 1.356 GB, free: 14.71 MB / 1.062 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02776/1.775, allocations: 5.513 MB / 1.362 GB, free: 9.133 MB / 1.062 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008601/1.783, allocations: 1.748 MB / 1.363 GB, free: 7.383 MB / 1.062 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07292/1.856, allocations: 49.75 MB / 1.412 GB, free: 2.906 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009137/1.866, allocations: 490 kB / 1.412 GB, free: 2.426 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.867, allocations: 340 kB / 1.413 GB, free: 2.094 MB / 1.108 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008762/1.876, allocations: 3.799 MB / 1.416 GB, free: 14.28 MB / 1.124 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006351/1.882, allocations: 4.499 MB / 1.421 GB, free: 9.121 MB / 1.124 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01226/1.894, allocations: 7.321 MB / 1.428 GB, free: 1.195 MB / 1.124 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.328e-05/1.894, allocations: 19.94 kB / 1.428 GB, free: 1.176 MB / 1.124 GB Notification: Performance of matching and sorting (n=1197) (initialization_lambda0): time 0.02304/1.917, allocations: 10.72 MB / 1.439 GB, free: 6.387 MB / 1.14 GB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/1.917, allocations: 24 kB / 1.439 GB, free: 6.363 MB / 1.14 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-05/1.917, allocations: 40 kB / 1.439 GB, free: 6.324 MB / 1.14 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02199/1.939, allocations: 4.425 MB / 1.443 GB, free: 1.84 MB / 1.14 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00802/1.948, allocations: 1.896 MB / 1.445 GB, free: 15.94 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04859/1.996, allocations: 40 MB / 1.484 GB, free: 5.48 MB / 1.187 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007648/2.004, allocations: 410.3 kB / 1.484 GB, free: 5.078 MB / 1.187 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009869/2.005, allocations: 328 kB / 1.485 GB, free: 4.758 MB / 1.187 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.001639/2.006, allocations: 0.6875 MB / 1.485 GB, free: 4.066 MB / 1.187 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001802/2.008, allocations: 0.7951 MB / 1.486 GB, free: 3.262 MB / 1.187 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/2.026, allocations: 8.638 MB / 1.494 GB, free: 10.56 MB / 1.202 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001277/2.026, allocations: 43.84 kB / 1.494 GB, free: 10.52 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/2.026, allocations: 0 / 1.494 GB, free: 10.52 MB / 1.202 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005661/2.032, allocations: 1.424 MB / 1.496 GB, free: 9.066 MB / 1.202 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001706/2.033, allocations: 136 kB / 1.496 GB, free: 8.934 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004487/2.038, allocations: 314.5 kB / 1.496 GB, free: 8.625 MB / 1.202 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001097/2.039, allocations: 0.626 MB / 1.497 GB, free: 7.996 MB / 1.202 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0202/2.059, allocations: 8.222 MB / 1.505 GB, free: 15.72 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.6363/2.695, allocations: 41.53 MB / 1.545 GB, free: 375 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005159/2.701, allocations: 2.666 MB / 1.548 GB, free: 373.9 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.006485/2.707, allocations: 3.312 MB / 1.551 GB, free: 372.7 MB / 1.218 GB Notification: Performance of Backend: time 1.232e-06/2.707, allocations: 0 / 1.551 GB, free: 372.7 MB / 1.218 GB Notification: Performance of simCode: created initialization part: time 0.04781/2.755, allocations: 21.25 MB / 1.572 GB, free: 362.7 MB / 1.218 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.04903/2.804, allocations: 28.69 MB / 1.6 GB, free: 346.1 MB / 1.218 GB Notification: Performance of Templates: time 0.2627/3.067, allocations: 170.3 MB / 1.766 GB, free: 193.8 MB / 1.218 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe 2>&1)