Running command: translateModel(HanserModelica.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.SynchronousMachines.SMR_Inverter") Notification: Performance of loadModel(HanserModelica): time 1.932/1.932, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.135e-05/3.147e-05, allocations: 4 kB / 279.5 MB, free: 13.08 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.0876, allocations: 49.7 MB / 329.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.527, allocations: 110.1 MB / 439.2 MB, free: 6.348 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/0.5274, allocations: 73.72 kB / 439.3 MB, free: 6.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2964/0.8239, allocations: 78.73 MB / 0.5059 GB, free: 13.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.402e-06/0.8239, allocations: 0 / 0.5059 GB, free: 13.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002715/0.8242, allocations: 87.86 kB / 0.506 GB, free: 13.6 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01649/0.8407, allocations: 3.089 MB / 0.509 GB, free: 10.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.8408, allocations: 8.031 kB / 0.509 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005444/0.8462, allocations: 0.6907 MB / 0.5097 GB, free: 9.746 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01121/0.8575, allocations: 3.256 MB / 0.5128 GB, free: 6.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/0.8578, allocations: 246.3 kB / 0.5131 GB, free: 6.188 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001066/0.8589, allocations: 315.9 kB / 0.5134 GB, free: 5.879 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01084/0.8698, allocations: 3.993 MB / 0.5173 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-05/0.8699, allocations: 0 / 0.5173 GB, free: 1.754 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005057/0.8704, allocations: 140 kB / 0.5174 GB, free: 1.617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002046/0.8707, allocations: 138.3 kB / 0.5175 GB, free: 1.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2518/1.123, allocations: 3.108 MB / 0.5206 GB, free: 97.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02984/1.152, allocations: 13.23 MB / 0.5335 GB, free: 94.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005526/1.158, allocations: 5.395 MB / 0.5388 GB, free: 90.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/1.16, allocations: 1.043 MB / 0.5398 GB, free: 90.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006291/1.167, allocations: 3.037 MB / 0.5428 GB, free: 89.86 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/1.167, allocations: 48.45 kB / 0.5428 GB, free: 89.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=105): time 5.203e-06/1.167, allocations: 0 / 0.5428 GB, free: 89.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.007486/1.174, allocations: 3.358 MB / 0.5461 GB, free: 88.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/1.174, allocations: 70.62 kB / 0.5461 GB, free: 88.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00294/1.177, allocations: 1.377 MB / 0.5475 GB, free: 88.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002758/1.178, allocations: 44.7 kB / 0.5475 GB, free: 88.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001477/1.179, allocations: 1.418 MB / 0.5489 GB, free: 88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005545/1.18, allocations: 389.8 kB / 0.5493 GB, free: 87.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/1.18, allocations: 32.97 kB / 0.5493 GB, free: 87.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/1.18, allocations: 365.9 kB / 0.5497 GB, free: 87.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/1.182, allocations: 0.5157 MB / 0.5502 GB, free: 87.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002208/1.184, allocations: 0.9999 MB / 0.5512 GB, free: 86.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/1.187, allocations: 0.7203 MB / 0.5519 GB, free: 86.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/1.187, allocations: 6.188 kB / 0.5519 GB, free: 86.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.006608/1.193, allocations: 1.902 MB / 0.5537 GB, free: 86.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/1.193, allocations: 13.81 kB / 0.5537 GB, free: 86.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.565e-05/1.193, allocations: 14.28 kB / 0.5537 GB, free: 86.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007212/1.194, allocations: 137.9 kB / 0.5539 GB, free: 86.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003248/1.197, allocations: 372.8 kB / 0.5542 GB, free: 86.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003974/1.201, allocations: 3.082 MB / 0.5572 GB, free: 83.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.204, allocations: 77.06 kB / 0.5573 GB, free: 83.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/1.205, allocations: 68.38 kB / 0.5574 GB, free: 83.99 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 180 * 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: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005064/1.205, allocations: 202.5 kB / 0.5576 GB, free: 83.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000576/1.206, allocations: 168.8 kB / 0.5577 GB, free: 83.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005902/1.212, allocations: 1.721 MB / 0.5594 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/1.212, allocations: 11.69 kB / 0.5594 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/1.212, allocations: 3.875 kB / 0.5594 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/1.212, allocations: 14.08 kB / 0.5594 GB, free: 83.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/1.228, allocations: 4.241 MB / 0.5636 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.22e-05/1.228, allocations: 2.625 kB / 0.5636 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002612/1.231, allocations: 181.7 kB / 0.5638 GB, free: 81.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002474/1.233, allocations: 313.4 kB / 0.5641 GB, free: 81.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/1.233, allocations: 38.58 kB / 0.5641 GB, free: 81.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01557/1.249, allocations: 7.427 MB / 0.5713 GB, free: 75.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.235e-05/1.249, allocations: 7.531 kB / 0.5714 GB, free: 75.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009773/1.259, allocations: 2.522 MB / 0.5738 GB, free: 73.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.261, allocations: 359.2 kB / 0.5742 GB, free: 73.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007803/1.262, allocations: 38 kB / 0.5742 GB, free: 73.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.264, allocations: 60.02 kB / 0.5743 GB, free: 73.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004564/1.265, allocations: 85.8 kB / 0.5743 GB, free: 73.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/1.265, allocations: 35.06 kB / 0.5744 GB, free: 73.61 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00409/1.269, allocations: 1.045 MB / 0.5754 GB, free: 73.18 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.952e-06/1.269, allocations: 3.281 kB / 0.5754 GB, free: 73.18 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006234/1.275, allocations: 0.5371 MB / 0.5759 GB, free: 73.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smr.inertiaRotor.w,smr.stator.core.Phi.re,smr.stator.core.Phi.im,smr.stator.zeroInductor.i0,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 1,(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.001644/1.277, allocations: 463.6 kB / 0.5764 GB, free: 72.98 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006649/1.284, allocations: 1.577 MB / 0.5779 GB, free: 72.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.96e-06/1.284, allocations: 2.844 kB / 0.5779 GB, free: 72.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002261/1.286, allocations: 1.143 MB / 0.579 GB, free: 71.53 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/1.289, allocations: 463.2 kB / 0.5795 GB, free: 71.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009756/1.299, allocations: 4.347 MB / 0.5837 GB, free: 69.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/1.301, allocations: 2.292 MB / 0.5859 GB, free: 68.42 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001971/1.303, allocations: 371 kB / 0.5863 GB, free: 68.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/1.304, allocations: 118 kB / 0.5864 GB, free: 68.36 MB / 442.7 MB Notification: Performance of SimCode: time 2.831e-06/1.304, allocations: 0 / 0.5864 GB, free: 68.36 MB / 442.7 MB Notification: Performance of Templates: time 0.0652/1.369, allocations: 26.57 MB / 0.6124 GB, free: 65.84 MB / 442.7 MB