Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.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.Models.Type0.Type0_N_1_M_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1") translateModel(ScalableTestGrids.Models.Type0.Type0_N_1_M_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 107.8 kB / 18.37 MB, free: 4.77 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.001106/0.001107, allocations: 191 kB / 19.3 MB, free: 3.84 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.429/1.429, 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.06277/0.06277, 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.942/3.942, 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.00195/0.001951, allocations: 80.62 kB / 0.9623 GB, free: 2.746 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336/1.337, allocations: 172.1 MB / 1.13 GB, free: 28.48 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_1_M_1): time 0.03784/1.375, allocations: 45.48 MB / 1.175 GB, free: 11.02 MB / 0.8892 GB Notification: Performance of NFInst.instExpressions: time 0.03631/1.412, allocations: 16.18 MB / 1.191 GB, free: 13.39 MB / 0.9048 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01252/1.424, allocations: 125.8 kB / 1.191 GB, free: 13.36 MB / 0.9048 GB Notification: Performance of NFTyping.typeComponents: time 0.01052/1.435, allocations: 2.391 MB / 1.193 GB, free: 11.49 MB / 0.9048 GB Notification: Performance of NFTyping.typeBindings: time 0.02761/1.463, allocations: 6.926 MB / 1.2 GB, free: 5.617 MB / 0.9048 GB Notification: Performance of NFTyping.typeClassSections: time 0.005475/1.468, allocations: 1.01 MB / 1.201 GB, free: 4.848 MB / 0.9048 GB Notification: Performance of NFFlatten.flatten: time 0.02734/1.495, allocations: 14.07 MB / 1.215 GB, free: 12.21 MB / 0.9204 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003099/1.499, allocations: 1.016 MB / 1.216 GB, free: 11.71 MB / 0.9204 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01933/1.518, allocations: 4.617 MB / 1.22 GB, free: 8.941 MB / 0.9204 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01602/1.534, allocations: 5.053 MB / 1.225 GB, free: 5.59 MB / 0.9204 GB Notification: Performance of NFPackage.collectConstants: time 0.003736/1.538, allocations: 0.489 MB / 1.225 GB, free: 5.59 MB / 0.9204 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01082/1.549, allocations: 1.358 MB / 1.227 GB, free: 5.391 MB / 0.9204 GB Notification: Performance of NFScalarize.scalarize: time 0.003281/1.552, allocations: 1.232 MB / 1.228 GB, free: 4.312 MB / 0.9204 GB Notification: Performance of NFVerifyModel.verify: time 0.0161/1.568, allocations: 4.231 MB / 1.232 GB, free: 1.41 MB / 0.9204 GB Notification: Performance of NFConvertDAE.convert: time 0.0305/1.599, allocations: 9.704 MB / 1.242 GB, free: 10.71 MB / 0.936 GB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/1.599, allocations: 3.984 kB / 1.242 GB, free: 10.71 MB / 0.936 GB Notification: Performance of FrontEnd: time 3.336e-06/1.599, allocations: 0 / 1.242 GB, free: 10.71 MB / 0.936 GB Notification: Performance of Transformations before backend: time 0.0005355/1.599, allocations: 5.344 kB / 1.242 GB, free: 10.71 MB / 0.936 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1484 * Number of variables: 1484 Notification: Performance of Generate backend data structure: time 0.05692/1.656, allocations: 11.11 MB / 1.252 GB, free: 3.906 MB / 0.936 GB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/1.656, allocations: 9.812 kB / 1.252 GB, free: 3.906 MB / 0.936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008393/1.665, allocations: 1.118 MB / 1.254 GB, free: 3.355 MB / 0.936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/1.681, allocations: 4.161 MB / 1.258 GB, free: 256 kB / 0.936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005958/1.681, allocations: 428.9 kB / 1.258 GB, free: 60 kB / 0.936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002263/1.684, allocations: 0.5458 MB / 1.259 GB, free: 15.87 MB / 0.9517 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01609/1.7, allocations: 5.823 MB / 1.264 GB, free: 12.2 MB / 0.9517 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001451/1.7, allocations: 9.188 kB / 1.264 GB, free: 12.2 MB / 0.9517 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006443/1.701, allocations: 244.3 kB / 1.264 GB, free: 12.01 MB / 0.9517 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001568/1.701, allocations: 143.6 kB / 1.265 GB, free: 12.01 MB / 0.9517 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/1.716, allocations: 5.711 MB / 1.27 GB, free: 9.164 MB / 0.9517 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.06928/1.786, allocations: 39 MB / 1.308 GB, free: 14.29 MB / 0.9985 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0135/1.799, allocations: 7.555 MB / 1.316 GB, free: 6.648 MB / 0.9985 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004616/1.804, allocations: 2.422 MB / 1.318 GB, free: 4.219 MB / 0.9985 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000363/1.804, allocations: 72.66 kB / 1.318 GB, free: 4.145 MB / 0.9985 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/1.804, allocations: 95.38 kB / 1.318 GB, free: 4.039 MB / 0.9985 GB Notification: Performance of pre-optimization done (n=597): time 9.498e-06/1.804, allocations: 0 / 1.318 GB, free: 4.039 MB / 0.9985 GB Notification: Performance of matching and sorting (n=597): time 0.05524/1.86, allocations: 16 MB / 1.334 GB, free: 3.895 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.947e-05/1.86, allocations: 112.1 kB / 1.334 GB, free: 3.77 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007706/1.867, allocations: 3.878 MB / 1.338 GB, free: 15.89 MB / 1.03 GB Notification: Performance of collectPreVariables (initialization): time 0.0009054/1.868, allocations: 117.7 kB / 1.338 GB, free: 15.77 MB / 1.03 GB Notification: Performance of collectInitialEqns (initialization): time 0.002408/1.871, allocations: 2.61 MB / 1.34 GB, free: 13.12 MB / 1.03 GB Notification: Performance of collectInitialBindings (initialization): time 0.003797/1.875, allocations: 2.044 MB / 1.342 GB, free: 11.05 MB / 1.03 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/1.877, allocations: 1.069 MB / 1.343 GB, free: 9.973 MB / 1.03 GB Notification: Performance of setup shared object (initialization): time 0.0001376/1.877, allocations: 309.1 kB / 1.344 GB, free: 9.668 MB / 1.03 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003158/1.88, allocations: 1.77 MB / 1.345 GB, free: 7.895 MB / 1.03 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0042/1.884, allocations: 3.151 MB / 1.349 GB, free: 4.215 MB / 1.03 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009303/1.893, allocations: 5.346 MB / 1.354 GB, free: 14.28 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-05/1.894, allocations: 16 kB / 1.354 GB, free: 14.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01603/1.91, allocations: 7.229 MB / 1.361 GB, free: 6.961 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/1.91, allocations: 20 kB / 1.361 GB, free: 6.941 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.872e-05/1.91, allocations: 40 kB / 1.361 GB, free: 6.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/1.921, allocations: 2.257 MB / 1.363 GB, free: 4.641 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00646/1.927, allocations: 1.498 MB / 1.365 GB, free: 3.141 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02722/1.954, allocations: 15.1 MB / 1.379 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01114/1.966, allocations: 467.9 kB / 1.38 GB, free: 3.289 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/1.967, allocations: 252 kB / 1.38 GB, free: 3.043 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (710): * Single equations (assignments): 708 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(136,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.004031/1.971, allocations: 1.027 MB / 1.381 GB, free: 2.004 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00269/1.974, allocations: 0.5675 MB / 1.382 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01151/1.985, allocations: 6.024 MB / 1.387 GB, free: 11.3 MB / 1.077 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.593e-05/1.986, allocations: 60 kB / 1.387 GB, free: 11.25 MB / 1.077 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/1.986, allocations: 7.922 kB / 1.387 GB, free: 11.24 MB / 1.077 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-05/1.986, allocations: 27.89 kB / 1.387 GB, free: 11.21 MB / 1.077 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 postOpt removeSimpleEquations (simulation): time 0.02956/2.015, allocations: 13.33 MB / 1.401 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.028e-05/2.015, allocations: 8.062 kB / 1.401 GB, free: 13.51 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004618/2.02, allocations: 1.046 MB / 1.402 GB, free: 12.46 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00383/2.024, allocations: 0.8597 MB / 1.402 GB, free: 11.6 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006258/2.024, allocations: 96 kB / 1.402 GB, free: 11.51 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02653/2.051, allocations: 14.77 MB / 1.417 GB, free: 12.44 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/2.051, allocations: 7.938 kB / 1.417 GB, free: 12.43 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01954/2.071, allocations: 9.856 MB / 1.427 GB, free: 2.281 MB / 1.108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004832/2.075, allocations: 1.181 MB / 1.428 GB, free: 1.074 MB / 1.108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.078, allocations: 100 kB / 1.428 GB, free: 0.9766 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005818/2.083, allocations: 143.8 kB / 1.428 GB, free: 0.8359 MB / 1.108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001004/2.084, allocations: 393.2 kB / 1.428 GB, free: 460 kB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002602/2.085, allocations: 140 kB / 1.428 GB, free: 320 kB / 1.108 GB Notification: Performance of sorting global known variables: time 0.004787/2.089, allocations: 2.512 MB / 1.431 GB, free: 13.8 MB / 1.124 GB Notification: Performance of sort global known variables: time 2.5e-07/2.089, allocations: 0 / 1.431 GB, free: 13.8 MB / 1.124 GB Notification: Performance of remove unused functions: time 0.01215/2.102, allocations: 2.248 MB / 1.433 GB, free: 11.55 MB / 1.124 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(14,0), (134,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001454/2.103, allocations: 0.5159 MB / 1.434 GB, free: 11.02 MB / 1.124 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.01548/2.119, allocations: 7.493 MB / 1.441 GB, free: 3.438 MB / 1.124 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/2.119, allocations: 0 / 1.441 GB, free: 3.438 MB / 1.124 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created simulation system equations: time 0.01077/2.129, allocations: 4.876 MB / 1.446 GB, free: 14.51 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007894/2.137, allocations: 0.7262 MB / 1.446 GB, free: 13.78 MB / 1.139 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02655/2.164, allocations: 12.5 MB / 1.459 GB, free: 1.191 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003967/2.168, allocations: 3.004 MB / 1.461 GB, free: 14.16 MB / 1.155 GB Notification: Performance of simCode: alias equations: time 0.003941/2.172, allocations: 0.713 MB / 1.462 GB, free: 13.44 MB / 1.155 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/2.174, allocations: 371.4 kB / 1.463 GB, free: 13.07 MB / 1.155 GB Notification: Performance of SimCode: time 2.745e-06/2.174, allocations: 0 / 1.463 GB, free: 13.07 MB / 1.155 GB Notification: Performance of Templates: time 0.1515/2.325, allocations: 79.33 MB / 1.54 GB, free: 13.66 MB / 1.233 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1 -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_1_M_1.pipe 2>&1)