Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_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.Models.Type0.Type0_N_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") translateModel(ScalableTestGrids.Models.Type0.Type0_N_2_M_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 110.7 kB / 18.36 MB, free: 4.812 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.00102/0.00102, allocations: 190.9 kB / 19.29 MB, free: 3.887 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.38/1.38, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06168/0.06168, allocations: 14.17 MB / 286.7 MB, free: 13.88 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.771/3.771, allocations: 461.2 MB / 0.78 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.001827/0.001827, allocations: 89.7 kB / 0.9623 GB, free: 2.734 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.281/1.283, allocations: 172.1 MB / 1.13 GB, free: 28.49 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.2054/1.488, allocations: 243.8 MB / 1.368 GB, free: 4.387 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1688/1.657, allocations: 82.2 MB / 1.449 GB, free: 1.895 MB / 1.124 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06989/1.727, allocations: 0.6815 MB / 1.449 GB, free: 1.211 MB / 1.124 GB Notification: Performance of NFTyping.typeComponents: time 0.0548/1.782, allocations: 12.77 MB / 1.462 GB, free: 4.367 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.1344/1.916, allocations: 34.55 MB / 1.496 GB, free: 1.699 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.02384/1.94, allocations: 3.948 MB / 1.499 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.1371/2.077, allocations: 77.39 MB / 1.575 GB, free: 56 kB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01695/2.094, allocations: 5.376 MB / 1.58 GB, free: 10.59 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 1.339/3.433, allocations: 25.34 MB / 1.605 GB, free: 41.12 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05899/3.492, allocations: 27.84 MB / 1.632 GB, free: 39.39 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.02007/3.512, allocations: 2.689 MB / 1.635 GB, free: 39.39 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04598/3.558, allocations: 6.317 MB / 1.641 GB, free: 39.38 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.01741/3.576, allocations: 6.817 MB / 1.648 GB, free: 37.94 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.07602/3.652, allocations: 23.29 MB / 1.67 GB, free: 32.16 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.1147/3.766, allocations: 52.5 MB / 1.722 GB, free: 24.29 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/3.766, allocations: 0 / 1.722 GB, free: 24.29 MB / 1.265 GB Notification: Performance of FrontEnd: time 2.405e-06/3.766, allocations: 0 / 1.722 GB, free: 24.29 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.002411/3.769, allocations: 0 / 1.722 GB, free: 24.29 MB / 1.265 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8204 * Number of variables: 8204 Notification: Performance of Generate backend data structure: time 0.2616/4.03, allocations: 59.77 MB / 1.78 GB, free: 5.859 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/4.031, allocations: 10.69 kB / 1.78 GB, free: 5.859 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04098/4.072, allocations: 6.145 MB / 1.786 GB, free: 3.172 MB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07792/4.149, allocations: 22.26 MB / 1.808 GB, free: 10.27 MB / 1.28 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003483/4.153, allocations: 2.32 MB / 1.81 GB, free: 8.078 MB / 1.28 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01291/4.166, allocations: 3.008 MB / 1.813 GB, free: 5.07 MB / 1.28 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1122/4.278, allocations: 32.15 MB / 1.844 GB, free: 3.797 MB / 1.312 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002321/4.281, allocations: 65.91 kB / 1.844 GB, free: 3.77 MB / 1.312 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0128/4.293, allocations: 1.285 MB / 1.846 GB, free: 2.484 MB / 1.312 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008901/4.294, allocations: 0.7773 MB / 1.847 GB, free: 1.707 MB / 1.312 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09249/4.387, allocations: 31.48 MB / 1.877 GB, free: 2.523 MB / 1.343 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.4074/4.794, allocations: 217.8 MB / 2.09 GB, free: 6.094 MB / 1.577 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1135/4.908, allocations: 53.48 MB / 2.142 GB, free: 3.129 MB / 1.624 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02894/4.937, allocations: 14.29 MB / 2.156 GB, free: 4.805 MB / 1.64 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003081/4.94, allocations: 395.2 kB / 2.156 GB, free: 4.438 MB / 1.64 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/4.94, allocations: 385.1 kB / 2.157 GB, free: 4.051 MB / 1.64 GB Notification: Performance of pre-optimization done (n=3389): time 4.022e-05/4.94, allocations: 0 / 2.157 GB, free: 4.051 MB / 1.64 GB Notification: Performance of matching and sorting (n=3389): time 0.7069/5.647, allocations: 41.29 MB / 2.197 GB, free: 0.6455 GB / 1.64 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006693/5.648, allocations: 401.1 kB / 2.198 GB, free: 0.6454 GB / 1.64 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05568/5.703, allocations: 20.43 MB / 2.217 GB, free: 0.6444 GB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.004995/5.709, allocations: 0.5434 MB / 2.218 GB, free: 0.6444 GB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.0122/5.721, allocations: 14.52 MB / 2.232 GB, free: 0.6382 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.01614/5.737, allocations: 11.66 MB / 2.244 GB, free: 0.6292 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02006/5.757, allocations: 5.791 MB / 2.249 GB, free: 0.6263 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/5.757, allocations: 305.1 kB / 2.25 GB, free: 0.626 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02295/5.78, allocations: 9.776 MB / 2.259 GB, free: 0.6222 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02961/5.81, allocations: 17.28 MB / 2.276 GB, free: 0.6102 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1038/5.913, allocations: 29.61 MB / 2.305 GB, free: 0.5909 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000488/5.914, allocations: 58.72 kB / 2.305 GB, free: 0.5909 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.1154/6.029, allocations: 40.48 MB / 2.344 GB, free: 0.5745 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/6.03, allocations: 93.06 kB / 2.345 GB, free: 0.5745 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003834/6.03, allocations: 201.8 kB / 2.345 GB, free: 0.5745 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06168/6.092, allocations: 13.65 MB / 2.358 GB, free: 0.5731 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03328/6.125, allocations: 8.227 MB / 2.366 GB, free: 0.5665 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1832/6.308, allocations: 80.08 MB / 2.444 GB, free: 0.4975 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04637/6.355, allocations: 2.527 MB / 2.447 GB, free: 0.495 GB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008513/6.363, allocations: 1.308 MB / 2.448 GB, free: 0.4937 GB / 1.64 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 926 * 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 (3816): * Single equations (assignments): 3814 * 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 {(900,0), (14,0)} Notification: Performance of prepare postOptimizeDAE: time 0.02521/6.389, allocations: 5.169 MB / 2.453 GB, free: 0.4887 GB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0169/6.405, allocations: 3.1 MB / 2.456 GB, free: 497.2 MB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09412/6.5, allocations: 34.7 MB / 2.49 GB, free: 466.4 MB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00023/6.5, allocations: 316 kB / 2.49 GB, free: 466.1 MB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/6.5, allocations: 0 / 2.49 GB, free: 466.1 MB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/6.501, allocations: 159.4 kB / 2.49 GB, free: 465.9 MB / 1.64 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.1961/6.697, allocations: 73.72 MB / 2.562 GB, free: 392.1 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003069/6.697, allocations: 8 kB / 2.562 GB, free: 392.1 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02612/6.724, allocations: 5.931 MB / 2.568 GB, free: 386.2 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02377/6.747, allocations: 5.059 MB / 2.573 GB, free: 381.1 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005095/6.753, allocations: 0.539 MB / 2.574 GB, free: 380.6 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1721/6.925, allocations: 77.75 MB / 2.65 GB, free: 302.4 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.415e-06/6.925, allocations: 8 kB / 2.65 GB, free: 302.4 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1171/7.042, allocations: 52.29 MB / 2.701 GB, free: 249.8 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02806/7.07, allocations: 6.184 MB / 2.707 GB, free: 243.6 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01371/7.084, allocations: 0.5312 MB / 2.707 GB, free: 243 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03138/7.115, allocations: 0.7607 MB / 2.708 GB, free: 242.3 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008336/7.123, allocations: 2.115 MB / 2.71 GB, free: 240.1 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004827/7.128, allocations: 0.7461 MB / 2.711 GB, free: 239.4 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.03225/7.161, allocations: 13.21 MB / 2.724 GB, free: 226.3 MB / 1.64 GB Notification: Performance of sort global known variables: time 1.082e-06/7.161, allocations: 4 kB / 2.724 GB, free: 226.3 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.05569/7.216, allocations: 12.55 MB / 2.736 GB, free: 213.8 MB / 1.64 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (2497): * Single equations (assignments): 2495 * 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), (880,0)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00767/7.224, allocations: 2.293 MB / 2.738 GB, free: 211.6 MB / 1.64 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.09613/7.32, allocations: 42.74 MB / 2.78 GB, free: 168.8 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 1.56e-05/7.32, allocations: 4 kB / 2.78 GB, free: 168.8 MB / 1.64 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.05874/7.379, allocations: 28.28 MB / 2.808 GB, free: 140.4 MB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05651/7.436, allocations: 3.908 MB / 2.811 GB, free: 136.5 MB / 1.64 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.8177/8.253, allocations: 70.96 MB / 2.881 GB, free: 0.5692 GB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04152/8.295, allocations: 13.76 MB / 2.894 GB, free: 0.5677 GB / 1.64 GB Notification: Performance of simCode: alias equations: time 0.02755/8.322, allocations: 3.881 MB / 2.898 GB, free: 0.5671 GB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01253/8.335, allocations: 1.948 MB / 2.9 GB, free: 0.5671 GB / 1.64 GB Notification: Performance of SimCode: time 9.62e-07/8.335, allocations: 0 / 2.9 GB, free: 0.5671 GB / 1.64 GB Notification: Performance of Templates: time 0.6922/9.027, allocations: 441.2 MB / 3.331 GB, free: 247.2 MB / 1.64 GB make -j1 -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.makefile (rm -f ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; mkfifo ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe ; head -c 1048576 < ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe >> ../files/ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.sim & ./ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2 -lv=LOG_STATS -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe 2>&1)