Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|smee.is.1.|smee.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.681e-05/2.697e-05, allocations: 4 kB / 269.4 MB, free: 6.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08347/0.08352, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4605, allocations: 111.7 MB / 428.7 MB, free: 8.762 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000232/0.4607, allocations: 86.2 kB / 428.7 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3591/0.8199, allocations: 93.53 MB / 0.51 GB, free: 1.582 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.8199, allocations: 0 / 0.51 GB, free: 1.582 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004066/0.8204, allocations: 107.8 kB / 0.5101 GB, free: 1.477 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.2474/1.068, allocations: 3.532 MB / 0.5136 GB, free: 81.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/1.068, allocations: 9.312 kB / 0.5136 GB, free: 81.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002767/1.071, allocations: 0.5061 MB / 0.5141 GB, free: 81.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007514/1.078, allocations: 2.545 MB / 0.5166 GB, free: 80.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/1.079, allocations: 263.8 kB / 0.5168 GB, free: 80.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/1.08, allocations: 352.2 kB / 0.5172 GB, free: 80.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01287/1.093, allocations: 4.807 MB / 0.5219 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/1.093, allocations: 11.12 kB / 0.5219 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006891/1.094, allocations: 152.3 kB / 0.522 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002365/1.094, allocations: 173.7 kB / 0.5222 GB, free: 80.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01045/1.104, allocations: 3.865 MB / 0.526 GB, free: 80.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03173/1.136, allocations: 14.96 MB / 0.5406 GB, free: 77.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005105/1.141, allocations: 4.124 MB / 0.5446 GB, free: 75.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00353/1.145, allocations: 1.835 MB / 0.5464 GB, free: 75.56 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003718/1.145, allocations: 144.5 kB / 0.5465 GB, free: 75.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/1.145, allocations: 58.81 kB / 0.5466 GB, free: 75.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 6.128e-06/1.145, allocations: 0 / 0.5466 GB, free: 75.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=221): time 0.02149/1.167, allocations: 8.318 MB / 0.5547 GB, free: 73.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/1.167, allocations: 74.25 kB / 0.5548 GB, free: 73.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/1.171, allocations: 2.193 MB / 0.5569 GB, free: 73.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004027/1.172, allocations: 68.86 kB / 0.557 GB, free: 73.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/1.173, allocations: 1.596 MB / 0.5585 GB, free: 71.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006694/1.173, allocations: 0.7453 MB / 0.5593 GB, free: 71.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/1.173, allocations: 47.16 kB / 0.5593 GB, free: 71.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/1.174, allocations: 395.6 kB / 0.5597 GB, free: 70.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00231/1.176, allocations: 1.234 MB / 0.5609 GB, free: 70.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002698/1.179, allocations: 1.651 MB / 0.5625 GB, free: 69.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/1.182, allocations: 1.489 MB / 0.564 GB, free: 68.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.182, allocations: 2.875 kB / 0.564 GB, free: 68.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008552/1.19, allocations: 3.879 MB / 0.5678 GB, free: 67.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/1.19, allocations: 13.64 kB / 0.5678 GB, free: 67.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/1.19, allocations: 13.97 kB / 0.5678 GB, free: 67.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002543/1.193, allocations: 0.7618 MB / 0.5685 GB, free: 67.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003036/1.196, allocations: 0.5304 MB / 0.569 GB, free: 67.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/1.208, allocations: 8.7 MB / 0.5775 GB, free: 61.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/1.21, allocations: 122.2 kB / 0.5777 GB, free: 61.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002937/1.21, allocations: 87.28 kB / 0.5777 GB, free: 61.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005285/1.211, allocations: 239.1 kB / 0.578 GB, free: 61.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006333/1.212, allocations: 271.8 kB / 0.5782 GB, free: 60.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007508/1.219, allocations: 3.641 MB / 0.5818 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.219, allocations: 22.38 kB / 0.5818 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.219, allocations: 7.812 kB / 0.5818 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/1.219, allocations: 10.92 kB / 0.5818 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.236, allocations: 7.941 MB / 0.5896 GB, free: 56.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.236, allocations: 9.062 kB / 0.5896 GB, free: 56.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.238, allocations: 393.2 kB / 0.59 GB, free: 56.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003076/1.242, allocations: 0.8066 MB / 0.5907 GB, free: 56.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002574/1.242, allocations: 57.58 kB / 0.5908 GB, free: 56.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01244/1.254, allocations: 10.22 MB / 0.6008 GB, free: 48.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-06/1.254, allocations: 2.312 kB / 0.6008 GB, free: 48.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/1.264, allocations: 5.61 MB / 0.6063 GB, free: 46.24 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001968/1.266, allocations: 0.6455 MB / 0.6069 GB, free: 45.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007304/1.267, allocations: 54.84 kB / 0.6069 GB, free: 45.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.269, allocations: 123.5 kB / 0.6071 GB, free: 45.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004625/1.27, allocations: 180.3 kB / 0.6072 GB, free: 45.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.27, allocations: 62.53 kB / 0.6073 GB, free: 45.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003067/1.273, allocations: 1.679 MB / 0.6089 GB, free: 44.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.187e-06/1.273, allocations: 2.312 kB / 0.6089 GB, free: 44.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003382/1.276, allocations: 0.8338 MB / 0.6097 GB, free: 43.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007037/1.277, allocations: 392.4 kB / 0.6101 GB, free: 43.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006323/1.284, allocations: 3.704 MB / 0.6137 GB, free: 39.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.073e-06/1.284, allocations: 4 kB / 0.6137 GB, free: 39.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004293/1.288, allocations: 2.389 MB / 0.6161 GB, free: 37.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004152/1.292, allocations: 0.7372 MB / 0.6168 GB, free: 37.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/1.305, allocations: 6.428 MB / 0.6231 GB, free: 31.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003108/1.308, allocations: 2.844 MB / 0.6259 GB, free: 29.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002847/1.311, allocations: 0.6698 MB / 0.6265 GB, free: 28.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008005/1.312, allocations: 174.3 kB / 0.6267 GB, free: 28.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.568e-06/1.312, allocations: 0 / 0.6267 GB, free: 28.73 MB / 426.7 MB Notification: Performance of Templates: time 0.1023/1.414, allocations: 46.24 MB / 0.6718 GB, free: 8.297 MB / 442.7 MB