Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.67/1.67, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.809e-05, allocations: 4 kB / 225.1 MB, free: 2.137 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2546, allocations: 38.77 MB / 263.9 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.4509, allocations: 102.1 MB / 366 MB, free: 3.438 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.4513, allocations: 91.94 kB / 366 MB, free: 3.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6089/1.06, allocations: 94.35 MB / 460.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.06, allocations: 0 / 460.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004262/1.061, allocations: 103.9 kB / 460.5 MB, free: 14.3 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.0127/1.073, allocations: 3.537 MB / 464 MB, free: 10.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.073, allocations: 8.031 kB / 464 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001843/1.075, allocations: 0.4978 MB / 464.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002475/1.078, allocations: 0.5067 MB / 465.1 MB, free: 9.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007887/1.086, allocations: 2.505 MB / 467.6 MB, free: 7.117 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/1.086, allocations: 263 kB / 467.8 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/1.088, allocations: 347.9 kB / 468.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0136/1.101, allocations: 4.812 MB / 473 MB, free: 1.555 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001368/1.102, allocations: 15.94 kB / 473 MB, free: 1.539 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006933/1.102, allocations: 152 kB / 473.1 MB, free: 1.391 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002174/1.102, allocations: 167 kB / 473.3 MB, free: 1.227 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0132/1.116, allocations: 3.897 MB / 477.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04302/1.159, allocations: 14.89 MB / 492.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00751/1.166, allocations: 4.146 MB / 496.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004627/1.171, allocations: 1.831 MB / 498.1 MB, free: 7.816 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005017/1.171, allocations: 155 kB / 498.2 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.277e-05/1.172, allocations: 60.5 kB / 498.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.759e-06/1.172, allocations: 4 kB / 498.3 MB, free: 7.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.2782/1.45, allocations: 8.32 MB / 0.4947 GB, free: 55.84 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/1.45, allocations: 75 kB / 0.4948 GB, free: 55.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/1.455, allocations: 2.167 MB / 0.4969 GB, free: 55.57 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005871/1.456, allocations: 63.67 kB / 0.497 GB, free: 55.54 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001599/1.458, allocations: 1.59 MB / 0.4985 GB, free: 55.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.459, allocations: 0.7353 MB / 0.4992 GB, free: 55.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/1.459, allocations: 42.31 kB / 0.4993 GB, free: 55.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/1.459, allocations: 395.6 kB / 0.4997 GB, free: 54.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/1.463, allocations: 1.235 MB / 0.5009 GB, free: 54.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005189/1.468, allocations: 1.669 MB / 0.5025 GB, free: 54.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005325/1.473, allocations: 1.487 MB / 0.5039 GB, free: 54.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.548e-05/1.473, allocations: 10.59 kB / 0.504 GB, free: 54.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01557/1.489, allocations: 3.916 MB / 0.5078 GB, free: 54.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/1.489, allocations: 7.844 kB / 0.5078 GB, free: 54.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/1.489, allocations: 11.41 kB / 0.5078 GB, free: 54.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004382/1.494, allocations: 0.7542 MB / 0.5085 GB, free: 54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/1.499, allocations: 0.5287 MB / 0.5091 GB, free: 54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/1.519, allocations: 8.713 MB / 0.5176 GB, free: 50.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004929/1.524, allocations: 119 kB / 0.5177 GB, free: 50.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008927/1.525, allocations: 93.02 kB / 0.5178 GB, free: 50.02 MB / 346.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.001049/1.526, allocations: 228.6 kB / 0.518 GB, free: 49.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/1.527, allocations: 278.3 kB / 0.5182 GB, free: 49.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01276/1.54, allocations: 3.642 MB / 0.5218 GB, free: 49.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-05/1.54, allocations: 21.56 kB / 0.5218 GB, free: 49.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.656e-05/1.54, allocations: 8.844 kB / 0.5218 GB, free: 49.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.684e-05/1.54, allocations: 11.06 kB / 0.5218 GB, free: 49.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03109/1.571, allocations: 7.941 MB / 0.5296 GB, free: 48.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.723e-05/1.571, allocations: 3.469 kB / 0.5296 GB, free: 48.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004332/1.576, allocations: 395.1 kB / 0.53 GB, free: 48.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005049/1.581, allocations: 0.8039 MB / 0.5308 GB, free: 48.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006274/1.582, allocations: 55.5 kB / 0.5308 GB, free: 48.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/1.603, allocations: 10.21 MB / 0.5408 GB, free: 41.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/1.603, allocations: 3.125 kB / 0.5408 GB, free: 41.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.621, allocations: 5.619 MB / 0.5463 GB, free: 39.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003529/1.625, allocations: 0.6485 MB / 0.5469 GB, free: 38.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/1.626, allocations: 46.77 kB / 0.547 GB, free: 38.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004504/1.631, allocations: 128.1 kB / 0.5471 GB, free: 38.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001118/1.632, allocations: 180 kB / 0.5472 GB, free: 38.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003458/1.633, allocations: 70.75 kB / 0.5473 GB, free: 38.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.005747/1.638, allocations: 1.662 MB / 0.5489 GB, free: 37.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.638, allocations: 0 / 0.5489 GB, free: 37.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005655/1.644, allocations: 0.8365 MB / 0.5498 GB, free: 37.79 MB / 346.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.01964/1.664, allocations: 7.135 MB / 0.5567 GB, free: 34.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01292/1.677, allocations: 3.781 MB / 0.5604 GB, free: 32.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/1.677, allocations: 3.75 kB / 0.5604 GB, free: 32.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008462/1.685, allocations: 2.434 MB / 0.5628 GB, free: 31.26 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008275/1.694, allocations: 0.7308 MB / 0.5635 GB, free: 31.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03045/1.724, allocations: 7.493 MB / 0.5708 GB, free: 27.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006499/1.731, allocations: 2.835 MB / 0.5736 GB, free: 25.53 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.005407/1.736, allocations: 0.6789 MB / 0.5743 GB, free: 25.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004598/1.741, allocations: 1.384 MB / 0.5756 GB, free: 23.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.803e-06/1.741, allocations: 0 / 0.5756 GB, free: 23.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4572/2.198, allocations: 74.46 MB / 0.6483 GB, free: 62.64 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/2.198, allocations: 214.9 kB / 0.6485 GB, free: 62.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.364/7.562, allocations: 3.75 kB / 0.6485 GB, free: 62.42 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat