Notification: Performance of FrontEnd - loaded program: time 2.061e-05/2.073e-05, allocations: 4.406 kB / 384.2 MB, free: 98.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05673/0.05677, allocations: 44.52 MB / 428.7 MB, free: 70.91 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2775/0.3344, allocations: 123.8 MB / 0.5396 GB, free: 11.21 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.3346, allocations: 86.53 kB / 0.5397 GB, free: 11.19 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6686/1.003, allocations: 122 MB / 0.6588 GB, free: 61.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.77e-06/1.003, allocations: 0 / 0.6588 GB, free: 61.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004377/1.004, allocations: 147.5 kB / 0.6589 GB, free: 61.58 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1406 * Number of variables: 1406 Notification: Performance of Generate backend data structure: time 0.01571/1.019, allocations: 5.144 MB / 0.664 GB, free: 59.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.02, allocations: 8.125 kB / 0.664 GB, free: 59.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006444/1.026, allocations: 1.012 MB / 0.665 GB, free: 59.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/1.04, allocations: 4.559 MB / 0.6694 GB, free: 58.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/1.041, allocations: 225.3 kB / 0.6696 GB, free: 58.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/1.042, allocations: 324.7 kB / 0.6699 GB, free: 58.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01399/1.056, allocations: 5.066 MB / 0.6749 GB, free: 58.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01622/1.072, allocations: 6.017 MB / 0.6808 GB, free: 57.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001843/1.072, allocations: 14.03 kB / 0.6808 GB, free: 57.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006977/1.073, allocations: 5.156 kB / 0.6808 GB, free: 57.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/1.073, allocations: 245.4 kB / 0.681 GB, free: 57.78 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04401/1.117, allocations: 21.4 MB / 0.7019 GB, free: 52.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008218/1.126, allocations: 8.144 MB / 0.7099 GB, free: 45.54 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003882/1.13, allocations: 2.009 MB / 0.7118 GB, free: 44.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0137/1.143, allocations: 6.104 MB / 0.7178 GB, free: 41.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.143, allocations: 59.41 kB / 0.7178 GB, free: 41.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=228): time 5.825e-06/1.143, allocations: 0 / 0.7178 GB, free: 41.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=255): time 0.02149/1.165, allocations: 8.64 MB / 0.7263 GB, free: 37.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.165, allocations: 82.92 kB / 0.7264 GB, free: 37.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00614/1.171, allocations: 2.187 MB / 0.7285 GB, free: 36.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004526/1.172, allocations: 25.7 kB / 0.7285 GB, free: 36.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002089/1.174, allocations: 2.474 MB / 0.7309 GB, free: 35.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001237/1.175, allocations: 0.8433 MB / 0.7318 GB, free: 34.35 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003323/1.175, allocations: 0 / 0.7318 GB, free: 34.35 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002413/1.176, allocations: 440.2 kB / 0.7322 GB, free: 33.99 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/1.178, allocations: 1.258 MB / 0.7334 GB, free: 33.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002849/1.181, allocations: 2.208 MB / 0.7356 GB, free: 31.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003944/1.185, allocations: 1.817 MB / 0.7373 GB, free: 31.04 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/1.185, allocations: 10.12 kB / 0.7374 GB, free: 31.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01008/1.195, allocations: 4.533 MB / 0.7418 GB, free: 27.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/1.195, allocations: 18.06 kB / 0.7418 GB, free: 27.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.397e-05/1.195, allocations: 36.03 kB / 0.7418 GB, free: 27.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002101/1.197, allocations: 0.7116 MB / 0.7425 GB, free: 26.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003595/1.201, allocations: 0.7569 MB / 0.7433 GB, free: 26.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/1.211, allocations: 9.348 MB / 0.7524 GB, free: 17.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/1.215, allocations: 121.1 kB / 0.7525 GB, free: 17.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003622/1.215, allocations: 143.7 kB / 0.7526 GB, free: 16.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (379): * Single equations (assignments): 373 * 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: 4 * 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: 4 {(6,72.2%) 23,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005861/1.216, allocations: 202.1 kB / 0.7528 GB, free: 16.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/1.217, allocations: 316.1 kB / 0.7531 GB, free: 16.47 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008757/1.225, allocations: 4.109 MB / 0.7572 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/1.225, allocations: 27.66 kB / 0.7572 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.862e-05/1.225, allocations: 16 kB / 0.7572 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.194e-05/1.225, allocations: 12.38 kB / 0.7572 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.242, allocations: 8.413 MB / 0.7654 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.243, allocations: 0 / 0.7654 GB, free: 5.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002173/1.245, allocations: 411 kB / 0.7658 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003145/1.248, allocations: 0.9429 MB / 0.7667 GB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000341/1.248, allocations: 35.12 kB / 0.7668 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02126/1.269, allocations: 15.32 MB / 0.7817 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/1.27, allocations: 7.953 kB / 0.7817 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3205/1.59, allocations: 43.35 MB / 0.8241 GB, free: 57.39 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003333/1.593, allocations: 0.6712 MB / 0.8247 GB, free: 57.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.595, allocations: 16.61 kB / 0.8247 GB, free: 57.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004029/1.599, allocations: 124.2 kB / 0.8249 GB, free: 57.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009929/1.6, allocations: 192.8 kB / 0.825 GB, free: 57.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004233/1.6, allocations: 73.56 kB / 0.8251 GB, free: 57.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.005443/1.606, allocations: 1.608 MB / 0.8267 GB, free: 56.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.209e-06/1.606, allocations: 0 / 0.8267 GB, free: 56.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.009601/1.615, allocations: 1.273 MB / 0.8279 GB, free: 56.99 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 13 (vfController.x,smpmM.inertiaRotor.w,smpmM.stator.core.Phi.re,smpmM.stator.core.Phi.im,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smpmM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smpmE.inertiaRotor.w,smpmE.idq_sr[1],smpmE.idq_sr[2],smpmE.idq_rr[2],smpmE.idq_dr[1],loadInertiaM.phi,loadInertiaE.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 189 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(6,72.2%) 23,(1,100.0%) 5,(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00118/1.617, allocations: 484.3 kB / 0.8284 GB, free: 56.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0077/1.624, allocations: 3.943 MB / 0.8322 GB, free: 56.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.692e-06/1.624, allocations: 1.281 kB / 0.8322 GB, free: 56.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005284/1.63, allocations: 2.669 MB / 0.8349 GB, free: 55.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/1.634, allocations: 0.6765 MB / 0.8355 GB, free: 55.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.657, allocations: 10.78 MB / 0.846 GB, free: 52.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006296/1.664, allocations: 3.596 MB / 0.8495 GB, free: 51.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.004313/1.668, allocations: 0.7863 MB / 0.8503 GB, free: 51 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/1.669, allocations: 233.3 kB / 0.8505 GB, free: 50.98 MB / 414.1 MB Notification: Performance of SimCode: time 2.309e-06/1.669, allocations: 0 / 0.8505 GB, free: 50.98 MB / 414.1 MB Notification: Performance of Templates: time 0.1263/1.796, allocations: 50.83 MB / 0.9002 GB, free: 34.89 MB / 414.1 MB