Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.926/1.926, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.5e-05/3.52e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 44.52 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.5459, allocations: 99.56 MB / 399.5 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.5463, allocations: 82.14 kB / 399.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1663/0.7126, allocations: 41.41 MB / 441 MB, free: 8.812 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.7126, allocations: 0 / 441 MB, free: 8.812 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002305/0.7129, allocations: 55.84 kB / 441 MB, free: 8.762 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.007529/0.7204, allocations: 1.987 MB / 443 MB, free: 6.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.7205, allocations: 8.031 kB / 443 MB, free: 6.848 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001001/0.7215, allocations: 277.4 kB / 443.3 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.7229, allocations: 269.1 kB / 443.6 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004699/0.7277, allocations: 1.376 MB / 444.9 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.7279, allocations: 144.3 kB / 445.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008151/0.7288, allocations: 195.8 kB / 445.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007182/0.736, allocations: 2.365 MB / 447.6 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.7361, allocations: 11.42 kB / 447.7 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/0.7364, allocations: 77.31 kB / 447.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.7366, allocations: 83.19 kB / 447.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006284/0.7429, allocations: 1.84 MB / 449.7 MB, free: 2.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02448/0.7674, allocations: 7.846 MB / 457.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.7711, allocations: 1.379 MB / 458.9 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002821/0.774, allocations: 0.8916 MB / 459.8 MB, free: 7.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005201/0.7745, allocations: 142 kB / 459.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.7746, allocations: 43.56 kB / 460 MB, free: 7.758 MB / 346.7 MB Notification: Performance of pre-optimization done (n=111): time 4.058e-06/0.7746, allocations: 0 / 460 MB, free: 7.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=127): time 0.0206/0.7952, allocations: 5.121 MB / 465.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.7953, allocations: 68.66 kB / 465.1 MB, free: 2.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.7981, allocations: 1.089 MB / 466.2 MB, free: 1.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003455/0.7985, allocations: 45.7 kB / 466.3 MB, free: 1.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008808/0.7994, allocations: 0.8518 MB / 467.1 MB, free: 500 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000714/0.8001, allocations: 441.4 kB / 467.6 MB, free: 64 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.8003, allocations: 32 kB / 467.6 MB, free: 32 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.8006, allocations: 370.9 kB / 468 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001847/0.8024, allocations: 0.6482 MB / 468.6 MB, free: 15.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002221/0.8047, allocations: 0.9687 MB / 469.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.8071, allocations: 0.8013 MB / 470.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.8071, allocations: 4 kB / 470.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006728/0.8139, allocations: 2.199 MB / 472.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.8139, allocations: 8 kB / 472.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.814, allocations: 8 kB / 472.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/0.816, allocations: 0.4923 MB / 473.1 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.8187, allocations: 331.5 kB / 473.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.8298, allocations: 6.633 MB / 480 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.832, allocations: 91.81 kB / 480.1 MB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.8323, allocations: 59.95 kB / 480.2 MB, free: 2.863 MB / 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.0004431/0.8328, allocations: 188.6 kB / 480.4 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004756/0.8332, allocations: 146.2 kB / 480.5 MB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/0.8395, allocations: 2.098 MB / 482.6 MB, free: 408 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.8396, allocations: 12 kB / 482.6 MB, free: 396 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.8396, allocations: 4 kB / 482.6 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.215e-05/0.8397, allocations: 7.984 kB / 482.6 MB, free: 384 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/0.8537, allocations: 4.299 MB / 486.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.8537, allocations: 0 / 486.9 MB, free: 12.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002127/0.8559, allocations: 223.7 kB / 487.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00273/0.8587, allocations: 0.5588 MB / 487.7 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003258/0.859, allocations: 35.98 kB / 487.7 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.8719, allocations: 8.177 MB / 495.9 MB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.872, allocations: 4.031 kB / 495.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008594/0.8806, allocations: 3.164 MB / 499.1 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001404/0.8821, allocations: 375.1 kB / 499.5 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/0.8825, allocations: 24 kB / 499.5 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.8841, allocations: 79.92 kB / 499.6 MB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/0.8845, allocations: 104.9 kB / 499.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.8847, allocations: 39.94 kB / 499.7 MB, free: 14.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002035/0.8868, allocations: 0.8304 MB / 0.4888 GB, free: 13.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.8868, allocations: 4 kB / 0.4888 GB, free: 13.74 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002652/0.8895, allocations: 488 kB / 0.4893 GB, free: 13.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.00936/0.8989, allocations: 4.495 MB / 0.4937 GB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005781/0.9047, allocations: 2.301 MB / 0.4959 GB, free: 6.301 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.9047, allocations: 0 / 0.4959 GB, free: 6.301 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004225/0.909, allocations: 1.569 MB / 0.4974 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.9124, allocations: 399.7 kB / 0.4978 GB, free: 4.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.9257, allocations: 4.003 MB / 0.5017 GB, free: 196 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/0.9284, allocations: 1.678 MB / 0.5034 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002072/0.9305, allocations: 0.7258 MB / 0.5041 GB, free: 13.75 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/0.9306, allocations: 0 / 0.5041 GB, free: 13.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.099/5.03, allocations: 78.39 MB / 0.5806 GB, free: 84.76 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat