Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.297e-05, allocations: 0 / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09301/0.09305, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5452, allocations: 111.8 MB / 454.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.5455, allocations: 94.94 kB / 455 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5663/1.112, allocations: 92.74 MB / 0.5349 GB, free: 91.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.351e-06/1.112, allocations: 0 / 0.5349 GB, free: 91.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000303/1.112, allocations: 100.7 kB / 0.535 GB, free: 91.96 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: 1011 * Number of variables: 1011 Notification: Performance of Generate backend data structure: time 0.01202/1.124, allocations: 3.949 MB / 0.5389 GB, free: 90.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.124, allocations: 9.781 kB / 0.5389 GB, free: 90.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/1.13, allocations: 0.8318 MB / 0.5397 GB, free: 90.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0141/1.144, allocations: 3.82 MB / 0.5434 GB, free: 89.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004982/1.145, allocations: 297 kB / 0.5437 GB, free: 89.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001568/1.146, allocations: 384.8 kB / 0.5441 GB, free: 89.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02009/1.167, allocations: 5.136 MB / 0.5491 GB, free: 89.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001731/1.167, allocations: 11.69 kB / 0.5491 GB, free: 89.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009058/1.168, allocations: 162.1 kB / 0.5493 GB, free: 89.33 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002593/1.168, allocations: 167.7 kB / 0.5494 GB, free: 89.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01818/1.186, allocations: 4.297 MB / 0.5536 GB, free: 89.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03475/1.221, allocations: 16.96 MB / 0.5702 GB, free: 84.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008136/1.229, allocations: 8.664 MB / 0.5786 GB, free: 77.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003415/1.233, allocations: 1.809 MB / 0.5804 GB, free: 76.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/1.243, allocations: 4.847 MB / 0.5851 GB, free: 74.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002142/1.245, allocations: 1.241 MB / 0.5863 GB, free: 73.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=183): time 6.133e-06/1.245, allocations: 4 kB / 0.5863 GB, free: 73.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=186): time 0.0126/1.258, allocations: 5.849 MB / 0.5921 GB, free: 70.61 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/1.258, allocations: 226.1 kB / 0.5923 GB, free: 70.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/1.262, allocations: 2.022 MB / 0.5942 GB, free: 69.54 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003267/1.262, allocations: 60.61 kB / 0.5943 GB, free: 69.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/1.264, allocations: 1.736 MB / 0.596 GB, free: 68.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005873/1.264, allocations: 0.5993 MB / 0.5966 GB, free: 67.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/1.264, allocations: 38.22 kB / 0.5966 GB, free: 67.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/1.264, allocations: 398.5 kB / 0.597 GB, free: 67.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/1.266, allocations: 0.9387 MB / 0.5979 GB, free: 66.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002174/1.269, allocations: 1.479 MB / 0.5994 GB, free: 65.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002234/1.271, allocations: 1.158 MB / 0.6005 GB, free: 65.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.458e-05/1.271, allocations: 3.688 kB / 0.6005 GB, free: 65.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006914/1.278, allocations: 3.32 MB / 0.6037 GB, free: 64.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.432e-05/1.278, allocations: 11.5 kB / 0.6038 GB, free: 64.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/1.278, allocations: 18.59 kB / 0.6038 GB, free: 64.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/1.28, allocations: 0.75 MB / 0.6045 GB, free: 63.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/1.282, allocations: 376 kB / 0.6049 GB, free: 63.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/1.296, allocations: 10.82 MB / 0.6154 GB, free: 56.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/1.299, allocations: 138.8 kB / 0.6156 GB, free: 56.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/1.299, allocations: 85.64 kB / 0.6156 GB, free: 56.05 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (208): * Single equations (assignments): 203 * 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%) 8,(9,33.3%) 25,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004959/1.299, allocations: 237.4 kB / 0.6159 GB, free: 55.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004409/1.3, allocations: 243 kB / 0.6161 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007022/1.307, allocations: 3.251 MB / 0.6193 GB, free: 54.3 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.307, allocations: 16.72 kB / 0.6193 GB, free: 54.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/1.307, allocations: 14.84 kB / 0.6193 GB, free: 54.3 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/1.307, allocations: 14.41 kB / 0.6193 GB, free: 54.3 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.321, allocations: 6.855 MB / 0.626 GB, free: 50.21 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.321, allocations: 4 kB / 0.626 GB, free: 50.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.322, allocations: 181.7 kB / 0.6262 GB, free: 50.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00329/1.326, allocations: 0.9474 MB / 0.6271 GB, free: 49.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/1.326, allocations: 47.31 kB / 0.6272 GB, free: 49.24 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01844/1.345, allocations: 15.17 MB / 0.642 GB, free: 34.48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.845e-06/1.345, allocations: 4.031 kB / 0.642 GB, free: 34.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008661/1.353, allocations: 4.719 MB / 0.6466 GB, free: 30.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001714/1.355, allocations: 0.5524 MB / 0.6471 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004483/1.355, allocations: 40 kB / 0.6472 GB, free: 29.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.357, allocations: 113.9 kB / 0.6473 GB, free: 29.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005556/1.358, allocations: 209.7 kB / 0.6475 GB, free: 29.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001705/1.358, allocations: 51.94 kB / 0.6475 GB, free: 29.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002861/1.361, allocations: 1.547 MB / 0.649 GB, free: 27.93 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.927e-06/1.361, allocations: 4 kB / 0.649 GB, free: 27.93 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003724/1.364, allocations: 0.8122 MB / 0.6498 GB, free: 27.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 101 * 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%) 8,(9,33.3%) 25,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007128/1.365, allocations: 449.6 kB / 0.6503 GB, free: 26.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005507/1.371, allocations: 3.061 MB / 0.6532 GB, free: 23.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.693e-06/1.371, allocations: 1.312 kB / 0.6532 GB, free: 23.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003922/1.375, allocations: 2.269 MB / 0.6555 GB, free: 21.78 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/1.378, allocations: 0.6663 MB / 0.6561 GB, free: 21.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.391, allocations: 5.915 MB / 0.6619 GB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003025/1.394, allocations: 2.918 MB / 0.6647 GB, free: 13.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002221/1.396, allocations: 0.4897 MB / 0.6652 GB, free: 13.39 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005404/1.396, allocations: 147.1 kB / 0.6654 GB, free: 13.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.759e-06/1.396, allocations: 3.938 kB / 0.6654 GB, free: 13.25 MB / 442.7 MB Notification: Performance of Templates: time 0.36/1.756, allocations: 42.67 MB / 0.707 GB, free: 95.48 MB / 458.7 MB