Notification: Performance of FrontEnd - loaded program: time 1.866e-05/1.872e-05, allocations: 4 kB / 3.047 GB, free: 31.03 MB / 0.5315 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3702, allocations: 76.94 MB / 3.122 GB, free: 160.2 MB / 0.5315 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.853/6.223, allocations: 2.637 GB / 5.759 GB, free: 59.12 MB / 0.6584 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/6.223, allocations: 62.47 kB / 5.76 GB, free: 59.09 MB / 0.6584 GB Notification: Performance of FrontEnd: time 0.6216/6.845, allocations: 106.1 MB / 5.863 GB, free: 210.1 MB / 0.6584 GB Notification: Performance of Transformations before backend: time 2.776e-05/6.845, allocations: 19.53 kB / 5.863 GB, free: 210.1 MB / 0.6584 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.009147/6.854, allocations: 2.041 MB / 5.865 GB, free: 209.2 MB / 0.6584 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/6.854, allocations: 10.66 kB / 5.865 GB, free: 209.2 MB / 0.6584 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009986/6.855, allocations: 176.8 kB / 5.865 GB, free: 209.1 MB / 0.6584 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008464/6.856, allocations: 0.5015 MB / 5.866 GB, free: 208.8 MB / 0.6584 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/6.856, allocations: 36.31 kB / 5.866 GB, free: 208.8 MB / 0.6584 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/6.856, allocations: 83.42 kB / 5.866 GB, free: 208.8 MB / 0.6584 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002356/6.859, allocations: 1.253 MB / 5.867 GB, free: 208.5 MB / 0.6584 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/6.861, allocations: 1.404 MB / 5.869 GB, free: 208 MB / 0.6584 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/6.861, allocations: 0 / 5.869 GB, free: 208 MB / 0.6584 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/6.861, allocations: 3.969 kB / 5.869 GB, free: 208 MB / 0.6584 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.484e-05/6.861, allocations: 30.09 kB / 5.869 GB, free: 208 MB / 0.6584 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/6.867, allocations: 4.273 MB / 5.873 GB, free: 205.4 MB / 0.6584 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/6.869, allocations: 1.486 MB / 5.874 GB, free: 204.8 MB / 0.6584 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/6.87, allocations: 0.6807 MB / 5.875 GB, free: 204.6 MB / 0.6584 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07049/6.941, allocations: 32 MB / 5.906 GB, free: 175.7 MB / 0.6584 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/6.941, allocations: 43.88 kB / 5.906 GB, free: 175.7 MB / 0.6584 GB Notification: Performance of pre-optimization done (n=142): time 4.191e-06/6.941, allocations: 7.906 kB / 5.906 GB, free: 175.7 MB / 0.6584 GB Notification: Performance of matching and sorting (n=202): time 0.02221/6.963, allocations: 7.317 MB / 5.913 GB, free: 169.7 MB / 0.6584 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/6.963, allocations: 73.41 kB / 5.913 GB, free: 169.6 MB / 0.6584 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/6.963, allocations: 188.8 kB / 5.914 GB, free: 169.4 MB / 0.6584 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/6.963, allocations: 25.7 kB / 5.914 GB, free: 169.4 MB / 0.6584 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/6.963, allocations: 280.1 kB / 5.914 GB, free: 169.1 MB / 0.6584 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004698/6.964, allocations: 0.7153 MB / 5.915 GB, free: 168.5 MB / 0.6584 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/6.964, allocations: 0 / 5.915 GB, free: 168.5 MB / 0.6584 GB Notification: Performance of setup shared object (initialization): time 0.0001191/6.964, allocations: 401.5 kB / 5.915 GB, free: 168.1 MB / 0.6584 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/6.966, allocations: 0.9548 MB / 5.916 GB, free: 167.3 MB / 0.6584 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/6.967, allocations: 1.169 MB / 5.917 GB, free: 166.2 MB / 0.6584 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/6.97, allocations: 1.191 MB / 5.918 GB, free: 165.2 MB / 0.6584 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.239e-06/6.97, allocations: 7.797 kB / 5.918 GB, free: 165.2 MB / 0.6584 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005901/6.976, allocations: 2.874 MB / 5.921 GB, free: 162.7 MB / 0.6584 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/6.976, allocations: 8 kB / 5.921 GB, free: 162.7 MB / 0.6584 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/6.976, allocations: 4.625 kB / 5.921 GB, free: 162.7 MB / 0.6584 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/6.979, allocations: 0.688 MB / 5.922 GB, free: 162.1 MB / 0.6584 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/6.98, allocations: 459.1 kB / 5.922 GB, free: 161.7 MB / 0.6584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006366/6.987, allocations: 11.53 MB / 5.933 GB, free: 150.1 MB / 0.6584 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/6.988, allocations: 57.33 kB / 5.933 GB, free: 150 MB / 0.6584 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/6.988, allocations: 83.89 kB / 5.933 GB, free: 149.9 MB / 0.6584 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 20 (state[20].phase,state[19].phase,state[18].phase,state[17].phase,state[16].phase,state[15].phase,state[14].phase,state[13].phase,state[12].phase,state[11].phase,state[10].phase,state[9].phase,state[8].phase,state[7].phase,state[6].phase,state[5].phase,state[4].phase,state[3].phase,state[2].phase,state[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (242): * Single equations (assignments): 222 * 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: 0 * Non-linear torn systems: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003936/6.989, allocations: 156.4 kB / 5.934 GB, free: 149.8 MB / 0.6584 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/6.989, allocations: 79.11 kB / 5.934 GB, free: 149.7 MB / 0.6584 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/6.999, allocations: 8.143 MB / 5.942 GB, free: 142.4 MB / 0.6584 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.626e-05/6.999, allocations: 78.47 kB / 5.942 GB, free: 142.3 MB / 0.6584 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/6.999, allocations: 4 kB / 5.942 GB, free: 142.3 MB / 0.6584 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-05/6.999, allocations: 11.3 kB / 5.942 GB, free: 142.3 MB / 0.6584 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/7.002, allocations: 2.788 MB / 5.944 GB, free: 139.9 MB / 0.6584 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/7.002, allocations: 4 kB / 5.944 GB, free: 139.9 MB / 0.6584 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001591/7.004, allocations: 346.5 kB / 5.945 GB, free: 139.6 MB / 0.6584 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003546/7.008, allocations: 1.205 MB / 5.946 GB, free: 138.7 MB / 0.6584 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002107/7.008, allocations: 62.83 kB / 5.946 GB, free: 138.6 MB / 0.6584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007037/7.015, allocations: 12.68 MB / 5.958 GB, free: 126 MB / 0.6584 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.038e-06/7.015, allocations: 0 / 5.958 GB, free: 126 MB / 0.6584 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6192/7.634, allocations: 169.5 MB / 6.124 GB, free: 147.7 MB / 0.6584 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/7.635, allocations: 264.4 kB / 6.124 GB, free: 147.5 MB / 0.6584 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004666/7.635, allocations: 31 kB / 6.124 GB, free: 147.5 MB / 0.6584 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/7.637, allocations: 64.14 kB / 6.124 GB, free: 147.5 MB / 0.6584 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004082/7.637, allocations: 131.8 kB / 6.124 GB, free: 147.5 MB / 0.6584 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000259/7.637, allocations: 65.34 kB / 6.124 GB, free: 147.5 MB / 0.6584 GB Notification: Performance of sorting global known variables: time 0.0001702/7.637, allocations: 140.7 kB / 6.125 GB, free: 147.4 MB / 0.6584 GB Notification: Performance of sort global known variables: time 8.4e-07/7.638, allocations: 0 / 6.125 GB, free: 147.4 MB / 0.6584 GB Notification: Performance of remove unused functions: time 0.01699/7.655, allocations: 3.667 MB / 6.128 GB, free: 147.2 MB / 0.6584 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15],p[16],p[17],p[18],p[19],p[20],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15],h[16],h[17],h[18],h[19],h[20]) * Number of discrete variables: 40 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 162 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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: 0 * Non-linear torn systems: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02944/7.684, allocations: 2.318 MB / 6.13 GB, free: 146.8 MB / 0.6584 GB Notification: Performance of simCode: created initialization part: time 0.008843/7.693, allocations: 3.562 MB / 6.134 GB, free: 146.7 MB / 0.6584 GB Notification: Performance of simCode: created event and clocks part: time 5.322e-06/7.693, allocations: 0 / 6.134 GB, free: 146.7 MB / 0.6584 GB Notification: Performance of simCode: created simulation system equations: time 0.007146/7.7, allocations: 2.826 MB / 6.137 GB, free: 145.9 MB / 0.6584 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/7.704, allocations: 367.6 kB / 6.137 GB, free: 145.8 MB / 0.6584 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04211/7.746, allocations: 12.92 MB / 6.15 GB, free: 139.7 MB / 0.6584 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/7.748, allocations: 1.878 MB / 6.152 GB, free: 138.9 MB / 0.6584 GB Notification: Performance of simCode: alias equations: time 0.005811/7.754, allocations: 1.401 MB / 6.153 GB, free: 138.9 MB / 0.6584 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001931/7.756, allocations: 225.8 kB / 6.153 GB, free: 138.8 MB / 0.6584 GB Notification: Performance of SimCode: time 1.793e-06/7.756, allocations: 0 / 6.153 GB, free: 138.8 MB / 0.6584 GB Notification: Performance of Templates: time 0.3457/8.102, allocations: 136.7 MB / 6.287 GB, free: 58.38 MB / 0.6584 GB