Notification: Performance of FrontEnd - loaded program: time 2.318e-05/2.35e-05, allocations: 4 kB / 347.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1965, allocations: 44.51 MB / 391.7 MB, free: 82.25 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.3049, allocations: 89.55 MB / 481.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.3052, allocations: 83.95 kB / 481.3 MB, free: 11.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3515/0.6567, allocations: 43.94 MB / 0.513 GB, free: 86.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.094e-06/0.6567, allocations: 0 / 0.513 GB, free: 86.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001648/0.6569, allocations: 33.28 kB / 0.513 GB, free: 86.47 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.005202/0.6621, allocations: 1.598 MB / 0.5146 GB, free: 85.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.6622, allocations: 10.47 kB / 0.5146 GB, free: 85.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.6643, allocations: 369.3 kB / 0.5149 GB, free: 85.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005233/0.6695, allocations: 1.199 MB / 0.5161 GB, free: 84.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.6697, allocations: 69.64 kB / 0.5162 GB, free: 84.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.6701, allocations: 96.97 kB / 0.5162 GB, free: 84.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003966/0.6741, allocations: 0.8719 MB / 0.5171 GB, free: 84.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004605/0.6787, allocations: 1.206 MB / 0.5183 GB, free: 84.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001204/0.6789, allocations: 15.38 kB / 0.5183 GB, free: 84.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.6792, allocations: 3.375 kB / 0.5183 GB, free: 84.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.807e-05/0.6792, allocations: 40.42 kB / 0.5183 GB, free: 84.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.6955, allocations: 6.116 MB / 0.5243 GB, free: 80 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002495/0.698, allocations: 0.5411 MB / 0.5248 GB, free: 79.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001485/0.6995, allocations: 395.4 kB / 0.5252 GB, free: 79.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.6996, allocations: 10.81 kB / 0.5252 GB, free: 79.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.54e-05/0.6997, allocations: 42.91 kB / 0.5253 GB, free: 79.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 5.804e-06/0.6997, allocations: 0 / 0.5253 GB, free: 79.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.006144/0.7059, allocations: 1.661 MB / 0.5269 GB, free: 78.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.706, allocations: 111 kB / 0.527 GB, free: 78.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002625/0.7086, allocations: 0.8979 MB / 0.5279 GB, free: 78.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.7088, allocations: 25.7 kB / 0.5279 GB, free: 78.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009263/0.7097, allocations: 0.866 MB / 0.5287 GB, free: 77.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/0.7101, allocations: 258.4 kB / 0.529 GB, free: 77.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.897e-05/0.7102, allocations: 3.938 kB / 0.529 GB, free: 77.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.7103, allocations: 343.6 kB / 0.5293 GB, free: 76.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009228/0.7112, allocations: 231.5 kB / 0.5295 GB, free: 76.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.7125, allocations: 0.6614 MB / 0.5302 GB, free: 76.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.7137, allocations: 351.5 kB / 0.5305 GB, free: 75.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-05/0.7138, allocations: 2.938 kB / 0.5305 GB, free: 75.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=146) (initialization): time 0.004271/0.7181, allocations: 1.075 MB / 0.5316 GB, free: 75.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.7181, allocations: 12 kB / 0.5316 GB, free: 75.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.295e-05/0.7182, allocations: 12 kB / 0.5316 GB, free: 75.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.719, allocations: 125.9 kB / 0.5317 GB, free: 74.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.7209, allocations: 258.8 kB / 0.532 GB, free: 74.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005002/0.7259, allocations: 4.068 MB / 0.5359 GB, free: 70.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.7282, allocations: 44.08 kB / 0.536 GB, free: 70.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001645/0.7284, allocations: 55.98 kB / 0.536 GB, free: 70.27 MB / 350.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: dcpm2.core.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 136 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003613/0.7288, allocations: 148.3 kB / 0.5362 GB, free: 70.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.7292, allocations: 130.4 kB / 0.5363 GB, free: 69.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002933/0.7321, allocations: 0.7146 MB / 0.537 GB, free: 69.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.7322, allocations: 8 kB / 0.537 GB, free: 69.24 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.161e-06/0.7322, allocations: 0 / 0.537 GB, free: 69.24 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.7322, allocations: 3.984 kB / 0.537 GB, free: 69.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006965/0.7392, allocations: 2.006 MB / 0.539 GB, free: 67.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.678e-05/0.7393, allocations: 11.95 kB / 0.539 GB, free: 67.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.7407, allocations: 132.3 kB / 0.5391 GB, free: 67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007663/0.7414, allocations: 114.5 kB / 0.5392 GB, free: 66.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/0.7416, allocations: 11.98 kB / 0.5392 GB, free: 66.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005411/0.747, allocations: 4.164 MB / 0.5433 GB, free: 62.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/0.7471, allocations: 4 kB / 0.5433 GB, free: 62.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0257/0.7728, allocations: 9.631 MB / 0.5527 GB, free: 52.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007312/0.7736, allocations: 263.4 kB / 0.5529 GB, free: 51.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.7739, allocations: 8.203 kB / 0.553 GB, free: 51.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.7751, allocations: 31.98 kB / 0.553 GB, free: 51.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.7753, allocations: 68.38 kB / 0.553 GB, free: 51.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/0.7754, allocations: 23.98 kB / 0.5531 GB, free: 51.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001686/0.7771, allocations: 0.6595 MB / 0.5537 GB, free: 51.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.54e-07/0.7771, allocations: 3.938 kB / 0.5537 GB, free: 51.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003376/0.7805, allocations: 439.9 kB / 0.5541 GB, free: 50.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 6 (dcpm1.inertiaRotor.w,dcpm1.la.i,loadTorque1.phi,dcpm2.inertiaRotor.w,dcpm2.la.i,loadTorque2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006721/0.7812, allocations: 344.4 kB / 0.5545 GB, free: 50.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002464/0.7837, allocations: 0.9847 MB / 0.5554 GB, free: 49.29 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.902e-06/0.7838, allocations: 4.188 kB / 0.5554 GB, free: 49.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.7852, allocations: 0.6319 MB / 0.5561 GB, free: 48.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002583/0.7878, allocations: 301.4 kB / 0.5563 GB, free: 48.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008996/0.7968, allocations: 3.001 MB / 0.5593 GB, free: 45.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.7982, allocations: 1.265 MB / 0.5605 GB, free: 43.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001659/0.7998, allocations: 170.8 kB / 0.5607 GB, free: 43.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.8003, allocations: 91.42 kB / 0.5608 GB, free: 43.64 MB / 350.1 MB Notification: Performance of SimCode: time 1.762e-06/0.8003, allocations: 0 / 0.5608 GB, free: 43.64 MB / 350.1 MB Notification: Performance of Templates: time 0.05682/0.8572, allocations: 16.83 MB / 0.5772 GB, free: 26.83 MB / 350.1 MB