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.3/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.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.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.001385/0.001385, allocations: 116.3 kB / 17.74 MB, free: 5.359 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.001151/0.001151, allocations: 183.8 kB / 18.67 MB, free: 4.434 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.308/1.308, allocations: 205.1 MB / 224.5 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.08781/0.08781, allocations: 14.18 MB / 286.1 MB, free: 13.87 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 2.45/2.45, allocations: 418.6 MB / 0.7378 GB, free: 5.145 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: 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.001955/0.001954, allocations: 90.12 kB / 1.067 GB, free: 6.727 MB / 0.7959 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 160.9 MB / 1.224 GB, free: 9.047 MB / 0.9209 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.05751/0.3862, allocations: 63.82 MB / 1.287 GB, free: 8.98 MB / 0.9834 GB Notification: Performance of NFInst.instExpressions: time 0.04383/0.4301, allocations: 23.27 MB / 1.309 GB, free: 1.629 MB / 0.999 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01284/0.4429, allocations: 234.9 kB / 1.31 GB, free: 1.398 MB / 0.999 GB Notification: Performance of NFTyping.typeComponents: time 0.0119/0.4549, allocations: 3.329 MB / 1.313 GB, free: 14.04 MB / 1.015 GB Notification: Performance of NFTyping.typeBindings: time 0.031/0.486, allocations: 9.398 MB / 1.322 GB, free: 4.625 MB / 1.015 GB Notification: Performance of NFTyping.typeClassSections: time 0.00988/0.4959, allocations: 3.272 MB / 1.325 GB, free: 1.352 MB / 1.015 GB Notification: Performance of NFFlatten.flatten: time 0.02957/0.5254, allocations: 21.26 MB / 1.346 GB, free: 12.02 MB / 1.046 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007009/0.5325, allocations: 2.522 MB / 1.348 GB, free: 9.418 MB / 1.046 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01429/0.5468, allocations: 7.142 MB / 1.355 GB, free: 2.25 MB / 1.046 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01343/0.5603, allocations: 7.571 MB / 1.363 GB, free: 10.65 MB / 1.062 GB Notification: Performance of NFPackage.collectConstants: time 0.004714/0.565, allocations: 1.047 MB / 1.364 GB, free: 9.602 MB / 1.062 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01044/0.5755, allocations: 2.047 MB / 1.366 GB, free: 7.555 MB / 1.062 GB Notification: Performance of NFScalarize.scalarize: time 0.004426/0.5799, allocations: 2.315 MB / 1.368 GB, free: 5.23 MB / 1.062 GB Notification: Performance of NFVerifyModel.verify: time 0.01902/0.599, allocations: 6.714 MB / 1.375 GB, free: 14.48 MB / 1.077 GB Notification: Performance of NFConvertDAE.convert: time 0.037/0.636, allocations: 16.7 MB / 1.391 GB, free: 13.73 MB / 1.093 GB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.6361, allocations: 0 / 1.391 GB, free: 13.73 MB / 1.093 GB Notification: Performance of FrontEnd: time 3.487e-06/0.6361, allocations: 0 / 1.391 GB, free: 13.73 MB / 1.093 GB Notification: Performance of Transformations before backend: time 0.0009438/0.6371, allocations: 0 / 1.391 GB, free: 13.73 MB / 1.093 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.06798/0.7051, allocations: 16.25 MB / 1.407 GB, free: 13.37 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.7051, allocations: 8.031 kB / 1.407 GB, free: 13.36 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007718/0.7129, allocations: 1.642 MB / 1.408 GB, free: 11.71 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01636/0.7293, allocations: 7.075 MB / 1.415 GB, free: 4.535 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005062/0.7298, allocations: 0.6613 MB / 1.416 GB, free: 3.871 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002007/0.7318, allocations: 0.867 MB / 1.417 GB, free: 3.004 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01759/0.7494, allocations: 8.973 MB / 1.426 GB, free: 9.629 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002454/0.7497, allocations: 23.8 kB / 1.426 GB, free: 9.602 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00117/0.7509, allocations: 356 kB / 1.426 GB, free: 9.254 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002449/0.7511, allocations: 212 kB / 1.426 GB, free: 9.047 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.7699, allocations: 8.511 MB / 1.435 GB, free: 0.5156 MB / 1.124 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.1015/0.8714, allocations: 57.06 MB / 1.49 GB, free: 2.531 MB / 1.187 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/0.8908, allocations: 10.67 MB / 1.501 GB, free: 7.824 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007555/0.8984, allocations: 4.024 MB / 1.505 GB, free: 3.785 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005321/0.899, allocations: 103.1 kB / 1.505 GB, free: 3.684 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.8991, allocations: 133.7 kB / 1.505 GB, free: 3.543 MB / 1.202 GB Notification: Performance of pre-optimization done (n=909): time 1.402e-05/0.8991, allocations: 0 / 1.505 GB, free: 3.543 MB / 1.202 GB Notification: Performance of matching and sorting (n=909): time 0.02671/0.9258, allocations: 12 MB / 1.517 GB, free: 7.52 MB / 1.218 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.9261, allocations: 352.2 kB / 1.517 GB, free: 7.113 MB / 1.218 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01236/0.9384, allocations: 6.317 MB / 1.523 GB, free: 0.8438 MB / 1.218 GB Notification: Performance of collectPreVariables (initialization): time 0.002019/0.9405, allocations: 189.7 kB / 1.523 GB, free: 0.6523 MB / 1.218 GB Notification: Performance of collectInitialEqns (initialization): time 0.7259/1.666, allocations: 4.028 MB / 1.527 GB, free: 266.1 MB / 1.218 GB Notification: Performance of collectInitialBindings (initialization): time 0.005369/1.672, allocations: 3.145 MB / 1.53 GB, free: 264.2 MB / 1.218 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004655/1.677, allocations: 1.733 MB / 1.532 GB, free: 264.1 MB / 1.218 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/1.677, allocations: 306.1 kB / 1.532 GB, free: 263.8 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008795/1.685, allocations: 3.272 MB / 1.535 GB, free: 262.7 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0124/1.698, allocations: 5.265 MB / 1.541 GB, free: 259.3 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0236/1.721, allocations: 8.593 MB / 1.549 GB, free: 253.9 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002735/1.722, allocations: 14.25 kB / 1.549 GB, free: 253.9 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.05422/1.776, allocations: 13.89 MB / 1.563 GB, free: 248.5 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 6.841e-05/1.776, allocations: 27.59 kB / 1.563 GB, free: 248.5 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.788e-05/1.776, allocations: 47.47 kB / 1.563 GB, free: 248.5 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0301/1.806, allocations: 6.181 MB / 1.569 GB, free: 247.8 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008368/1.815, allocations: 1.945 MB / 1.571 GB, free: 247.6 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07138/1.886, allocations: 58.01 MB / 1.627 GB, free: 202.7 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01318/1.899, allocations: 0.8481 MB / 1.628 GB, free: 201.8 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002407/1.902, allocations: 376 kB / 1.628 GB, free: 201.4 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0107/1.913, allocations: 4.258 MB / 1.633 GB, free: 197.2 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007321/1.92, allocations: 5.022 MB / 1.637 GB, free: 191.4 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01323/1.933, allocations: 8.268 MB / 1.646 GB, free: 182.4 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.021e-05/1.933, allocations: 16 kB / 1.646 GB, free: 182.4 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.0254/1.959, allocations: 12.2 MB / 1.657 GB, free: 170.1 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/1.959, allocations: 27.44 kB / 1.657 GB, free: 170.1 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.856e-05/1.959, allocations: 51.98 kB / 1.658 GB, free: 170 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02382/1.983, allocations: 5.106 MB / 1.663 GB, free: 164.9 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009714/1.993, allocations: 2.091 MB / 1.665 GB, free: 162.8 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05097/2.044, allocations: 47.56 MB / 1.711 GB, free: 112.7 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/2.056, allocations: 0.6549 MB / 1.712 GB, free: 112 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00188/2.058, allocations: 372 kB / 1.712 GB, free: 111.7 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 (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.002173/2.06, allocations: 0.7462 MB / 1.713 GB, free: 110.9 MB / 1.218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003303/2.063, allocations: 0.8993 MB / 1.714 GB, free: 110 MB / 1.218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0172/2.08, allocations: 9.96 MB / 1.723 GB, free: 99.99 MB / 1.218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001389/2.081, allocations: 43.83 kB / 1.723 GB, free: 99.95 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.626e-05/2.081, allocations: 0 / 1.723 GB, free: 99.95 MB / 1.218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006904/2.088, allocations: 1.863 MB / 1.725 GB, free: 98.05 MB / 1.218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002826/2.09, allocations: 152 kB / 1.725 GB, free: 97.9 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008466/2.099, allocations: 272.3 kB / 1.726 GB, free: 97.64 MB / 1.218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001236/2.1, allocations: 0.7167 MB / 1.726 GB, free: 96.92 MB / 1.218 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02141/2.122, allocations: 9.362 MB / 1.735 GB, free: 87.73 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.08721/2.209, allocations: 47.54 MB / 1.782 GB, free: 39.91 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004847/2.214, allocations: 3 MB / 1.785 GB, free: 36.9 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.006038/2.22, allocations: 4.066 MB / 1.789 GB, free: 32.88 MB / 1.218 GB Notification: Performance of Backend: time 7.62e-07/2.22, allocations: 3.062 kB / 1.789 GB, free: 32.88 MB / 1.218 GB Notification: Performance of simCode: created initialization part: time 0.05168/2.272, allocations: 24.7 MB / 1.813 GB, free: 7.711 MB / 1.218 GB Notification: Performance of SimCode: time 0.05725/2.329, allocations: 29.88 MB / 1.842 GB, free: 9.688 MB / 1.249 GB Notification: Performance of Templates: time 0.3719/2.701, allocations: 216.5 MB / 2.054 GB, free: 1.023 MB / 1.452 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)