Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.075/2.075, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.782e-05, allocations: 2.75 kB / 249.8 MB, free: 5.227 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09986/0.09992, allocations: 44.51 MB / 294.3 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4735/0.5734, allocations: 97.61 MB / 391.9 MB, free: 2.914 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5738, allocations: 82.89 kB / 392 MB, free: 2.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1939/0.7677, allocations: 40.48 MB / 432.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.7677, allocations: 0 / 432.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002376/0.768, allocations: 47.94 kB / 432.5 MB, free: 6.375 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008096/0.7761, allocations: 1.984 MB / 434.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.7762, allocations: 12.03 kB / 434.5 MB, free: 4.453 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/0.7778, allocations: 265.2 kB / 434.8 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00509/0.7829, allocations: 1.414 MB / 436.2 MB, free: 3.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.7831, allocations: 60 kB / 436.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005726/0.7837, allocations: 109.4 kB / 436.4 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00588/0.7896, allocations: 1.755 MB / 438.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006827/0.7964, allocations: 2.069 MB / 440.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.689e-05/0.7966, allocations: 4 kB / 440.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.7969, allocations: 0 / 440.2 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.7971, allocations: 79.5 kB / 440.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02201/0.8191, allocations: 7.144 MB / 447.4 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003247/0.8224, allocations: 1.239 MB / 448.6 MB, free: 6.688 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.8245, allocations: 0.7202 MB / 449.4 MB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/0.8249, allocations: 129.8 kB / 449.5 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.825, allocations: 43.34 kB / 449.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.847e-06/0.825, allocations: 0 / 449.5 MB, free: 5.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.01366/0.8387, allocations: 3.925 MB / 453.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.8388, allocations: 64.72 kB / 453.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.8413, allocations: 0.9889 MB / 454.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002294/0.8416, allocations: 25.7 kB / 454.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.8426, allocations: 0.8999 MB / 455.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005351/0.8432, allocations: 342.9 kB / 455.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.8433, allocations: 7.938 kB / 455.8 MB, free: 15.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.8435, allocations: 353.9 kB / 456.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.8451, allocations: 0.5844 MB / 456.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/0.847, allocations: 0.8691 MB / 457.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/0.8489, allocations: 0.7245 MB / 458.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.8489, allocations: 0 / 458.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007522/0.8565, allocations: 2.261 MB / 460.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.8566, allocations: 8 kB / 460.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.8566, allocations: 8.25 kB / 460.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/0.8605, allocations: 0.7663 MB / 461.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.8625, allocations: 231.6 kB / 461.6 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01969/0.8822, allocations: 8.185 MB / 469.8 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.8842, allocations: 59.83 kB / 469.8 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.8844, allocations: 64.08 kB / 469.9 MB, free: 0.9258 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000353/0.8847, allocations: 128.7 kB / 470 MB, free: 0.793 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005113/0.8899, allocations: 1.662 MB / 471.7 MB, free: 15.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005352/0.8905, allocations: 134.4 kB / 471.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005492/0.896, allocations: 1.779 MB / 473.6 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/0.896, allocations: 8 kB / 473.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.896, allocations: 4 kB / 473.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.23e-05/0.8961, allocations: 7.969 kB / 473.6 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.9077, allocations: 3.633 MB / 477.2 MB, free: 9.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.9078, allocations: 4 kB / 477.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/0.9097, allocations: 195.7 kB / 477.4 MB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002479/0.9122, allocations: 459.2 kB / 477.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.9124, allocations: 15.97 kB / 477.9 MB, free: 8.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/0.9229, allocations: 5.924 MB / 483.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/0.923, allocations: 0 / 483.8 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007801/0.9308, allocations: 2.742 MB / 486.6 MB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/0.9322, allocations: 339.4 kB / 486.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/0.9327, allocations: 19.98 kB / 486.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.9343, allocations: 55.92 kB / 487 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003779/0.9347, allocations: 80.61 kB / 487 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.9348, allocations: 39.98 kB / 487.1 MB, free: 15.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002002/0.9368, allocations: 0.748 MB / 487.8 MB, free: 14.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.9369, allocations: 0 / 487.8 MB, free: 14.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00281/0.9397, allocations: 404 kB / 488.2 MB, free: 13.97 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008858/0.9486, allocations: 3.951 MB / 492.2 MB, free: 9.938 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00596/0.9546, allocations: 1.913 MB / 494.1 MB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.9546, allocations: 4.062 kB / 494.1 MB, free: 8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003822/0.9585, allocations: 1.28 MB / 495.4 MB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002992/0.9615, allocations: 276.6 kB / 495.6 MB, free: 6.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.9741, allocations: 3.7 MB / 499.3 MB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002509/0.9766, allocations: 1.735 MB / 0.4893 GB, free: 0.8516 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002055/0.9787, allocations: 295 kB / 0.4896 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2767/1.255, allocations: 0.6959 MB / 0.4903 GB, free: 104.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.833e-06/1.255, allocations: 0 / 0.4903 GB, free: 104.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.392, allocations: 33.6 MB / 0.5231 GB, free: 102.9 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003451/1.393, allocations: 178.6 kB / 0.5233 GB, free: 102.7 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.202/5.595, allocations: 0 / 0.5233 GB, free: 102.7 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_Initialize_res.mat does not exist to compare? outputFormat=mat