Running command: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadModel(PowerGrids): time 2.347/2.347, allocations: 220.2 MB / 232.3 MB, free: 12.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.03e-05, allocations: 3.984 kB / 286.3 MB, free: 7.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1214, allocations: 51.11 MB / 337.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3709/0.4923, allocations: 76.62 MB / 414 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.4926, allocations: 65.16 kB / 414.1 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002283/0.4949, allocations: 0.679 MB / 414.8 MB, free: 16 kB / 330.7 MB Notification: Performance of FrontEnd: time 2.553e-06/0.4949, allocations: 0 / 414.8 MB, free: 16 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.4949, allocations: 0 / 414.8 MB, free: 16 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003759/0.4953, allocations: 326.5 kB / 415.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4954, allocations: 15.97 kB / 415.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.4954, allocations: 0 / 415.1 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4956, allocations: 174.8 kB / 415.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4957, allocations: 0 / 415.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.4957, allocations: 3.953 kB / 415.3 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.4958, allocations: 70.95 kB / 415.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.344e-06/0.4959, allocations: 0 / 415.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.4959, allocations: 0 / 415.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.069e-06/0.4959, allocations: 0.875 kB / 415.4 MB, free: 15.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.76e-05/0.496, allocations: 11.56 kB / 415.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/0.4964, allocations: 339.1 kB / 415.7 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.26e-05/0.4965, allocations: 51.72 kB / 415.8 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.4966, allocations: 20.58 kB / 415.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.4966, allocations: 4 kB / 415.8 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.4967, allocations: 32.75 kB / 415.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.226e-06/0.4967, allocations: 0 / 415.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002071/0.4969, allocations: 53.12 kB / 415.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.83e-05/0.497, allocations: 102.8 kB / 416 MB, free: 14.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/0.4971, allocations: 92.44 kB / 416.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.145e-05/0.4971, allocations: 25.7 kB / 416.1 MB, free: 14.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.4972, allocations: 84.14 kB / 416.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.4972, allocations: 14.73 kB / 416.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-06/0.4972, allocations: 0 / 416.2 MB, free: 14.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4974, allocations: 314.9 kB / 416.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.4974, allocations: 6.688 kB / 416.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.098e-05/0.4975, allocations: 26.02 kB / 416.5 MB, free: 14.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.4975, allocations: 11.38 kB / 416.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.266e-06/0.4976, allocations: 0 / 416.5 MB, free: 14.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001215/0.4977, allocations: 49.08 kB / 416.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.4978, allocations: 186.9 kB / 416.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4978, allocations: 0 / 416.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.4979, allocations: 0 / 416.8 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.498, allocations: 14.36 kB / 416.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.498, allocations: 7.938 kB / 416.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.4981, allocations: 16.75 kB / 416.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.4981, allocations: 3.953 kB / 416.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.513e-06/0.4982, allocations: 4 kB / 416.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 5.751e-05/0.4982, allocations: 11.25 kB / 416.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-06/0.4982, allocations: 0 / 416.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.268e-06/0.4983, allocations: 4 kB / 416.8 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-05/0.4983, allocations: 7.984 kB / 416.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.782e-06/0.4983, allocations: 3.938 kB / 416.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.4984, allocations: 12 kB / 416.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.938e-06/0.4984, allocations: 0 / 416.8 MB, free: 13.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.644e-05/0.4985, allocations: 108.9 kB / 417 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.4986, allocations: 7.328 kB / 417 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.292e-05/0.4986, allocations: 7.078 kB / 417 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.494e-06/0.4986, allocations: 4 kB / 417 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.026e-06/0.4986, allocations: 0 / 417 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-06/0.4987, allocations: 0 / 417 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.499, allocations: 164.9 kB / 417.1 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-06/0.499, allocations: 8 kB / 417.1 MB, free: 13.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.4991, allocations: 11.98 kB / 417.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.174e-06/0.4991, allocations: 0.875 kB / 417.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4991, allocations: 3.953 kB / 417.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.229e-06/0.4991, allocations: 4 kB / 417.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-06/0.4991, allocations: 0 / 417.2 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.4994, allocations: 235 kB / 417.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-05/0.4994, allocations: 85.06 kB / 417.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.4995, allocations: 0 / 417.5 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.4996, allocations: 15.98 kB / 417.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.4997, allocations: 3.25 kB / 417.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-06/0.4997, allocations: 4 kB / 417.5 MB, free: 13.04 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.362e-05/0.4998, allocations: 79.59 kB / 417.6 MB, free: 12.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4998, allocations: 4 kB / 417.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.5002, allocations: 15.12 kB / 417.6 MB, free: 12.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001332/0.5004, allocations: 103.4 kB / 417.7 MB, free: 12.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.5005, allocations: 29.92 kB / 417.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.587e-06/0.5005, allocations: 0 / 417.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.5006, allocations: 10.75 kB / 417.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.5008, allocations: 4.703 kB / 417.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.5011, allocations: 80.14 kB / 417.8 MB, free: 12.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.5015, allocations: 0.6809 MB / 418.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.545e-05/0.5016, allocations: 0 / 418.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.236e-05/0.5016, allocations: 15.44 kB / 418.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5016, allocations: 3.938 kB / 418.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of Templates: time 0.003001/0.5046, allocations: 0.5105 MB / 419 MB, free: 11.47 MB / 346.7 MB