Running command: translateModel(HanserModelica.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_DOL") Notification: Performance of loadModel(HanserModelica): time 1.955/1.955, allocations: 214.7 MB / 226.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.107e-05/3.118e-05, allocations: 4 kB / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09565, allocations: 49.71 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4597/0.5555, allocations: 151.2 MB / 480.3 MB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.5557, allocations: 74.78 kB / 480.4 MB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235/2.791, allocations: 456.8 MB / 0.9153 GB, free: 39.62 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.877e-06/2.791, allocations: 0 / 0.9153 GB, free: 39.62 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009867/2.792, allocations: 328.2 kB / 0.9156 GB, free: 39.59 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: 3978 * Number of variables: 3978 Notification: Performance of Generate backend data structure: time 0.05501/2.847, allocations: 13.28 MB / 0.9286 GB, free: 35.53 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/2.847, allocations: 13.36 kB / 0.9286 GB, free: 35.53 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05515/2.902, allocations: 6.475 MB / 0.9349 GB, free: 34.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0347/2.937, allocations: 11.51 MB / 0.9461 GB, free: 33.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001479/2.938, allocations: 1.048 MB / 0.9472 GB, free: 33.34 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006188/2.945, allocations: 1.367 MB / 0.9485 GB, free: 33.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07104/3.016, allocations: 23.21 MB / 0.9712 GB, free: 31.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006709/3.016, allocations: 19.08 kB / 0.9712 GB, free: 31.69 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005393/3.022, allocations: 0.5875 MB / 0.9718 GB, free: 31.69 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001226/3.023, allocations: 0.9301 MB / 0.9727 GB, free: 31.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05315/3.076, allocations: 20.81 MB / 0.993 GB, free: 24.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.521/3.597, allocations: 75.13 MB / 1.066 GB, free: 33.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03701/3.634, allocations: 28.17 MB / 1.094 GB, free: 34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01975/3.654, allocations: 9.359 MB / 1.103 GB, free: 33.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07204/3.726, allocations: 29.55 MB / 1.132 GB, free: 32.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/3.726, allocations: 118.4 kB / 1.132 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=934): time 1.583e-05/3.726, allocations: 1.75 kB / 1.132 GB, free: 32.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=942): time 0.08369/3.81, allocations: 33.15 MB / 1.164 GB, free: 22.38 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/3.81, allocations: 161 kB / 1.165 GB, free: 22.28 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/3.821, allocations: 4.101 MB / 1.169 GB, free: 20.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001888/3.823, allocations: 156.5 kB / 1.169 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003875/3.826, allocations: 5.336 MB / 1.174 GB, free: 16.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004416/3.831, allocations: 3.107 MB / 1.177 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/3.833, allocations: 168.9 kB / 1.177 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001174/3.834, allocations: 0.683 MB / 1.178 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01346/3.848, allocations: 5.961 MB / 1.184 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01655/3.864, allocations: 7.789 MB / 1.191 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/3.881, allocations: 7.264 MB / 1.198 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.656e-05/3.881, allocations: 24.84 kB / 1.198 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.04992/3.931, allocations: 18.2 MB / 1.216 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.91e-05/3.931, allocations: 24 kB / 1.216 GB, free: 7.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001284/3.931, allocations: 52 kB / 1.216 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0177/3.949, allocations: 5.872 MB / 1.222 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008889/3.958, allocations: 1.517 MB / 1.223 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4165/4.375, allocations: 20.07 MB / 1.243 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008308/4.383, allocations: 431.8 kB / 1.243 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002728/4.386, allocations: 372.8 kB / 1.244 GB, free: 93.07 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 232 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,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 (800): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of prepare postOptimizeDAE: time 0.004295/4.39, allocations: 0.5598 MB / 1.244 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003359/4.394, allocations: 0.6573 MB / 1.245 GB, free: 92.96 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0489/4.442, allocations: 18.02 MB / 1.262 GB, free: 92.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03323/4.476, allocations: 14.21 MB / 1.276 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.802e-05/4.476, allocations: 7.625 kB / 1.276 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001836/4.476, allocations: 44.86 kB / 1.276 GB, free: 92.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08619/4.562, allocations: 35.4 MB / 1.311 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001297/4.562, allocations: 3.562 kB / 1.311 GB, free: 88.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007155/4.57, allocations: 1.033 MB / 1.312 GB, free: 88.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01674/4.586, allocations: 5.956 MB / 1.318 GB, free: 86.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002075/4.588, allocations: 209.4 kB / 1.318 GB, free: 86.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03458/4.623, allocations: 24.22 MB / 1.342 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.861e-06/4.623, allocations: 4.625 kB / 1.342 GB, free: 69.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05958/4.683, allocations: 27.05 MB / 1.368 GB, free: 57.74 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00697/4.69, allocations: 2.104 MB / 1.37 GB, free: 56.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003302/4.693, allocations: 145.8 kB / 1.37 GB, free: 56.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007047/4.7, allocations: 379.2 kB / 1.371 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00307/4.703, allocations: 0.7075 MB / 1.371 GB, free: 56.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002172/4.706, allocations: 255.2 kB / 1.372 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007907/4.713, allocations: 3.106 MB / 1.375 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.167e-06/4.713, allocations: 0 / 1.375 GB, free: 55.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01403/4.728, allocations: 2.504 MB / 1.377 GB, free: 54.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (loadInertiaQS.w,quadraticLoadTorqueQS.phi,imcQS.rotorCage.port_p.reference.gamma,imc.inertiaRotor.w,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (552): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 44 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 4 {6 9,6 9,6 9,30 175} Notification: Performance of Backend phase and start with SimCode phase: time 0.002875/4.73, allocations: 0.7386 MB / 1.378 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03311/4.764, allocations: 15.25 MB / 1.393 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/4.764, allocations: 3.938 kB / 1.393 GB, free: 41.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01978/4.783, allocations: 8.646 MB / 1.401 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/4.794, allocations: 1.488 MB / 1.403 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4173/5.211, allocations: 26.03 MB / 1.428 GB, free: 87.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02526/5.236, allocations: 9.322 MB / 1.437 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01244/5.249, allocations: 2.064 MB / 1.439 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003451/5.252, allocations: 456.2 kB / 1.44 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of SimCode: time 3.081e-06/5.252, allocations: 0 / 1.44 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of Templates: time 0.3388/5.591, allocations: 154.4 MB / 1.59 GB, free: 26.03 MB / 0.5261 GB