Running command: translateModel(HanserModelica.InductionMachines.IMS_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=30000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMS_Start") Notification: Performance of loadModel(HanserModelica): time 2.025/2.025, allocations: 214.7 MB / 226.9 MB, free: 1.293 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.813e-05, allocations: 1.25 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09054, allocations: 49.7 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4655/0.5561, allocations: 159.7 MB / 488.9 MB, free: 5.535 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.5564, allocations: 75.58 kB / 488.9 MB, free: 5.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.909/3.465, allocations: 0.571 GB / 1.048 GB, free: 18.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.247e-06/3.465, allocations: 0 / 1.048 GB, free: 18.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001544/3.467, allocations: 424 kB / 1.049 GB, free: 18.14 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5087 * Number of variables: 5087 Notification: Performance of Generate backend data structure: time 0.07517/3.542, allocations: 17 MB / 1.065 GB, free: 13.63 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/3.542, allocations: 11.19 kB / 1.065 GB, free: 13.63 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06348/3.606, allocations: 8.469 MB / 1.074 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04439/3.65, allocations: 14.57 MB / 1.088 GB, free: 10.86 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001968/3.652, allocations: 1.342 MB / 1.089 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008093/3.66, allocations: 1.744 MB / 1.091 GB, free: 10.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0865/3.747, allocations: 30.14 MB / 1.12 GB, free: 8.656 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007907/3.748, allocations: 24.34 kB / 1.12 GB, free: 8.648 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006896/3.754, allocations: 0.7476 MB / 1.121 GB, free: 8.648 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001634/3.756, allocations: 1.197 MB / 1.122 GB, free: 8.605 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07007/3.826, allocations: 26.91 MB / 1.149 GB, free: 5.969 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6402/4.466, allocations: 98.84 MB / 1.245 GB, free: 43.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04607/4.513, allocations: 35.2 MB / 1.28 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02634/4.539, allocations: 12.77 MB / 1.292 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09375/4.633, allocations: 39.3 MB / 1.33 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/4.633, allocations: 146.8 kB / 1.331 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1269): time 1.886e-05/4.633, allocations: 4.969 kB / 1.331 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1277): time 0.1163/4.749, allocations: 45.76 MB / 1.375 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/4.749, allocations: 192.5 kB / 1.375 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01284/4.762, allocations: 4.982 MB / 1.38 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002503/4.765, allocations: 197.4 kB / 1.38 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004885/4.77, allocations: 6.662 MB / 1.387 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.006985/4.777, allocations: 4.182 MB / 1.391 GB, free: 14 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002801/4.78, allocations: 215.3 kB / 1.391 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001664/4.781, allocations: 0.804 MB / 1.392 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01967/4.801, allocations: 8.152 MB / 1.4 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0243/4.825, allocations: 10.28 MB / 1.41 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0246/4.85, allocations: 9.783 MB / 1.42 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.589e-05/4.85, allocations: 16 kB / 1.42 GB, free: 5.902 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1564) (initialization): time 0.5307/5.381, allocations: 25.25 MB / 1.444 GB, free: 84.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.99e-05/5.381, allocations: 35.41 kB / 1.444 GB, free: 84.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001455/5.381, allocations: 52.44 kB / 1.444 GB, free: 84.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02591/5.407, allocations: 8.945 MB / 1.453 GB, free: 84.53 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01121/5.418, allocations: 1.863 MB / 1.455 GB, free: 84.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04415/5.462, allocations: 30.42 MB / 1.485 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01066/5.473, allocations: 0.5539 MB / 1.485 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00348/5.477, allocations: 468.7 kB / 1.486 GB, free: 72.93 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 248 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 12 * 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 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of prepare postOptimizeDAE: time 0.006399/5.483, allocations: 0.6754 MB / 1.486 GB, free: 72.82 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004258/5.487, allocations: 0.8487 MB / 1.487 GB, free: 72.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06508/5.553, allocations: 25.32 MB / 1.512 GB, free: 71.83 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04563/5.598, allocations: 20.05 MB / 1.531 GB, free: 66.79 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.597e-05/5.598, allocations: 10.45 kB / 1.531 GB, free: 66.79 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002319/5.599, allocations: 56.05 kB / 1.531 GB, free: 66.79 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1152/5.714, allocations: 48.3 MB / 1.579 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001706/5.714, allocations: 4 kB / 1.579 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008751/5.723, allocations: 1.348 MB / 1.58 GB, free: 42.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02413/5.747, allocations: 9.055 MB / 1.589 GB, free: 35.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002855/5.75, allocations: 276 kB / 1.589 GB, free: 35.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04969/5.8, allocations: 36.51 MB / 1.625 GB, free: 280 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.028e-06/5.8, allocations: 6.438 kB / 1.625 GB, free: 276 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4616/6.261, allocations: 37.71 MB / 1.662 GB, free: 82.57 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008944/6.27, allocations: 2.81 MB / 1.664 GB, free: 82.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004032/6.274, allocations: 189.2 kB / 1.664 GB, free: 82.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008588/6.283, allocations: 0.5059 MB / 1.665 GB, free: 82.48 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003746/6.287, allocations: 0.9741 MB / 1.666 GB, free: 82.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002403/6.289, allocations: 338.5 kB / 1.666 GB, free: 82.47 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008683/6.298, allocations: 3.79 MB / 1.67 GB, free: 82.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.046e-06/6.298, allocations: 0 / 1.67 GB, free: 82.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01702/6.315, allocations: 3.246 MB / 1.673 GB, free: 82.23 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 11 (imsQS.rotor.resistor.plug_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,ims.stator.core.Phi.re,ims.stator.core.Phi.im,ims.stator.zeroInductor.i0,ims.rotor.core.Phi.re,ims.rotor.core.Phi.im,ims.rotor.zeroInductor.i0,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (rheostatQS.booleanStep[1].y,rheostatQS.booleanStep[2].y,rheostatQS.booleanStep[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (716): * Single equations (assignments): 650 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 51 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,42 268} Notification: Performance of Backend phase and start with SimCode phase: time 0.003535/6.318, allocations: 0.8901 MB / 1.674 GB, free: 82.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04574/6.364, allocations: 20.85 MB / 1.694 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/6.364, allocations: 7.125 kB / 1.694 GB, free: 80.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.02867/6.393, allocations: 12.05 MB / 1.706 GB, free: 79.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01326/6.406, allocations: 1.967 MB / 1.708 GB, free: 79.58 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08703/6.493, allocations: 34.05 MB / 1.741 GB, free: 66.33 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02566/6.519, allocations: 11.93 MB / 1.753 GB, free: 59.43 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01428/6.533, allocations: 2.627 MB / 1.755 GB, free: 57.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003677/6.537, allocations: 0.5537 MB / 1.756 GB, free: 57.09 MB / 0.5417 GB Notification: Performance of SimCode: time 1.88e-06/6.537, allocations: 0 / 1.756 GB, free: 57.09 MB / 0.5417 GB Notification: Performance of Templates: time 1.2/7.737, allocations: 209.1 MB / 1.96 GB, free: 39.65 MB / 0.5418 GB