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-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.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.0009914/0.0009913, allocations: 107.8 kB / 18.37 MB, free: 4.637 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.0009445/0.0009445, allocations: 191 kB / 19.3 MB, free: 3.707 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.245/1.245, allocations: 205.1 MB / 225.2 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.06096/0.06096, allocations: 14.16 MB / 286.7 MB, free: 13.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.014/3.014, 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.002066/0.002066, allocations: 83.86 kB / 0.963 GB, free: 2.016 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089/1.091, allocations: 172.1 MB / 1.131 GB, free: 28.9 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.04817/1.139, allocations: 63.83 MB / 1.193 GB, free: 12.4 MB / 0.9048 GB Notification: Performance of NFInst.instExpressions: time 0.0437/1.183, allocations: 23.28 MB / 1.216 GB, free: 8.766 MB / 0.9204 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01491/1.198, allocations: 238.6 kB / 1.216 GB, free: 8.695 MB / 0.9204 GB Notification: Performance of NFTyping.typeComponents: time 0.01228/1.21, allocations: 3.309 MB / 1.22 GB, free: 6.008 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.03086/1.241, allocations: 8.877 MB / 1.228 GB, free: 14.42 MB / 0.936 GB Notification: Performance of NFTyping.typeClassSections: time 0.009705/1.251, allocations: 3.259 MB / 1.231 GB, free: 11.66 MB / 0.936 GB Notification: Performance of NFFlatten.flatten: time 0.03443/1.286, allocations: 21.24 MB / 1.252 GB, free: 14.45 MB / 0.9517 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007724/1.293, allocations: 2.518 MB / 1.255 GB, free: 13.12 MB / 0.9517 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01547/1.309, allocations: 6.998 MB / 1.261 GB, free: 8.766 MB / 0.9517 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01548/1.324, allocations: 7.566 MB / 1.269 GB, free: 3.535 MB / 0.9517 GB Notification: Performance of NFPackage.collectConstants: time 0.005099/1.329, allocations: 1.047 MB / 1.27 GB, free: 3.535 MB / 0.9517 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/1.34, allocations: 2.046 MB / 1.272 GB, free: 3.332 MB / 0.9517 GB Notification: Performance of NFScalarize.scalarize: time 0.004344/1.344, allocations: 2.312 MB / 1.274 GB, free: 1.277 MB / 0.9517 GB Notification: Performance of NFVerifyModel.verify: time 0.01678/1.361, allocations: 6.711 MB / 1.281 GB, free: 12.44 MB / 0.9673 GB Notification: Performance of NFConvertDAE.convert: time 0.02762/1.389, allocations: 16.15 MB / 1.296 GB, free: 15.05 MB / 0.9829 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.389, allocations: 0 / 1.296 GB, free: 15.05 MB / 0.9829 GB Notification: Performance of FrontEnd: time 2.034e-06/1.389, allocations: 0 / 1.296 GB, free: 15.05 MB / 0.9829 GB Notification: Performance of Transformations before backend: time 0.000585/1.389, allocations: 4 kB / 1.296 GB, free: 15.05 MB / 0.9829 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.05975/1.449, allocations: 16.35 MB / 1.312 GB, free: 14.57 MB / 0.9985 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.449, allocations: 8.031 kB / 1.312 GB, free: 14.56 MB / 0.9985 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008213/1.457, allocations: 1.646 MB / 1.314 GB, free: 12.9 MB / 0.9985 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/1.475, allocations: 7.083 MB / 1.321 GB, free: 5.73 MB / 0.9985 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005606/1.476, allocations: 0.6535 MB / 1.322 GB, free: 5.074 MB / 0.9985 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/1.478, allocations: 0.867 MB / 1.322 GB, free: 4.207 MB / 0.9985 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/1.493, allocations: 8.981 MB / 1.331 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001333/1.493, allocations: 19.81 kB / 1.331 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006198/1.494, allocations: 352 kB / 1.332 GB, free: 10.46 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001332/1.494, allocations: 212 kB / 1.332 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01549/1.509, allocations: 8.519 MB / 1.34 GB, free: 1.715 MB / 1.014 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.08765/1.597, allocations: 57.06 MB / 1.396 GB, free: 3.727 MB / 1.077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01757/1.615, allocations: 10.67 MB / 1.406 GB, free: 9.016 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006614/1.621, allocations: 4.008 MB / 1.41 GB, free: 4.996 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005859/1.622, allocations: 107.1 kB / 1.41 GB, free: 4.891 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000111/1.622, allocations: 129.7 kB / 1.41 GB, free: 4.754 MB / 1.092 GB Notification: Performance of pre-optimization done (n=909): time 2.144e-05/1.622, allocations: 3.938 kB / 1.41 GB, free: 4.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=909): time 0.02477/1.647, allocations: 12.01 MB / 1.422 GB, free: 8.711 MB / 1.108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001633/1.647, allocations: 352.2 kB / 1.422 GB, free: 8.305 MB / 1.108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01252/1.66, allocations: 6.313 MB / 1.429 GB, free: 2.039 MB / 1.108 GB Notification: Performance of collectPreVariables (initialization): time 0.001121/1.661, allocations: 189.7 kB / 1.429 GB, free: 1.848 MB / 1.108 GB Notification: Performance of collectInitialEqns (initialization): time 0.003557/1.664, allocations: 4.038 MB / 1.433 GB, free: 13.77 MB / 1.124 GB Notification: Performance of collectInitialBindings (initialization): time 0.00383/1.668, allocations: 3.142 MB / 1.436 GB, free: 10.59 MB / 1.124 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004151/1.672, allocations: 1.737 MB / 1.438 GB, free: 8.84 MB / 1.124 GB Notification: Performance of setup shared object (initialization): time 8.665e-05/1.672, allocations: 305.1 kB / 1.438 GB, free: 8.539 MB / 1.124 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0062/1.679, allocations: 3.276 MB / 1.441 GB, free: 5.254 MB / 1.124 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007453/1.686, allocations: 5.27 MB / 1.446 GB, free: 15.26 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/1.7, allocations: 8.58 MB / 1.455 GB, free: 5.961 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.451e-05/1.7, allocations: 12 kB / 1.455 GB, free: 5.949 MB / 1.139 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.03444/1.735, allocations: 13.89 MB / 1.468 GB, free: 7.914 MB / 1.155 GB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/1.735, allocations: 24 kB / 1.468 GB, free: 7.891 MB / 1.155 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.122e-05/1.735, allocations: 48 kB / 1.468 GB, free: 7.844 MB / 1.155 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02879/1.764, allocations: 6.196 MB / 1.474 GB, free: 1.578 MB / 1.155 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007992/1.772, allocations: 1.946 MB / 1.476 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.084/1.856, allocations: 58.01 MB / 1.533 GB, free: 2.75 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01128/1.867, allocations: 0.8559 MB / 1.534 GB, free: 1.887 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.869, allocations: 376 kB / 1.534 GB, free: 1.52 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01145/1.88, allocations: 4.258 MB / 1.538 GB, free: 13.25 MB / 1.233 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008735/1.889, allocations: 5.024 MB / 1.543 GB, free: 7.496 MB / 1.233 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01693/1.906, allocations: 8.264 MB / 1.551 GB, free: 14.51 MB / 1.249 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.217e-05/1.906, allocations: 12 kB / 1.551 GB, free: 14.5 MB / 1.249 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.03321/1.939, allocations: 12.19 MB / 1.563 GB, free: 2.168 MB / 1.249 GB Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/1.94, allocations: 24.78 kB / 1.563 GB, free: 2.145 MB / 1.249 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.863e-05/1.94, allocations: 52.16 kB / 1.563 GB, free: 2.094 MB / 1.249 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02484/1.965, allocations: 5.113 MB / 1.568 GB, free: 12.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008922/1.973, allocations: 2.091 MB / 1.57 GB, free: 10.83 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1/2.973, allocations: 47.57 MB / 1.617 GB, free: 345.7 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0105/2.984, allocations: 0.6568 MB / 1.617 GB, free: 345.5 MB / 1.265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001613/2.986, allocations: 372.1 kB / 1.618 GB, free: 345.4 MB / 1.265 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.001764/2.987, allocations: 0.7434 MB / 1.618 GB, free: 344.9 MB / 1.265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002976/2.99, allocations: 0.899 MB / 1.619 GB, free: 344.9 MB / 1.265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02314/3.014, allocations: 9.961 MB / 1.629 GB, free: 340.6 MB / 1.265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002204/3.014, allocations: 47.91 kB / 1.629 GB, free: 340.6 MB / 1.265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/3.014, allocations: 1.406 kB / 1.629 GB, free: 340.6 MB / 1.265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006469/3.02, allocations: 1.857 MB / 1.631 GB, free: 339.4 MB / 1.265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00289/3.023, allocations: 155 kB / 1.631 GB, free: 339.3 MB / 1.265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008167/3.031, allocations: 272.7 kB / 1.631 GB, free: 339.2 MB / 1.265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001479/3.033, allocations: 0.7217 MB / 1.632 GB, free: 339.1 MB / 1.265 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02068/3.054, allocations: 9.349 MB / 1.641 GB, free: 335.8 MB / 1.265 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1031/3.157, allocations: 47.54 MB / 1.687 GB, free: 312.5 MB / 1.265 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005717/3.162, allocations: 3.001 MB / 1.69 GB, free: 311.1 MB / 1.265 GB Notification: Performance of sorting global known variables: time 0.0086/3.171, allocations: 4.064 MB / 1.694 GB, free: 309 MB / 1.265 GB Notification: Performance of Backend: time 4.41e-07/3.171, allocations: 3.969 kB / 1.694 GB, free: 309 MB / 1.265 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.05105/3.222, allocations: 24.69 MB / 1.718 GB, free: 294.5 MB / 1.265 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.05126/3.273, allocations: 29.92 MB / 1.748 GB, free: 268.3 MB / 1.265 GB Notification: Performance of Templates: time 0.2926/3.566, allocations: 212.2 MB / 1.955 GB, free: 56.02 MB / 1.265 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 -s gbode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2.pipe 2>&1)