Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_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.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 109.6 kB / 17.29 MB, free: 6.211 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.001381/0.001382, allocations: 197.9 kB / 18.21 MB, free: 5.289 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.401/1.401, allocations: 205.1 MB / 224.1 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06836/0.06836, allocations: 14.17 MB / 285.6 MB, free: 14.08 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.476/2.476, allocations: 418.6 MB / 0.7373 GB, free: 5.34 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.001848/0.001848, allocations: 86.73 kB / 0.9083 GB, free: 12.93 MB / 0.6548 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9944/0.9963, allocations: 160.9 MB / 1.065 GB, free: 12.19 MB / 0.7959 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.05252/1.049, allocations: 64.68 MB / 1.129 GB, free: 9.949 MB / 0.8428 GB Notification: Performance of NFInst.instExpressions: time 0.04213/1.091, allocations: 23.35 MB / 1.151 GB, free: 6.305 MB / 0.8584 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01365/1.105, allocations: 247.4 kB / 1.152 GB, free: 6.23 MB / 0.8584 GB Notification: Performance of NFTyping.typeComponents: time 0.01145/1.116, allocations: 2.805 MB / 1.154 GB, free: 4.055 MB / 0.8584 GB Notification: Performance of NFTyping.typeBindings: time 0.0274/1.144, allocations: 8.027 MB / 1.162 GB, free: 13.29 MB / 0.874 GB Notification: Performance of NFTyping.typeClassSections: time 0.009037/1.153, allocations: 3.006 MB / 1.165 GB, free: 10.78 MB / 0.874 GB Notification: Performance of NFFlatten.flatten: time 0.03088/1.184, allocations: 22.12 MB / 1.187 GB, free: 13.71 MB / 0.8896 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006868/1.19, allocations: 2.518 MB / 1.189 GB, free: 12.37 MB / 0.8896 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01414/1.205, allocations: 6.408 MB / 1.195 GB, free: 8.398 MB / 0.8896 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01326/1.218, allocations: 6.817 MB / 1.202 GB, free: 3.223 MB / 0.8896 GB Notification: Performance of NFPackage.collectConstants: time 0.003948/1.222, allocations: 0.8945 MB / 1.203 GB, free: 2.328 MB / 0.8896 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009182/1.231, allocations: 1.894 MB / 1.205 GB, free: 444 kB / 0.8896 GB Notification: Performance of NFScalarize.scalarize: time 0.003509/1.235, allocations: 2.061 MB / 1.207 GB, free: 14.36 MB / 0.9053 GB Notification: Performance of NFVerifyModel.verify: time 0.01478/1.249, allocations: 6.468 MB / 1.213 GB, free: 7.863 MB / 0.9053 GB Notification: Performance of NFConvertDAE.convert: time 0.02632/1.276, allocations: 15.19 MB / 1.228 GB, free: 8.629 MB / 0.9209 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.276, allocations: 0 / 1.228 GB, free: 8.629 MB / 0.9209 GB Notification: Performance of FrontEnd: time 1.603e-06/1.276, allocations: 0 / 1.228 GB, free: 8.629 MB / 0.9209 GB Notification: Performance of Transformations before backend: time 0.0005325/1.276, allocations: 0 / 1.228 GB, free: 8.629 MB / 0.9209 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.05569/1.332, allocations: 15.69 MB / 1.243 GB, free: 8.824 MB / 0.9365 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.332, allocations: 8.031 kB / 1.243 GB, free: 8.816 MB / 0.9365 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008616/1.341, allocations: 1.646 MB / 1.245 GB, free: 7.156 MB / 0.9365 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/1.357, allocations: 6.634 MB / 1.251 GB, free: 440 kB / 0.9365 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000742/1.358, allocations: 0.6575 MB / 1.252 GB, free: 15.77 MB / 0.9521 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003059/1.361, allocations: 0.871 MB / 1.253 GB, free: 14.89 MB / 0.9521 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02491/1.386, allocations: 8.973 MB / 1.262 GB, free: 5.516 MB / 0.9521 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004119/1.386, allocations: 23.81 kB / 1.262 GB, free: 5.492 MB / 0.9521 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00205/1.388, allocations: 356 kB / 1.262 GB, free: 5.145 MB / 0.9521 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/1.389, allocations: 216 kB / 1.262 GB, free: 4.934 MB / 0.9521 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/1.41, allocations: 8.511 MB / 1.271 GB, free: 12.4 MB / 0.9678 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.08427/1.494, allocations: 53.75 MB / 1.323 GB, free: 1.746 MB / 1.015 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02071/1.515, allocations: 10.67 MB / 1.333 GB, free: 7.031 MB / 1.03 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008391/1.524, allocations: 4.012 MB / 1.337 GB, free: 3.012 MB / 1.03 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008408/1.525, allocations: 107.1 kB / 1.337 GB, free: 2.906 MB / 1.03 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/1.525, allocations: 129.7 kB / 1.338 GB, free: 2.77 MB / 1.03 GB Notification: Performance of pre-optimization done (n=909): time 1.412e-05/1.525, allocations: 0 / 1.338 GB, free: 2.77 MB / 1.03 GB Notification: Performance of matching and sorting (n=911): time 0.05216/1.577, allocations: 20.41 MB / 1.358 GB, free: 14.28 MB / 1.062 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002032/1.577, allocations: 352.2 kB / 1.358 GB, free: 13.88 MB / 1.062 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/1.588, allocations: 5.786 MB / 1.363 GB, free: 8.137 MB / 1.062 GB Notification: Performance of collectPreVariables (initialization): time 0.001454/1.589, allocations: 193.7 kB / 1.364 GB, free: 7.941 MB / 1.062 GB Notification: Performance of collectInitialEqns (initialization): time 0.003679/1.593, allocations: 4.058 MB / 1.368 GB, free: 3.848 MB / 1.062 GB Notification: Performance of collectInitialBindings (initialization): time 0.004332/1.598, allocations: 3.145 MB / 1.371 GB, free: 0.6562 MB / 1.062 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005118/1.603, allocations: 1.733 MB / 1.372 GB, free: 14.91 MB / 1.077 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/1.603, allocations: 301.1 kB / 1.373 GB, free: 14.61 MB / 1.077 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007244/1.61, allocations: 3.28 MB / 1.376 GB, free: 11.32 MB / 1.077 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009128/1.619, allocations: 5.263 MB / 1.381 GB, free: 5.34 MB / 1.077 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01893/1.638, allocations: 8.596 MB / 1.389 GB, free: 12.02 MB / 1.093 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.902e-05/1.638, allocations: 12 kB / 1.389 GB, free: 12.01 MB / 1.093 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.04008/1.678, allocations: 13.88 MB / 1.403 GB, free: 13.99 MB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/1.678, allocations: 24.22 kB / 1.403 GB, free: 13.96 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.019e-05/1.679, allocations: 52 kB / 1.403 GB, free: 13.91 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0329/1.712, allocations: 6.23 MB / 1.409 GB, free: 7.613 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009159/1.721, allocations: 1.958 MB / 1.411 GB, free: 5.652 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08968/1.81, allocations: 57.94 MB / 1.468 GB, free: 8.848 MB / 1.171 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01134/1.822, allocations: 0.529 MB / 1.468 GB, free: 8.316 MB / 1.171 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001983/1.824, allocations: 372 kB / 1.469 GB, free: 7.953 MB / 1.171 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01135/1.835, allocations: 4.254 MB / 1.473 GB, free: 3.691 MB / 1.171 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008792/1.844, allocations: 5.032 MB / 1.478 GB, free: 13.93 MB / 1.187 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01598/1.86, allocations: 8.268 MB / 1.486 GB, free: 4.949 MB / 1.187 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.241e-05/1.86, allocations: 16 kB / 1.486 GB, free: 4.934 MB / 1.187 GB Notification: Performance of matching and sorting (n=1353) (initialization_lambda0): time 0.0366/1.897, allocations: 12.18 MB / 1.498 GB, free: 8.609 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 6.489e-05/1.897, allocations: 24.94 kB / 1.498 GB, free: 8.586 MB / 1.202 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.43e-05/1.897, allocations: 51.94 kB / 1.498 GB, free: 8.535 MB / 1.202 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0269/1.924, allocations: 5.148 MB / 1.503 GB, free: 3.328 MB / 1.202 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009013/1.933, allocations: 2.099 MB / 1.505 GB, free: 1.227 MB / 1.202 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5488/2.482, allocations: 47.53 MB / 1.551 GB, free: 364.1 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/2.492, allocations: 458.4 kB / 1.552 GB, free: 363.9 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/2.494, allocations: 370.3 kB / 1.552 GB, free: 363.8 MB / 1.218 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.00216/2.496, allocations: 0.7418 MB / 1.553 GB, free: 363.4 MB / 1.218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002741/2.499, allocations: 0.8967 MB / 1.554 GB, free: 363.4 MB / 1.218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02025/2.519, allocations: 10.01 MB / 1.563 GB, free: 359.2 MB / 1.218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001113/2.519, allocations: 45.2 kB / 1.563 GB, free: 359.2 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/2.519, allocations: 4.688 kB / 1.563 GB, free: 359.2 MB / 1.218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004285/2.523, allocations: 1.591 MB / 1.565 GB, free: 358.5 MB / 1.218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002111/2.525, allocations: 160.2 kB / 1.565 GB, free: 358.4 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006089/2.532, allocations: 358.7 kB / 1.565 GB, free: 358.3 MB / 1.218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001642/2.533, allocations: 0.7277 MB / 1.566 GB, free: 358.2 MB / 1.218 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02531/2.559, allocations: 9.41 MB / 1.575 GB, free: 354.9 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.09437/2.653, allocations: 46.8 MB / 1.621 GB, free: 330.4 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004402/2.657, allocations: 3.009 MB / 1.624 GB, free: 328.8 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.005336/2.663, allocations: 3.683 MB / 1.628 GB, free: 326.9 MB / 1.218 GB Notification: Performance of Backend: time 1.613e-06/2.663, allocations: 0 / 1.628 GB, free: 326.9 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: created initialization part: time 0.04505/2.708, allocations: 24.66 MB / 1.652 GB, free: 308.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.04578/2.754, allocations: 33.08 MB / 1.684 GB, free: 275.6 MB / 1.218 GB Notification: Performance of Templates: time 0.2961/3.05, allocations: 203.8 MB / 1.883 GB, free: 71.63 MB / 1.218 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 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)