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.001722/0.001722, allocations: 111.3 kB / 17.74 MB, free: 5.355 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.002074/0.002074, allocations: 188.8 kB / 18.67 MB, free: 4.43 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.731/1.731, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0637/0.0637, allocations: 14.17 MB / 286.1 MB, free: 13.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0/package.mo): time 3.526/3.526, 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.00237/0.00237, allocations: 86.91 kB / 1.067 GB, free: 6.73 MB / 0.7959 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4968, allocations: 160.9 MB / 1.224 GB, free: 9.039 MB / 0.9209 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.GridModelBuilders.Type1Sample_N_1_M_2): time 0.07432/0.5712, allocations: 63.82 MB / 1.287 GB, free: 8.969 MB / 0.9834 GB Notification: Performance of NFInst.instExpressions: time 0.05681/0.6281, allocations: 23.27 MB / 1.309 GB, free: 1.621 MB / 0.999 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02619/0.6543, allocations: 238.9 kB / 1.31 GB, free: 1.387 MB / 0.999 GB Notification: Performance of NFTyping.typeComponents: time 0.0173/0.6717, allocations: 3.317 MB / 1.313 GB, free: 14.05 MB / 1.015 GB Notification: Performance of NFTyping.typeBindings: time 0.04718/0.719, allocations: 8.854 MB / 1.322 GB, free: 5.172 MB / 1.015 GB Notification: Performance of NFTyping.typeClassSections: time 0.01521/0.7342, allocations: 3.269 MB / 1.325 GB, free: 1.898 MB / 1.015 GB Notification: Performance of NFFlatten.flatten: time 0.04468/0.7789, allocations: 21.26 MB / 1.345 GB, free: 12.57 MB / 1.046 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009659/0.7886, allocations: 2.515 MB / 1.348 GB, free: 9.977 MB / 1.046 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02024/0.8089, allocations: 7.153 MB / 1.355 GB, free: 2.797 MB / 1.046 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01992/0.8289, allocations: 7.567 MB / 1.362 GB, free: 11.2 MB / 1.062 GB Notification: Performance of NFPackage.collectConstants: time 0.006961/0.8359, allocations: 1.051 MB / 1.363 GB, free: 10.15 MB / 1.062 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01358/0.8496, allocations: 2.043 MB / 1.365 GB, free: 8.105 MB / 1.062 GB Notification: Performance of NFScalarize.scalarize: time 0.006919/0.8565, allocations: 2.311 MB / 1.368 GB, free: 5.785 MB / 1.062 GB Notification: Performance of NFVerifyModel.verify: time 0.02231/0.8789, allocations: 6.714 MB / 1.374 GB, free: 15.03 MB / 1.077 GB Notification: Performance of NFConvertDAE.convert: time 0.04505/0.924, allocations: 16.7 MB / 1.39 GB, free: 14.28 MB / 1.093 GB Notification: Performance of FrontEnd - DAE generated: time 1.275e-05/0.9241, allocations: 0 / 1.39 GB, free: 14.28 MB / 1.093 GB Notification: Performance of FrontEnd: time 3.286e-06/0.9241, allocations: 0 / 1.39 GB, free: 14.28 MB / 1.093 GB Notification: Performance of Transformations before backend: time 0.001091/0.9252, allocations: 0 / 1.39 GB, free: 14.28 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.07757/1.003, allocations: 16.24 MB / 1.406 GB, free: 13.92 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 9.267e-05/1.003, allocations: 8.031 kB / 1.406 GB, free: 13.91 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0125/1.015, allocations: 1.65 MB / 1.408 GB, free: 12.25 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02602/1.041, allocations: 7.075 MB / 1.415 GB, free: 5.078 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009482/1.042, allocations: 0.6496 MB / 1.415 GB, free: 4.426 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004041/1.047, allocations: 0.8748 MB / 1.416 GB, free: 3.551 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03181/1.078, allocations: 8.977 MB / 1.425 GB, free: 10.17 MB / 1.124 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002475/1.079, allocations: 19.81 kB / 1.425 GB, free: 10.15 MB / 1.124 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001916/1.081, allocations: 356 kB / 1.425 GB, free: 9.805 MB / 1.124 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/1.081, allocations: 212 kB / 1.426 GB, free: 9.594 MB / 1.124 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02581/1.107, allocations: 8.511 MB / 1.434 GB, free: 1.062 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.1207/1.227, allocations: 57.07 MB / 1.49 GB, free: 3.07 MB / 1.187 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/1.25, allocations: 10.65 MB / 1.5 GB, free: 8.379 MB / 1.202 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008778/1.258, allocations: 4.024 MB / 1.504 GB, free: 4.34 MB / 1.202 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/1.259, allocations: 115.1 kB / 1.504 GB, free: 4.227 MB / 1.202 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001193/1.259, allocations: 125.7 kB / 1.504 GB, free: 4.094 MB / 1.202 GB Notification: Performance of pre-optimization done (n=909): time 1.034e-05/1.259, allocations: 0 / 1.504 GB, free: 4.094 MB / 1.202 GB Notification: Performance of matching and sorting (n=909): time 0.02888/1.288, allocations: 12.01 MB / 1.516 GB, free: 8.066 MB / 1.218 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/1.288, allocations: 360.1 kB / 1.516 GB, free: 7.652 MB / 1.218 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0159/1.304, allocations: 6.309 MB / 1.523 GB, free: 1.391 MB / 1.218 GB Notification: Performance of collectPreVariables (initialization): time 0.002608/1.307, allocations: 193.7 kB / 1.523 GB, free: 1.195 MB / 1.218 GB Notification: Performance of collectInitialEqns (initialization): time 1.178/2.484, allocations: 4.027 MB / 1.527 GB, free: 265.7 MB / 1.218 GB Notification: Performance of collectInitialBindings (initialization): time 0.00659/2.491, allocations: 3.139 MB / 1.53 GB, free: 263.9 MB / 1.218 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004739/2.496, allocations: 1.739 MB / 1.531 GB, free: 263.8 MB / 1.218 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/2.496, allocations: 304.6 kB / 1.532 GB, free: 263.5 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01328/2.509, allocations: 3.272 MB / 1.535 GB, free: 263 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01601/2.525, allocations: 5.263 MB / 1.54 GB, free: 259.6 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02846/2.554, allocations: 8.593 MB / 1.548 GB, free: 254.2 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003174/2.554, allocations: 14.28 kB / 1.548 GB, free: 254.2 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization): time 0.0586/2.613, allocations: 13.89 MB / 1.562 GB, free: 248.8 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/2.613, allocations: 23.75 kB / 1.562 GB, free: 248.8 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/2.613, allocations: 47.5 kB / 1.562 GB, free: 248.8 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03083/2.644, allocations: 6.184 MB / 1.568 GB, free: 248.1 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009539/2.654, allocations: 1.945 MB / 1.57 GB, free: 247.9 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09009/2.744, allocations: 58.03 MB / 1.627 GB, free: 203.4 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01449/2.758, allocations: 0.8442 MB / 1.627 GB, free: 202.5 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002348/2.761, allocations: 376 kB / 1.628 GB, free: 202.2 MB / 1.218 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01317/2.774, allocations: 4.254 MB / 1.632 GB, free: 197.9 MB / 1.218 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008578/2.783, allocations: 5.036 MB / 1.637 GB, free: 192.1 MB / 1.218 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01411/2.797, allocations: 8.252 MB / 1.645 GB, free: 183.2 MB / 1.218 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.075e-05/2.797, allocations: 16 kB / 1.645 GB, free: 183.2 MB / 1.218 GB Notification: Performance of matching and sorting (n=1351) (initialization_lambda0): time 0.03828/2.835, allocations: 12.2 MB / 1.657 GB, free: 170.8 MB / 1.218 GB Notification: Performance of prepare postOptimizeDAE: time 9.567e-05/2.835, allocations: 29.86 kB / 1.657 GB, free: 170.8 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/2.835, allocations: 47.94 kB / 1.657 GB, free: 170.8 MB / 1.218 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02443/2.86, allocations: 5.111 MB / 1.662 GB, free: 165.6 MB / 1.218 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009448/2.869, allocations: 2.087 MB / 1.664 GB, free: 163.5 MB / 1.218 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06276/2.932, allocations: 47.56 MB / 1.71 GB, free: 113.4 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01458/2.947, allocations: 0.6511 MB / 1.711 GB, free: 112.7 MB / 1.218 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/2.949, allocations: 376 kB / 1.711 GB, free: 112.4 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.005286/2.955, allocations: 0.7422 MB / 1.712 GB, free: 111.6 MB / 1.218 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005357/2.96, allocations: 0.8993 MB / 1.713 GB, free: 110.7 MB / 1.218 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02221/2.982, allocations: 9.96 MB / 1.723 GB, free: 100.7 MB / 1.218 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003098/2.983, allocations: 43.83 kB / 1.723 GB, free: 100.7 MB / 1.218 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/2.983, allocations: 0 / 1.723 GB, free: 100.7 MB / 1.218 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009647/2.992, allocations: 1.859 MB / 1.725 GB, free: 98.78 MB / 1.218 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004419/2.997, allocations: 152 kB / 1.725 GB, free: 98.63 MB / 1.218 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01095/3.008, allocations: 275.6 kB / 1.725 GB, free: 98.36 MB / 1.218 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002764/3.011, allocations: 0.7206 MB / 1.726 GB, free: 97.64 MB / 1.218 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03109/3.042, allocations: 9.358 MB / 1.735 GB, free: 88.45 MB / 1.218 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1492/3.191, allocations: 47.53 MB / 1.781 GB, free: 40.63 MB / 1.218 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007019/3.198, allocations: 3.004 MB / 1.784 GB, free: 37.62 MB / 1.218 GB Notification: Performance of sorting global known variables: time 0.0115/3.21, allocations: 4.07 MB / 1.788 GB, free: 33.59 MB / 1.218 GB Notification: Performance of Backend: time 3.687e-06/3.21, allocations: 0 / 1.788 GB, free: 33.59 MB / 1.218 GB Notification: Performance of simCode: created initialization part: time 0.08024/3.29, allocations: 24.71 MB / 1.812 GB, free: 8.43 MB / 1.218 GB Notification: Performance of SimCode: time 0.07174/3.362, allocations: 29.89 MB / 1.842 GB, free: 10.39 MB / 1.249 GB Notification: Performance of Templates: time 0.4489/3.811, allocations: 216.5 MB / 2.053 GB, free: 1.746 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)