Notification: Performance of FrontEnd - loaded program: time 2.684e-05/2.705e-05, allocations: 5.031 kB / 363.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2184, allocations: 44.52 MB / 408.2 MB, free: 82.89 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.5259, allocations: 105.1 MB / 0.5013 GB, free: 44.58 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/0.5264, allocations: 84.39 kB / 0.5014 GB, free: 44.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2814/0.8078, allocations: 64.52 MB / 0.5644 GB, free: 19.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.8078, allocations: 0 / 0.5644 GB, free: 19.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003022/0.8081, allocations: 87.86 kB / 0.5645 GB, free: 19 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008447/0.8166, allocations: 3.249 MB / 0.5677 GB, free: 15.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8166, allocations: 9.344 kB / 0.5677 GB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00213/0.8188, allocations: 0.5081 MB / 0.5682 GB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006332/0.8251, allocations: 2.383 MB / 0.5705 GB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002031/0.8254, allocations: 130.2 kB / 0.5706 GB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001032/0.8264, allocations: 179.9 kB / 0.5708 GB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008499/0.8349, allocations: 3.304 MB / 0.574 GB, free: 9.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.8486, allocations: 3.791 MB / 0.5777 GB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001978/0.8488, allocations: 7.938 kB / 0.5777 GB, free: 5.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001078/0.8499, allocations: 4 kB / 0.5777 GB, free: 5.133 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001807/0.8501, allocations: 134 kB / 0.5779 GB, free: 5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.042/0.8921, allocations: 12.98 MB / 0.5905 GB, free: 7.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00671/0.8989, allocations: 2.808 MB / 0.5933 GB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00447/0.9034, allocations: 1.465 MB / 0.5947 GB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005529/0.904, allocations: 139.1 kB / 0.5948 GB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.123e-05/0.9041, allocations: 60.55 kB / 0.5949 GB, free: 3.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=167): time 7.129e-06/0.9041, allocations: 0 / 0.5949 GB, free: 3.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=183): time 0.02424/0.9284, allocations: 6.316 MB / 0.6011 GB, free: 12.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/0.9285, allocations: 69.41 kB / 0.6011 GB, free: 12.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/0.934, allocations: 1.708 MB / 0.6028 GB, free: 10.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004435/0.9345, allocations: 25.7 kB / 0.6028 GB, free: 10.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002127/0.9367, allocations: 1.465 MB / 0.6043 GB, free: 9.305 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001231/0.9379, allocations: 0.5927 MB / 0.6048 GB, free: 8.703 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.9382, allocations: 0 / 0.6048 GB, free: 8.703 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003181/0.9385, allocations: 381.9 kB / 0.6052 GB, free: 8.324 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003183/0.9417, allocations: 1.046 MB / 0.6062 GB, free: 7.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/0.9456, allocations: 1.433 MB / 0.6076 GB, free: 5.691 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003858/0.9495, allocations: 1.259 MB / 0.6089 GB, free: 4.434 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.828e-05/0.9496, allocations: 7.938 kB / 0.6089 GB, free: 4.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01221/0.9618, allocations: 3.288 MB / 0.6121 GB, free: 1.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-05/0.9619, allocations: 16.33 kB / 0.6121 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/0.962, allocations: 12 kB / 0.6121 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003975/0.966, allocations: 0.7902 MB / 0.6129 GB, free: 272 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/0.9695, allocations: 459.3 kB / 0.6133 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01881/0.9883, allocations: 10.38 MB / 0.6234 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004076/0.9925, allocations: 95.8 kB / 0.6235 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006217/0.9931, allocations: 79.98 kB / 0.6236 GB, free: 4.672 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007683/0.9939, allocations: 144.6 kB / 0.6238 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/0.9951, allocations: 225.3 kB / 0.624 GB, free: 4.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01274/1.008, allocations: 3.1 MB / 0.627 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-05/1.008, allocations: 16 kB / 0.627 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.688e-05/1.008, allocations: 8 kB / 0.627 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/1.008, allocations: 11.91 kB / 0.627 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02759/1.036, allocations: 6.379 MB / 0.6333 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/1.036, allocations: 0 / 0.6333 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00379/1.04, allocations: 311.8 kB / 0.6336 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006243/1.046, allocations: 0.8927 MB / 0.6344 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004434/1.046, allocations: 15.98 kB / 0.6344 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.177/1.223, allocations: 12.94 MB / 0.6471 GB, free: 87.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.797e-06/1.223, allocations: 3.312 kB / 0.6471 GB, free: 87.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.101/1.324, allocations: 37.8 MB / 0.684 GB, free: 75.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.327, allocations: 0.5438 MB / 0.6845 GB, free: 74.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001102/1.328, allocations: 12.19 kB / 0.6845 GB, free: 74.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003012/1.331, allocations: 99.73 kB / 0.6846 GB, free: 74.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007465/1.332, allocations: 164.8 kB / 0.6848 GB, free: 74.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002746/1.332, allocations: 51.95 kB / 0.6848 GB, free: 74.69 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003426/1.336, allocations: 1.29 MB / 0.6861 GB, free: 74.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.122e-06/1.336, allocations: 0 / 0.6861 GB, free: 74.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.006816/1.342, allocations: 0.9034 MB / 0.687 GB, free: 74.13 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/1.344, allocations: 332.5 kB / 0.6873 GB, free: 74.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009855/1.354, allocations: 3.391 MB / 0.6906 GB, free: 72.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/1.354, allocations: 3.906 kB / 0.6906 GB, free: 72.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007165/1.361, allocations: 2.384 MB / 0.693 GB, free: 71.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004192/1.365, allocations: 0.5143 MB / 0.6935 GB, free: 70.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/1.385, allocations: 7.774 MB / 0.701 GB, free: 67.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005333/1.39, allocations: 2.641 MB / 0.7036 GB, free: 66.14 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002967/1.393, allocations: 0.5809 MB / 0.7042 GB, free: 66.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.394, allocations: 157.1 kB / 0.7043 GB, free: 66.08 MB / 398.1 MB Notification: Performance of SimCode: time 1.755e-06/1.394, allocations: 3.938 kB / 0.7043 GB, free: 66.08 MB / 398.1 MB Notification: Performance of Templates: time 0.09566/1.49, allocations: 41.1 MB / 0.7445 GB, free: 40.87 MB / 398.1 MB