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.001055/0.001055, allocations: 108.3 kB / 17.82 MB, free: 5.672 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.001073/0.001073, allocations: 190.5 kB / 18.73 MB, free: 4.758 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.343/1.343, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06438/0.06438, allocations: 14.16 MB / 286.1 MB, free: 14.17 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestGrids 1.1.0-master/package.mo): time 3.156/3.156, allocations: 461.2 MB / 0.7794 GB, free: 107.3 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.00205/0.00205, allocations: 87.88 kB / 0.9607 GB, free: 3.988 MB / 0.7327 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197/1.199, allocations: 172.1 MB / 1.129 GB, free: 27.99 MB / 0.8735 GB Notification: Performance of NFInst.instantiate(ScalableTestGrids.Models.Type0.Type0_N_2_M_2): time 0.2012/1.4, allocations: 246.3 MB / 1.369 GB, free: 2.297 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1675/1.568, allocations: 82.76 MB / 1.45 GB, free: 15.25 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05918/1.627, allocations: 0.7202 MB / 1.451 GB, free: 14.53 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.04534/1.672, allocations: 11.01 MB / 1.462 GB, free: 3.469 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.1173/1.79, allocations: 31.46 MB / 1.492 GB, free: 3.906 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0219/1.812, allocations: 3.637 MB / 1.496 GB, free: 276 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.1252/1.937, allocations: 77.93 MB / 1.572 GB, free: 2.039 MB / 1.249 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01901/1.956, allocations: 4.987 MB / 1.577 GB, free: 12.96 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 1.325/3.281, allocations: 19.68 MB / 1.596 GB, free: 40.21 MB / 1.265 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04788/3.329, allocations: 22.65 MB / 1.618 GB, free: 40.21 MB / 1.265 GB Notification: Performance of NFPackage.collectConstants: time 0.01558/3.344, allocations: 1.197 MB / 1.619 GB, free: 40.21 MB / 1.265 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04164/3.386, allocations: 3.766 MB / 1.623 GB, free: 40.21 MB / 1.265 GB Notification: Performance of NFScalarize.scalarize: time 0.01455/3.401, allocations: 4.859 MB / 1.628 GB, free: 38.88 MB / 1.265 GB Notification: Performance of NFVerifyModel.verify: time 0.07088/3.472, allocations: 20.34 MB / 1.648 GB, free: 33.1 MB / 1.265 GB Notification: Performance of NFConvertDAE.convert: time 0.07182/3.544, allocations: 37.99 MB / 1.685 GB, free: 29.91 MB / 1.265 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/3.544, allocations: 4.906 kB / 1.685 GB, free: 29.91 MB / 1.265 GB Notification: Performance of FrontEnd: time 2.004e-06/3.544, allocations: 0 / 1.685 GB, free: 29.91 MB / 1.265 GB Notification: Performance of Transformations before backend: time 0.002306/3.546, allocations: 0 / 1.685 GB, free: 29.91 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.2379/3.784, allocations: 56.38 MB / 1.74 GB, free: 13.92 MB / 1.265 GB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/3.784, allocations: 7.562 kB / 1.74 GB, free: 13.92 MB / 1.265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03749/3.821, allocations: 6.15 MB / 1.746 GB, free: 11.24 MB / 1.265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06849/3.89, allocations: 20.68 MB / 1.766 GB, free: 2.301 MB / 1.265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00369/3.894, allocations: 2.319 MB / 1.768 GB, free: 2.234 MB / 1.265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01184/3.906, allocations: 3.005 MB / 1.771 GB, free: 2.234 MB / 1.265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1042/4.01, allocations: 32.14 MB / 1.803 GB, free: 6.027 MB / 1.28 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002269/4.012, allocations: 67.69 kB / 1.803 GB, free: 6.023 MB / 1.28 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01392/4.026, allocations: 1.285 MB / 1.804 GB, free: 5.023 MB / 1.28 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006857/4.027, allocations: 0.78 MB / 1.805 GB, free: 5.023 MB / 1.28 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0817/4.109, allocations: 31.47 MB / 1.835 GB, free: 8.754 MB / 1.312 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.3064/4.415, allocations: 203.3 MB / 2.034 GB, free: 10.88 MB / 1.53 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1041/4.519, allocations: 53.47 MB / 2.086 GB, free: 7.93 MB / 1.577 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02991/4.549, allocations: 14.28 MB / 2.1 GB, free: 9.609 MB / 1.593 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003132/4.552, allocations: 395.2 kB / 2.101 GB, free: 9.238 MB / 1.593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003101/4.553, allocations: 381.1 kB / 2.101 GB, free: 8.855 MB / 1.593 GB Notification: Performance of pre-optimization done (n=3389): time 4.042e-05/4.553, allocations: 9 kB / 2.101 GB, free: 8.852 MB / 1.593 GB Notification: Performance of matching and sorting (n=3389): time 0.1127/4.665, allocations: 41.3 MB / 2.141 GB, free: 36 kB / 1.624 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003284/4.666, allocations: 401.3 kB / 2.142 GB, free: 15.63 MB / 1.64 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.975/5.641, allocations: 18.08 MB / 2.159 GB, free: 0.6714 GB / 1.64 GB Notification: Performance of collectPreVariables (initialization): time 0.006386/5.647, allocations: 0.5433 MB / 2.16 GB, free: 0.6714 GB / 1.64 GB Notification: Performance of collectInitialEqns (initialization): time 0.01913/5.666, allocations: 14.57 MB / 2.174 GB, free: 0.6691 GB / 1.64 GB Notification: Performance of collectInitialBindings (initialization): time 0.01833/5.685, allocations: 11.61 MB / 2.185 GB, free: 0.6616 GB / 1.64 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02737/5.712, allocations: 5.796 MB / 2.191 GB, free: 0.661 GB / 1.64 GB Notification: Performance of setup shared object (initialization): time 5.573e-05/5.712, allocations: 304.1 kB / 2.191 GB, free: 0.6607 GB / 1.64 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02916/5.741, allocations: 9.775 MB / 2.201 GB, free: 0.6569 GB / 1.64 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04249/5.784, allocations: 17.28 MB / 2.218 GB, free: 0.6449 GB / 1.64 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1165/5.901, allocations: 29.61 MB / 2.247 GB, free: 0.6256 GB / 1.64 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005634/5.901, allocations: 60.5 kB / 2.247 GB, free: 0.6256 GB / 1.64 GB Notification: Performance of matching and sorting (n=4728) (initialization): time 0.1402/6.041, allocations: 40.48 MB / 2.286 GB, free: 0.6094 GB / 1.64 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002089/6.042, allocations: 89.06 kB / 2.286 GB, free: 0.6094 GB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004015/6.042, allocations: 208.5 kB / 2.287 GB, free: 0.6094 GB / 1.64 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06193/6.104, allocations: 13.66 MB / 2.3 GB, free: 0.608 GB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03214/6.136, allocations: 8.223 MB / 2.308 GB, free: 0.6072 GB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1733/6.309, allocations: 72.76 MB / 2.379 GB, free: 0.5511 GB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04214/6.352, allocations: 2.693 MB / 2.382 GB, free: 0.5485 GB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007812/6.359, allocations: 1.304 MB / 2.383 GB, free: 0.5472 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.02425/6.384, allocations: 5.176 MB / 2.388 GB, free: 0.5422 GB / 1.64 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01432/6.398, allocations: 3.108 MB / 2.391 GB, free: 0.5391 GB / 1.64 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1006/6.499, allocations: 34.71 MB / 2.425 GB, free: 0.5096 GB / 1.64 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002712/6.499, allocations: 316 kB / 2.425 GB, free: 0.5093 GB / 1.64 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001625/6.499, allocations: 4 kB / 2.425 GB, free: 0.5093 GB / 1.64 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001268/6.501, allocations: 158.1 kB / 2.425 GB, free: 0.5092 GB / 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.1985/6.699, allocations: 70.22 MB / 2.494 GB, free: 451 MB / 1.64 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003409/6.699, allocations: 12 kB / 2.494 GB, free: 451 MB / 1.64 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02606/6.725, allocations: 5.931 MB / 2.5 GB, free: 445 MB / 1.64 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02501/6.751, allocations: 5.118 MB / 2.505 GB, free: 439.9 MB / 1.64 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006224/6.757, allocations: 0.539 MB / 2.505 GB, free: 439.4 MB / 1.64 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1972/6.954, allocations: 70.7 MB / 2.574 GB, free: 368.3 MB / 1.64 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.944e-06/6.954, allocations: 8 kB / 2.574 GB, free: 368.3 MB / 1.64 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1323/7.086, allocations: 52 MB / 2.625 GB, free: 316 MB / 1.64 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02588/7.112, allocations: 5.256 MB / 2.63 GB, free: 310.6 MB / 1.64 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0152/7.128, allocations: 0.5389 MB / 2.631 GB, free: 310.1 MB / 1.64 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03075/7.158, allocations: 1.138 MB / 2.632 GB, free: 309 MB / 1.64 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01008/7.169, allocations: 2.111 MB / 2.634 GB, free: 306.8 MB / 1.64 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005581/7.174, allocations: 0.7422 MB / 2.635 GB, free: 306.1 MB / 1.64 GB Notification: Performance of sorting global known variables: time 0.02945/7.204, allocations: 11.49 MB / 2.646 GB, free: 294.8 MB / 1.64 GB Notification: Performance of sort global known variables: time 6.21e-07/7.204, allocations: 4 kB / 2.646 GB, free: 294.7 MB / 1.64 GB Notification: Performance of remove unused functions: time 0.05924/7.263, allocations: 11.53 MB / 2.657 GB, free: 283.2 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.008636/7.272, allocations: 2.286 MB / 2.659 GB, free: 281 MB / 1.64 GB Notification: Performance of simCode: created initialization part: time 0.1005/7.372, allocations: 40.86 MB / 2.699 GB, free: 240.1 MB / 1.64 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/7.372, allocations: 0 / 2.699 GB, free: 240.1 MB / 1.64 GB Notification: Performance of simCode: created simulation system equations: time 0.06457/7.437, allocations: 26.51 MB / 2.725 GB, free: 213.6 MB / 1.64 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05217/7.489, allocations: 2.888 MB / 2.728 GB, free: 210.7 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.2018/7.691, allocations: 87.17 MB / 2.813 GB, free: 123.6 MB / 1.64 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.008/8.699, allocations: 13.75 MB / 2.826 GB, free: 0.595 GB / 1.64 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01195/8.711, allocations: 1.942 MB / 2.828 GB, free: 0.595 GB / 1.64 GB Notification: Performance of SimCode: time 1.333e-06/8.711, allocations: 0 / 2.828 GB, free: 0.595 GB / 1.64 GB Notification: Performance of Templates: time 1.641/10.35, allocations: 0.6702 GB / 3.499 GB, free: 0.5629 GB / 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 -lv LOG_STATS > ScalableTestGrids_noopt_ScalableTestGrids.Models.Type0.Type0_N_2_M_2.pipe 2>&1)