Running command: translateModel(HanserModelica.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.InductionMachines.IMC_Steinmetz") Notification: Performance of loadModel(HanserModelica): time 1.898/1.898, allocations: 214.7 MB / 226.9 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.834e-05/2.833e-05, allocations: 0 / 279.5 MB, free: 13.07 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 49.71 MB / 329.2 MB, free: 11.27 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.517, allocations: 110 MB / 439.2 MB, free: 6.344 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002277/0.5173, allocations: 75.22 kB / 439.3 MB, free: 6.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2849/0.8022, allocations: 80.66 MB / 0.5078 GB, free: 11.74 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.8022, allocations: 0 / 0.5078 GB, free: 11.74 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002821/0.8025, allocations: 79.94 kB / 0.5078 GB, free: 11.66 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 849 * Number of variables: 849 Notification: Performance of Generate backend data structure: time 0.01107/0.8136, allocations: 3.226 MB / 0.511 GB, free: 8.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.8137, allocations: 8.031 kB / 0.511 GB, free: 8.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005604/0.8193, allocations: 0.7372 MB / 0.5117 GB, free: 7.613 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.8303, allocations: 3.32 MB / 0.5149 GB, free: 4.234 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.8307, allocations: 246.5 kB / 0.5152 GB, free: 3.992 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.8319, allocations: 327.9 kB / 0.5155 GB, free: 3.672 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2619/1.094, allocations: 4.116 MB / 0.5195 GB, free: 95.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001397/1.094, allocations: 5.516 kB / 0.5195 GB, free: 95.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005091/1.095, allocations: 136.1 kB / 0.5197 GB, free: 95.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001983/1.095, allocations: 147.3 kB / 0.5198 GB, free: 95.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008746/1.104, allocations: 3.283 MB / 0.523 GB, free: 95.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02983/1.133, allocations: 13.84 MB / 0.5365 GB, free: 92.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/1.141, allocations: 6.646 MB / 0.543 GB, free: 87.72 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/1.144, allocations: 1.349 MB / 0.5443 GB, free: 87.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008607/1.152, allocations: 3.85 MB / 0.5481 GB, free: 87.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001825/1.154, allocations: 0.9483 MB / 0.549 GB, free: 86.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=153): time 5.149e-06/1.154, allocations: 0 / 0.549 GB, free: 86.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=156): time 0.009681/1.164, allocations: 4.433 MB / 0.5533 GB, free: 85.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.712e-05/1.164, allocations: 234.7 kB / 0.5536 GB, free: 85.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002859/1.167, allocations: 1.522 MB / 0.5551 GB, free: 85.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002685/1.167, allocations: 53.3 kB / 0.5551 GB, free: 85.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/1.169, allocations: 1.427 MB / 0.5565 GB, free: 84.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005558/1.169, allocations: 0.5294 MB / 0.557 GB, free: 84.55 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/1.169, allocations: 43.53 kB / 0.5571 GB, free: 84.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/1.169, allocations: 380.6 kB / 0.5574 GB, free: 84.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/1.171, allocations: 0.6747 MB / 0.5581 GB, free: 84.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/1.173, allocations: 1.282 MB / 0.5593 GB, free: 83.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001865/1.175, allocations: 0.9258 MB / 0.5602 GB, free: 82.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/1.175, allocations: 7.875 kB / 0.5602 GB, free: 82.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.005615/1.18, allocations: 2.563 MB / 0.5627 GB, free: 81.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.557e-05/1.18, allocations: 14.91 kB / 0.5628 GB, free: 81.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.97e-05/1.18, allocations: 21.75 kB / 0.5628 GB, free: 81.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/1.181, allocations: 388.1 kB / 0.5631 GB, free: 81.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002092/1.184, allocations: 399.8 kB / 0.5635 GB, free: 81.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008317/1.192, allocations: 7.868 MB / 0.5712 GB, free: 74.94 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/1.194, allocations: 100 kB / 0.5713 GB, free: 74.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/1.194, allocations: 81 kB / 0.5714 GB, free: 74.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.rmsI[3].mean.y,rmsI[3].mean.y,$PRE.rmsI[2].mean.y,rmsI[2].mean.y,$PRE.rmsI[1].mean.y,rmsI[1].mean.y,booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (210): * Single equations (assignments): 205 * 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: 4 * 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%) 1,(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004443/1.195, allocations: 228 kB / 0.5716 GB, free: 74.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003758/1.195, allocations: 199.8 kB / 0.5718 GB, free: 74.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/1.201, allocations: 2.389 MB / 0.5741 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/1.201, allocations: 14.12 kB / 0.5741 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/1.201, allocations: 7.625 kB / 0.5741 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/1.201, allocations: 7.547 kB / 0.5742 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.211, allocations: 5.226 MB / 0.5793 GB, free: 71.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/1.211, allocations: 0 / 0.5793 GB, free: 71.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/1.212, allocations: 200.1 kB / 0.5794 GB, free: 71.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/1.214, allocations: 0.5402 MB / 0.58 GB, free: 70.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/1.214, allocations: 45.16 kB / 0.58 GB, free: 70.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/1.228, allocations: 12.23 MB / 0.592 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.132e-06/1.228, allocations: 5.719 kB / 0.592 GB, free: 60.7 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006826/1.235, allocations: 3.442 MB / 0.5953 GB, free: 58.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.236, allocations: 446.1 kB / 0.5958 GB, free: 58.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004151/1.237, allocations: 50.12 kB / 0.5958 GB, free: 58.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/1.238, allocations: 70.83 kB / 0.5959 GB, free: 58.61 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003519/1.238, allocations: 123.7 kB / 0.596 GB, free: 58.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.239, allocations: 44.84 kB / 0.596 GB, free: 58.57 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002279/1.241, allocations: 1.156 MB / 0.5972 GB, free: 58.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.262e-06/1.241, allocations: 0 / 0.5972 GB, free: 58.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003546/1.244, allocations: 0.6374 MB / 0.5978 GB, free: 58.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (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,cRun.v,cStart.v,rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,booleanStep.y,greaterThreshold.y,rmsI[1].mean.y,rmsI[2].mean.y,rmsI[3].mean.y) * Number of discrete states: 3 (rmsI[1].mean.x,rmsI[2].mean.x,rmsI[3].mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * 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%) 7,(1,100.0%) 13,(3,100.0%) 9,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008245/1.245, allocations: 427.7 kB / 0.5982 GB, free: 57.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00465/1.25, allocations: 2.355 MB / 0.6005 GB, free: 56.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.209e-06/1.25, allocations: 0 / 0.6005 GB, free: 56.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003502/1.254, allocations: 1.762 MB / 0.6022 GB, free: 55.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/1.257, allocations: 0.5034 MB / 0.6027 GB, free: 55.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.268, allocations: 4.886 MB / 0.6075 GB, free: 53.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/1.271, allocations: 2.392 MB / 0.6098 GB, free: 52.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002251/1.274, allocations: 409.5 kB / 0.6102 GB, free: 52.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/1.274, allocations: 128.5 kB / 0.6103 GB, free: 52.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.802e-06/1.274, allocations: 4 kB / 0.6103 GB, free: 52.11 MB / 442.7 MB Notification: Performance of Templates: time 0.0801/1.354, allocations: 32.25 MB / 0.6418 GB, free: 38.06 MB / 442.7 MB