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.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_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.001624/0.001624, allocations: 107.8 kB / 18.37 MB, free: 4.77 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.001789/0.001789, allocations: 191 kB / 19.3 MB, free: 3.84 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.491/1.491, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06362/0.06362, allocations: 14.17 MB / 286.7 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 4.088/4.088, allocations: 461.2 MB / 0.7801 GB, free: 107.2 MB / 0.6545 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.002239/0.002239, allocations: 87.88 kB / 0.963 GB, free: 2.023 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.332/1.334, allocations: 172.1 MB / 1.131 GB, free: 28.83 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_1): time 0.05019/1.384, allocations: 55.55 MB / 1.185 GB, free: 3.102 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.04642/1.431, allocations: 20.54 MB / 1.205 GB, free: 1.789 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01697/1.448, allocations: 211.7 kB / 1.206 GB, free: 1.727 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.01326/1.461, allocations: 2.88 MB / 1.208 GB, free: 15.38 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.03229/1.493, allocations: 7.71 MB / 1.216 GB, free: 8.773 MB / 0.9204 GB Notification: Performance of NFTyping.typeClassSections: time 0.01316/1.507, allocations: 3.126 MB / 1.219 GB, free: 6.117 MB / 0.9204 GB Notification: Performance of NFFlatten.flatten: time 0.03946/1.546, allocations: 18.58 MB / 1.237 GB, free: 10.55 MB / 0.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007005/1.553, allocations: 2.363 MB / 1.239 GB, free: 9.273 MB / 0.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01754/1.571, allocations: 6.124 MB / 1.245 GB, free: 5.445 MB / 0.936 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0186/1.589, allocations: 6.621 MB / 1.252 GB, free: 0.8438 MB / 0.936 GB Notification: Performance of NFPackage.collectConstants: time 0.004917/1.594, allocations: 0.9574 MB / 1.253 GB, free: 0.8438 MB / 0.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01133/1.606, allocations: 1.848 MB / 1.255 GB, free: 0.6484 MB / 0.936 GB Notification: Performance of NFScalarize.scalarize: time 0.004757/1.611, allocations: 2.079 MB / 1.257 GB, free: 14.8 MB / 0.9517 GB Notification: Performance of NFVerifyModel.verify: time 0.01755/1.628, allocations: 5.922 MB / 1.262 GB, free: 10.5 MB / 0.9517 GB Notification: Performance of NFConvertDAE.convert: time 0.03304/1.661, allocations: 14.4 MB / 1.277 GB, free: 120 kB / 0.9517 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/1.661, allocations: 0 / 1.277 GB, free: 120 kB / 0.9517 GB Notification: Performance of FrontEnd: time 1.503e-06/1.661, allocations: 0 / 1.277 GB, free: 120 kB / 0.9517 GB Notification: Performance of Transformations before backend: time 0.0006552/1.662, allocations: 0 / 1.277 GB, free: 120 kB / 0.9517 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.06513/1.727, allocations: 14.36 MB / 1.291 GB, free: 5.105 MB / 0.9673 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.727, allocations: 8.031 kB / 1.291 GB, free: 5.098 MB / 0.9673 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00982/1.737, allocations: 1.445 MB / 1.292 GB, free: 3.641 MB / 0.9673 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01987/1.757, allocations: 6.318 MB / 1.298 GB, free: 13.25 MB / 0.9829 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006316/1.758, allocations: 0.5849 MB / 1.299 GB, free: 12.67 MB / 0.9829 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/1.76, allocations: 0.7771 MB / 1.299 GB, free: 11.89 MB / 0.9829 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/1.781, allocations: 7.883 MB / 1.307 GB, free: 3.688 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/1.781, allocations: 19.81 kB / 1.307 GB, free: 3.668 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008074/1.782, allocations: 312 kB / 1.307 GB, free: 3.363 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001532/1.782, allocations: 188 kB / 1.308 GB, free: 3.18 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01916/1.802, allocations: 7.492 MB / 1.315 GB, free: 11.68 MB / 0.9985 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.1003/1.902, allocations: 48.86 MB / 1.363 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02054/1.923, allocations: 9.317 MB / 1.372 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008908/1.932, allocations: 3.542 MB / 1.375 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/1.933, allocations: 98.12 kB / 1.375 GB, free: 9.613 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/1.933, allocations: 120.7 kB / 1.375 GB, free: 9.484 MB / 1.061 GB Notification: Performance of pre-optimization done (n=787): time 3.259e-05/1.933, allocations: 3.828 kB / 1.375 GB, free: 9.484 MB / 1.061 GB Notification: Performance of matching and sorting (n=787): time 0.03339/1.966, allocations: 10.42 MB / 1.386 GB, free: 15.02 MB / 1.077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002208/1.967, allocations: 339.2 kB / 1.386 GB, free: 14.63 MB / 1.077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01843/1.985, allocations: 5.654 MB / 1.391 GB, free: 8.996 MB / 1.077 GB Notification: Performance of collectPreVariables (initialization): time 0.001861/1.987, allocations: 177.7 kB / 1.392 GB, free: 8.816 MB / 1.077 GB Notification: Performance of collectInitialEqns (initialization): time 0.004688/1.992, allocations: 3.563 MB / 1.395 GB, free: 5.223 MB / 1.077 GB Notification: Performance of collectInitialBindings (initialization): time 0.005119/1.997, allocations: 2.726 MB / 1.398 GB, free: 2.457 MB / 1.077 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006882/2.004, allocations: 1.553 MB / 1.399 GB, free: 0.8906 MB / 1.077 GB Notification: Performance of setup shared object (initialization): time 0.0001353/2.004, allocations: 301.1 kB / 1.4 GB, free: 0.5938 MB / 1.077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007953/2.012, allocations: 2.936 MB / 1.402 GB, free: 13.64 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01087/2.023, allocations: 4.744 MB / 1.407 GB, free: 8.234 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01793/2.041, allocations: 7.641 MB / 1.415 GB, free: 15.99 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-05/2.041, allocations: 12 kB / 1.415 GB, free: 15.98 MB / 1.108 GB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.0401/2.081, allocations: 12.42 MB / 1.427 GB, free: 3.477 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/2.081, allocations: 31.88 kB / 1.427 GB, free: 3.445 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.872e-05/2.081, allocations: 44 kB / 1.427 GB, free: 3.402 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02773/2.109, allocations: 5.505 MB / 1.432 GB, free: 13.83 MB / 1.124 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007917/2.117, allocations: 1.744 MB / 1.434 GB, free: 12.09 MB / 1.124 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08355/2.201, allocations: 53.96 MB / 1.487 GB, free: 3.254 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/2.212, allocations: 0.7784 MB / 1.487 GB, free: 2.469 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00193/2.214, allocations: 335.9 kB / 1.488 GB, free: 2.141 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01066/2.224, allocations: 3.799 MB / 1.491 GB, free: 14.33 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008492/2.233, allocations: 4.502 MB / 1.496 GB, free: 9.168 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01409/2.247, allocations: 7.309 MB / 1.503 GB, free: 1.258 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.684e-05/2.247, allocations: 12 kB / 1.503 GB, free: 1.246 MB / 1.186 GB Notification: Performance of matching and sorting (n=1195) (initialization_lambda0): time 0.03056/2.278, allocations: 10.74 MB / 1.513 GB, free: 6.43 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 7.959e-05/2.278, allocations: 26.97 kB / 1.513 GB, free: 6.406 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/2.278, allocations: 44 kB / 1.513 GB, free: 6.363 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02383/2.302, allocations: 4.416 MB / 1.518 GB, free: 1.891 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008402/2.31, allocations: 1.892 MB / 1.52 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05672/2.367, allocations: 43.42 MB / 1.562 GB, free: 1.977 MB / 1.249 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/2.378, allocations: 0.5929 MB / 1.563 GB, free: 1.379 MB / 1.249 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001872/2.38, allocations: 332 kB / 1.563 GB, free: 1.055 MB / 1.249 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 (949): * Single equations (assignments): 929 * 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.002396/2.382, allocations: 0.6839 MB / 1.564 GB, free: 368 kB / 1.249 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003197/2.386, allocations: 0.7953 MB / 1.564 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/2.404, allocations: 8.634 MB / 1.573 GB, free: 6.852 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001807/2.404, allocations: 39.84 kB / 1.573 GB, free: 6.812 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/2.404, allocations: 0 / 1.573 GB, free: 6.812 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007065/2.411, allocations: 1.646 MB / 1.574 GB, free: 5.137 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002837/2.414, allocations: 136 kB / 1.575 GB, free: 5.004 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00767/2.421, allocations: 239.7 kB / 1.575 GB, free: 4.77 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001737/2.423, allocations: 0.6183 MB / 1.575 GB, free: 4.148 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0224/2.446, allocations: 8.175 MB / 1.583 GB, free: 11.92 MB / 1.28 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 1.192/3.638, allocations: 42.37 MB / 1.625 GB, free: 379.5 MB / 1.28 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005805/3.644, allocations: 2.658 MB / 1.627 GB, free: 378.4 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.007517/3.652, allocations: 3.634 MB / 1.631 GB, free: 377 MB / 1.28 GB Notification: Performance of Backend: time 8.91e-07/3.652, allocations: 0 / 1.631 GB, free: 377 MB / 1.28 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created initialization part: time 0.05456/3.706, allocations: 22.06 MB / 1.652 GB, free: 366.8 MB / 1.28 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.05749/3.764, allocations: 26.17 MB / 1.678 GB, free: 353.4 MB / 1.28 GB Notification: Performance of Templates: time 0.288/4.052, allocations: 185.8 MB / 1.859 GB, free: 190.4 MB / 1.28 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 -s cvode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_1.pipe 2>&1)