Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.693e-05/2.698e-05, allocations: 3.312 kB / 249.8 MB, free: 5.215 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09768/0.09773, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.5655, allocations: 98.9 MB / 393.2 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.5659, allocations: 81.77 kB / 393.3 MB, free: 2.645 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1966/0.7625, allocations: 40.86 MB / 434.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.7626, allocations: 0 / 434.1 MB, free: 5.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002496/0.7628, allocations: 55.94 kB / 434.2 MB, free: 5.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.008449/0.7713, allocations: 1.99 MB / 436.2 MB, free: 3.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.7714, allocations: 12.02 kB / 436.2 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001931/0.7733, allocations: 273.1 kB / 436.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/0.7789, allocations: 1.37 MB / 437.8 MB, free: 1.785 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.7791, allocations: 63.95 kB / 437.9 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008479/0.78, allocations: 122.1 kB / 438 MB, free: 1.605 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006849/0.7868, allocations: 1.746 MB / 439.8 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008375/0.7952, allocations: 2.093 MB / 441.9 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/0.7954, allocations: 11.98 kB / 441.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003029/0.7957, allocations: 4 kB / 441.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/0.7959, allocations: 83.62 kB / 441.9 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02436/0.8203, allocations: 7.457 MB / 449.4 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/0.824, allocations: 1.334 MB / 450.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/0.8269, allocations: 0.8612 MB / 451.6 MB, free: 3.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.8275, allocations: 138.4 kB / 451.7 MB, free: 3.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.8276, allocations: 43.88 kB / 451.8 MB, free: 3.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 5.039e-06/0.8276, allocations: 0 / 451.8 MB, free: 3.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.01612/0.8437, allocations: 4.208 MB / 456 MB, free: 15.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/0.8438, allocations: 64.72 kB / 456.1 MB, free: 15.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.8463, allocations: 0.9014 MB / 457 MB, free: 14.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003375/0.8467, allocations: 29.7 kB / 457 MB, free: 14.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.8479, allocations: 0.8844 MB / 457.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009291/0.8489, allocations: 425.6 kB / 458.3 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.8491, allocations: 0 / 458.3 MB, free: 13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002832/0.8494, allocations: 361.9 kB / 458.6 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/0.8515, allocations: 0.6248 MB / 459.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/0.854, allocations: 0.9373 MB / 460.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.8565, allocations: 0.7753 MB / 461 MB, free: 10.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.981e-05/0.8566, allocations: 4 kB / 461 MB, free: 10.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.009567/0.8662, allocations: 2.12 MB / 463.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.85e-05/0.8663, allocations: 14.12 kB / 463.1 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-05/0.8664, allocations: 16 kB / 463.1 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003387/0.8698, allocations: 0.4884 MB / 463.6 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004305/0.8742, allocations: 327.5 kB / 463.9 MB, free: 7.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/0.8923, allocations: 6.338 MB / 470.3 MB, free: 500 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/0.8956, allocations: 59.83 kB / 470.3 MB, free: 440 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005068/0.8961, allocations: 52 kB / 470.4 MB, free: 388 kB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006532/0.8968, allocations: 148.7 kB / 470.5 MB, free: 232 kB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009742/0.9066, allocations: 1.842 MB / 472.4 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009965/0.9076, allocations: 138.3 kB / 472.5 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.9181, allocations: 1.964 MB / 474.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.152e-05/0.9182, allocations: 16 kB / 474.5 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-05/0.9182, allocations: 4 kB / 474.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.831e-05/0.9183, allocations: 3.984 kB / 474.5 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/0.9401, allocations: 3.953 MB / 478.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.524e-05/0.9401, allocations: 4.281 kB / 478.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003829/0.944, allocations: 231.6 kB / 478.7 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004825/0.9489, allocations: 0.5349 MB / 479.2 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004112/0.9494, allocations: 11.98 kB / 479.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02193/0.9713, allocations: 7.837 MB / 487.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-05/0.9714, allocations: 4.031 kB / 487.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/0.9848, allocations: 3.04 MB / 490.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/0.987, allocations: 355.3 kB / 490.4 MB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000905/0.9879, allocations: 15.94 kB / 490.5 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003033/0.991, allocations: 51.92 kB / 490.5 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009061/0.992, allocations: 109.3 kB / 490.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003826/0.9924, allocations: 35.98 kB / 490.7 MB, free: 11.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00298/0.9955, allocations: 0.669 MB / 491.3 MB, free: 10.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.603e-06/0.9955, allocations: 0 / 491.3 MB, free: 10.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00449/1, allocations: 415.9 kB / 491.7 MB, free: 10.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01544/1.016, allocations: 4.377 MB / 496.1 MB, free: 5.785 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009357/1.025, allocations: 2.195 MB / 498.3 MB, free: 3.512 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/1.025, allocations: 4 kB / 498.3 MB, free: 3.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006617/1.032, allocations: 1.51 MB / 499.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004855/1.037, allocations: 296.5 kB / 0.4884 GB, free: 1.645 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3255/1.362, allocations: 3.831 MB / 0.4921 GB, free: 105 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002186/1.364, allocations: 1.691 MB / 0.4938 GB, free: 104.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002102/1.366, allocations: 316.3 kB / 0.4941 GB, free: 104.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001854/1.368, allocations: 0.7094 MB / 0.4948 GB, free: 104.2 MB / 394.7 MB Notification: Performance of SimCode: time 2.885e-06/1.368, allocations: 0.9375 kB / 0.4948 GB, free: 104.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.485, allocations: 34.39 MB / 0.5284 GB, free: 101.6 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002369/1.485, allocations: 182.4 kB / 0.5285 GB, free: 101.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.18/5.665, allocations: 0 / 0.5285 GB, free: 101.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat