Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.2/2.2, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.463e-05/2.46e-05, allocations: 2.75 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09569, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5026/0.5983, allocations: 106.6 MB / 400.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.5987, allocations: 84.8 kB / 401 MB, free: 14.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4392/1.038, allocations: 92.73 MB / 493.7 MB, free: 9.723 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.038, allocations: 3.938 kB / 493.7 MB, free: 9.719 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005157/1.039, allocations: 91.88 kB / 493.8 MB, free: 9.629 MB / 394.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.01604/1.055, allocations: 3.549 MB / 497.4 MB, free: 6.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/1.055, allocations: 12.03 kB / 497.4 MB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/1.058, allocations: 0.4985 MB / 497.9 MB, free: 5.504 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009324/1.067, allocations: 2.544 MB / 0.4887 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/1.068, allocations: 116 kB / 0.4888 GB, free: 2.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/1.069, allocations: 211.9 kB / 0.489 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3214/1.39, allocations: 3.701 MB / 0.4926 GB, free: 66.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/1.406, allocations: 4.321 MB / 0.4969 GB, free: 66.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/1.406, allocations: 4.625 kB / 0.4969 GB, free: 66.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00055/1.406, allocations: 6.594 kB / 0.4969 GB, free: 66.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002822/1.407, allocations: 175.8 kB / 0.497 GB, free: 66.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04172/1.448, allocations: 14.24 MB / 0.5109 GB, free: 63.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005834/1.454, allocations: 4.064 MB / 0.5149 GB, free: 61.98 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003815/1.458, allocations: 1.748 MB / 0.5166 GB, free: 61.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005031/1.459, allocations: 149.1 kB / 0.5168 GB, free: 61.87 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.529e-05/1.459, allocations: 58.22 kB / 0.5168 GB, free: 61.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 5.48e-06/1.459, allocations: 2.531 kB / 0.5168 GB, free: 61.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.02122/1.48, allocations: 7.209 MB / 0.5239 GB, free: 60.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.48, allocations: 75.19 kB / 0.5239 GB, free: 60.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003802/1.484, allocations: 1.743 MB / 0.5256 GB, free: 60.54 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004271/1.484, allocations: 25.7 kB / 0.5257 GB, free: 60.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/1.486, allocations: 1.606 MB / 0.5272 GB, free: 59.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008599/1.487, allocations: 0.7112 MB / 0.5279 GB, free: 59.56 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002237/1.487, allocations: 2.531 kB / 0.5279 GB, free: 59.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/1.487, allocations: 395.7 kB / 0.5283 GB, free: 59.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002673/1.49, allocations: 1.188 MB / 0.5295 GB, free: 59.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002896/1.493, allocations: 1.615 MB / 0.531 GB, free: 58.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003213/1.496, allocations: 1.434 MB / 0.5324 GB, free: 58.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/1.496, allocations: 6.484 kB / 0.5324 GB, free: 58.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.009565/1.505, allocations: 3.66 MB / 0.536 GB, free: 58.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/1.506, allocations: 9.688 kB / 0.536 GB, free: 58.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/1.506, allocations: 11.12 kB / 0.536 GB, free: 58.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003278/1.509, allocations: 0.7519 MB / 0.5368 GB, free: 58.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005741/1.515, allocations: 0.529 MB / 0.5373 GB, free: 58.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/1.534, allocations: 8.353 MB / 0.5455 GB, free: 52.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.538, allocations: 78.3 kB / 0.5455 GB, free: 52.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000424/1.539, allocations: 87.22 kB / 0.5456 GB, free: 52.59 MB / 394.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.0008369/1.54, allocations: 160.1 kB / 0.5458 GB, free: 52.46 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01258/1.552, allocations: 3.21 MB / 0.5489 GB, free: 51.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.553, allocations: 251.5 kB / 0.5491 GB, free: 51.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/1.567, allocations: 3.41 MB / 0.5525 GB, free: 49.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-05/1.568, allocations: 23.81 kB / 0.5525 GB, free: 49.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.593e-05/1.568, allocations: 12.03 kB / 0.5525 GB, free: 49.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.454e-05/1.568, allocations: 10.73 kB / 0.5525 GB, free: 49.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/1.596, allocations: 7.298 MB / 0.5596 GB, free: 47.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.731e-05/1.596, allocations: 3.812 kB / 0.5596 GB, free: 47.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00405/1.6, allocations: 392.8 kB / 0.56 GB, free: 47.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004712/1.605, allocations: 0.7963 MB / 0.5608 GB, free: 46.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008754/1.605, allocations: 26.39 kB / 0.5608 GB, free: 46.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/1.628, allocations: 9.809 MB / 0.5704 GB, free: 39.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.628, allocations: 0 / 0.5704 GB, free: 39.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.641, allocations: 5.385 MB / 0.5757 GB, free: 37.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/1.644, allocations: 0.6019 MB / 0.5762 GB, free: 36.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008792/1.645, allocations: 20.42 kB / 0.5763 GB, free: 36.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.648, allocations: 94.92 kB / 0.5764 GB, free: 36.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008238/1.649, allocations: 186.9 kB / 0.5765 GB, free: 36.96 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002527/1.649, allocations: 63.53 kB / 0.5766 GB, free: 36.95 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00318/1.652, allocations: 1.314 MB / 0.5779 GB, free: 36.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.652, allocations: 0 / 0.5779 GB, free: 36.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004355/1.656, allocations: 0.7198 MB / 0.5786 GB, free: 36.38 MB / 394.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.01359/1.67, allocations: 6.887 MB / 0.5853 GB, free: 32.78 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008607/1.679, allocations: 3.622 MB / 0.5888 GB, free: 30.56 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.679, allocations: 0 / 0.5888 GB, free: 30.56 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005927/1.685, allocations: 2.354 MB / 0.5911 GB, free: 28.46 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005273/1.69, allocations: 0.5237 MB / 0.5917 GB, free: 28.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02696/1.717, allocations: 7.256 MB / 0.5987 GB, free: 21.95 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01902/1.736, allocations: 2.848 MB / 0.6015 GB, free: 19.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009427/1.746, allocations: 0.6286 MB / 0.6021 GB, free: 19.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01311/1.759, allocations: 1.363 MB / 0.6035 GB, free: 18.07 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/1.759, allocations: 0 / 0.6035 GB, free: 18.07 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5455/2.304, allocations: 61.84 MB / 0.6639 GB, free: 67.99 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003064/2.305, allocations: 184.9 kB / 0.664 GB, free: 67.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.474/7.779, allocations: 2.875 kB / 0.664 GB, free: 67.8 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat