Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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-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.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.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2") translateModel(ScalableTestGrids.Models.Type1.Type1_N_1_M_2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_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.001366/0.001366, allocations: 97.73 kB / 16.95 MB, free: 5.625 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.001755/0.001755, allocations: 185.2 kB / 17.84 MB, free: 5.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 224 MB, free: 12.95 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05828/0.05828, allocations: 14.16 MB / 286.4 MB, free: 14.06 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 5.147/5.147, allocations: 463.5 MB / 0.783 GB, free: 108.5 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: Performance of FrontEnd - loaded program: time 0.0006805/0.0006809, allocations: 16.77 kB / 0.9684 GB, free: 368 kB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615/1.616, allocations: 176.1 MB / 1.14 GB, free: 25.43 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type1.Type1_N_1_M_2): time 0.06051/1.677, allocations: 52.86 MB / 1.192 GB, free: 2.328 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.05909/1.736, allocations: 22.15 MB / 1.214 GB, free: 15.9 MB / 0.9204 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02274/1.759, allocations: 228.9 kB / 1.214 GB, free: 15.82 MB / 0.9204 GB Notification: Performance of NFTyping.typeComponents: time 0.01743/1.776, allocations: 2.22 MB / 1.216 GB, free: 13.89 MB / 0.9204 GB Notification: Performance of NFTyping.typeBindings: time 0.04698/1.823, allocations: 7.951 MB / 1.224 GB, free: 7.336 MB / 0.9204 GB Notification: Performance of NFTyping.typeClassSections: time 0.01246/1.836, allocations: 2.209 MB / 1.226 GB, free: 5.629 MB / 0.9204 GB Notification: Performance of NFFlatten.flatten: time 0.04939/1.885, allocations: 14.47 MB / 1.24 GB, free: 12.47 MB / 0.936 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01042/1.896, allocations: 1.921 MB / 1.242 GB, free: 11.52 MB / 0.936 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02316/1.919, allocations: 5.444 MB / 1.247 GB, free: 8.18 MB / 0.936 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01984/1.939, allocations: 5.621 MB / 1.253 GB, free: 4.629 MB / 0.936 GB Notification: Performance of NFPackage.collectConstants: time 0.005734/1.945, allocations: 340.2 kB / 1.253 GB, free: 4.629 MB / 0.936 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01495/1.96, allocations: 1.123 MB / 1.254 GB, free: 4.461 MB / 0.936 GB Notification: Performance of NFScalarize.scalarize: time 0.007176/1.967, allocations: 1.386 MB / 1.255 GB, free: 3.328 MB / 0.936 GB Notification: Performance of NFVerifyModel.verify: time 0.01508/1.982, allocations: 2.172 MB / 1.258 GB, free: 2.121 MB / 0.936 GB Notification: Performance of NFConvertDAE.convert: time 0.0362/2.018, allocations: 11.48 MB / 1.269 GB, free: 9.645 MB / 0.9517 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/2.018, allocations: 1.438 kB / 1.269 GB, free: 9.645 MB / 0.9517 GB Notification: Performance of FrontEnd: time 6.983e-06/2.018, allocations: 0 / 1.269 GB, free: 9.645 MB / 0.9517 GB Notification: Performance of Transformations before backend: time 0.001189/2.02, allocations: 0 / 1.269 GB, free: 9.645 MB / 0.9517 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.07268/2.092, allocations: 13.73 MB / 1.282 GB, free: 0.9141 MB / 0.9517 GB Notification: Performance of prepare preOptimizeDAE: time 8.792e-05/2.092, allocations: 8.031 kB / 1.282 GB, free: 0.9062 MB / 0.9517 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/2.106, allocations: 1.657 MB / 1.284 GB, free: 15.23 MB / 0.9673 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02978/2.136, allocations: 6.385 MB / 1.29 GB, free: 8.762 MB / 0.9673 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001391/2.137, allocations: 0.6535 MB / 1.291 GB, free: 8.105 MB / 0.9673 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005099/2.143, allocations: 0.8632 MB / 1.292 GB, free: 7.242 MB / 0.9673 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03818/2.181, allocations: 8.906 MB / 1.3 GB, free: 13.93 MB / 0.9829 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007259/2.182, allocations: 15.88 kB / 1.3 GB, free: 13.91 MB / 0.9829 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003768/2.185, allocations: 356 kB / 1.301 GB, free: 13.57 MB / 0.9829 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002765/2.186, allocations: 216 kB / 1.301 GB, free: 13.36 MB / 0.9829 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03131/2.217, allocations: 8.57 MB / 1.309 GB, free: 4.766 MB / 0.9829 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.1243/2.341, allocations: 53.9 MB / 1.362 GB, free: 9.953 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02913/2.371, allocations: 10.73 MB / 1.372 GB, free: 15.19 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/2.372, allocations: 119 kB / 1.372 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003181/2.373, allocations: 129.6 kB / 1.373 GB, free: 14.93 MB / 1.061 GB Notification: Performance of pre-optimization done (n=909): time 3.072e-05/2.373, allocations: 0 / 1.373 GB, free: 14.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=911): time 0.08662/2.459, allocations: 20.52 MB / 1.393 GB, free: 10.34 MB / 1.077 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003207/2.46, allocations: 360.1 kB / 1.393 GB, free: 9.93 MB / 1.077 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01827/2.478, allocations: 5.724 MB / 1.398 GB, free: 4.254 MB / 1.077 GB Notification: Performance of collectPreVariables (initialization): time 0.002853/2.481, allocations: 193.7 kB / 1.399 GB, free: 4.059 MB / 1.077 GB Notification: Performance of collectInitialEqns (initialization): time 0.005871/2.487, allocations: 4.055 MB / 1.403 GB, free: 15.96 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.006876/2.494, allocations: 3.149 MB / 1.406 GB, free: 12.77 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001469/2.495, allocations: 208 kB / 1.406 GB, free: 12.57 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0008936/2.496, allocations: 0.6934 MB / 1.407 GB, free: 11.87 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008394/2.505, allocations: 3.25 MB / 1.41 GB, free: 8.613 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/2.518, allocations: 5.239 MB / 1.415 GB, free: 2.648 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/2.533, allocations: 3.994 MB / 1.419 GB, free: 14.62 MB / 1.108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/2.534, allocations: 19.94 kB / 1.419 GB, free: 14.6 MB / 1.108 GB Notification: Performance of matching and sorting (n=1353) (initialization): time 0.05911/2.593, allocations: 14.27 MB / 1.433 GB, free: 192 kB / 1.108 GB Notification: Performance of prepare postOptimizeDAE: time 0.01517/2.608, allocations: 23.82 MB / 1.456 GB, free: 6.84 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002797/2.608, allocations: 47.98 kB / 1.456 GB, free: 6.793 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03058/2.639, allocations: 5.912 MB / 1.462 GB, free: 0.8086 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/2.65, allocations: 1.958 MB / 1.464 GB, free: 14.85 MB / 1.155 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09213/2.742, allocations: 55.97 MB / 1.518 GB, free: 4.168 MB / 1.202 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01458/2.757, allocations: 0.5603 MB / 1.519 GB, free: 3.605 MB / 1.202 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002496/2.759, allocations: 376 kB / 1.519 GB, free: 3.238 MB / 1.202 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/2.759, allocations: 4 kB / 1.519 GB, free: 3.234 MB / 1.202 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02551/2.785, allocations: 11.32 MB / 1.53 GB, free: 7.797 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/2.785, allocations: 48 kB / 1.53 GB, free: 7.75 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02452/2.81, allocations: 5.005 MB / 1.535 GB, free: 2.688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/2.821, allocations: 2.099 MB / 1.537 GB, free: 0.5859 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06662/2.887, allocations: 44.68 MB / 1.581 GB, free: 1.48 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01254/2.9, allocations: 450 kB / 1.581 GB, free: 1.039 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002715/2.903, allocations: 368 kB / 1.582 GB, free: 0.6797 MB / 1.264 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 (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0,(2,100.0%) 0,(2,100.0%) 0,(3,66.7%) 0,(3,66.7%) 0} * Non-linear torn systems: 12 {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.009335/2.912, allocations: 1.72 MB / 1.583 GB, free: 14.95 MB / 1.28 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004223/2.916, allocations: 0.9032 MB / 1.584 GB, free: 14.04 MB / 1.28 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02387/2.94, allocations: 10.05 MB / 1.594 GB, free: 3.953 MB / 1.28 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003509/2.94, allocations: 39.84 kB / 1.594 GB, free: 3.914 MB / 1.28 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-05/2.941, allocations: 0 / 1.594 GB, free: 3.914 MB / 1.28 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009149/2.95, allocations: 1.583 MB / 1.596 GB, free: 2.301 MB / 1.28 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00543/2.955, allocations: 164 kB / 1.596 GB, free: 2.141 MB / 1.28 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01137/2.967, allocations: 394.2 kB / 1.596 GB, free: 1.754 MB / 1.28 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003254/2.97, allocations: 0.7206 MB / 1.597 GB, free: 1.031 MB / 1.28 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 1.494/4.464, allocations: 9.614 MB / 1.606 GB, free: 382.5 MB / 1.28 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0283/4.492, allocations: 10.96 MB / 1.617 GB, free: 380.8 MB / 1.28 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008962/4.501, allocations: 3.034 MB / 1.62 GB, free: 379.5 MB / 1.28 GB Notification: Performance of sorting global known variables: time 0.01111/4.512, allocations: 3.616 MB / 1.623 GB, free: 378.2 MB / 1.28 GB Notification: Performance of Backend: time 1.613e-06/4.512, allocations: 0 / 1.623 GB, free: 378.2 MB / 1.28 GB Notification: Performance of simCode: created initialization part: time 0.07002/4.582, allocations: 24.01 MB / 1.647 GB, free: 367.5 MB / 1.28 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of SimCode: time 0.05725/4.64, allocations: 25.04 MB / 1.671 GB, free: 351.9 MB / 1.28 GB Notification: Performance of Templates: time 0.3316/4.971, allocations: 168.4 MB / 1.836 GB, free: 207.4 MB / 1.28 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.makefile Environment - environmentSimulation: (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2 -nls=kinsol -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type1.Type1_N_1_M_2.pipe 2>&1) Environment - environmentSimulation: