Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.095e-05/3.1e-05, allocations: 5.25 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.09523, allocations: 44.49 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5398, allocations: 105.8 MB / 405.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.5401, allocations: 85.58 kB / 405.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2584/0.7986, allocations: 65.38 MB / 471.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7986, allocations: 0 / 471.2 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003344/0.799, allocations: 79.94 kB / 471.3 MB, free: 13 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01184/0.8108, allocations: 3.253 MB / 474.6 MB, free: 9.684 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.8109, allocations: 11.97 kB / 474.6 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001371/0.8123, allocations: 446.4 kB / 475 MB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/0.8141, allocations: 443.2 kB / 475.4 MB, free: 8.785 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007568/0.8217, allocations: 2.375 MB / 477.8 MB, free: 6.359 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.822, allocations: 230.1 kB / 478 MB, free: 6.133 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000855/0.8229, allocations: 307.9 kB / 478.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.8342, allocations: 4.209 MB / 482.5 MB, free: 1.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.8344, allocations: 11.89 kB / 482.6 MB, free: 1.445 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005126/0.8349, allocations: 132 kB / 482.7 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.8351, allocations: 126 kB / 482.8 MB, free: 1.191 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009994/0.8451, allocations: 3.444 MB / 486.2 MB, free: 13.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/0.8801, allocations: 13.6 MB / 499.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005748/0.8859, allocations: 2.876 MB / 0.4909 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004467/0.8905, allocations: 1.584 MB / 0.4925 GB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004974/0.891, allocations: 143 kB / 0.4926 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.8911, allocations: 52.56 kB / 0.4927 GB, free: 10.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 4.388e-06/0.8911, allocations: 0 / 0.4927 GB, free: 10.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.02684/0.9179, allocations: 7.309 MB / 0.4998 GB, free: 3.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.242e-05/0.9181, allocations: 85.3 kB / 0.4999 GB, free: 3.473 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005428/0.9235, allocations: 2.036 MB / 0.5019 GB, free: 1.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005581/0.9241, allocations: 57.7 kB / 0.5019 GB, free: 1.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.9258, allocations: 1.462 MB / 0.5034 GB, free: 15.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001057/0.9269, allocations: 0.6122 MB / 0.504 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.9271, allocations: 40 kB / 0.504 GB, free: 15.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.9273, allocations: 381.9 kB / 0.5044 GB, free: 14.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002848/0.9302, allocations: 1.078 MB / 0.5054 GB, free: 13.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003192/0.9334, allocations: 1.476 MB / 0.5069 GB, free: 12.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003374/0.9368, allocations: 1.298 MB / 0.5081 GB, free: 10.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/0.9368, allocations: 4 kB / 0.5081 GB, free: 10.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01002/0.9469, allocations: 3.46 MB / 0.5115 GB, free: 7.328 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.947, allocations: 11.98 kB / 0.5115 GB, free: 7.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/0.947, allocations: 16 kB / 0.5115 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00343/0.9504, allocations: 0.8177 MB / 0.5123 GB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/0.9543, allocations: 459.3 kB / 0.5128 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2843/1.239, allocations: 10.8 MB / 0.5233 GB, free: 91.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/1.242, allocations: 130.1 kB / 0.5234 GB, free: 91.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004805/1.243, allocations: 79.5 kB / 0.5235 GB, free: 91.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005721/1.243, allocations: 218.1 kB / 0.5237 GB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008259/1.244, allocations: 246.6 kB / 0.524 GB, free: 91.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008924/1.253, allocations: 3.278 MB / 0.5272 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/1.253, allocations: 17.31 kB / 0.5272 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/1.253, allocations: 13.61 kB / 0.5272 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-05/1.253, allocations: 9.891 kB / 0.5272 GB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02051/1.274, allocations: 6.94 MB / 0.534 GB, free: 90.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/1.274, allocations: 2.75 kB / 0.534 GB, free: 90.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002704/1.276, allocations: 315.3 kB / 0.5343 GB, free: 90.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003879/1.28, allocations: 0.9204 MB / 0.5352 GB, free: 90.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003883/1.281, allocations: 37.92 kB / 0.5352 GB, free: 90.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/1.296, allocations: 13.47 MB / 0.5484 GB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/1.296, allocations: 3.938 kB / 0.5484 GB, free: 81.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/1.307, allocations: 4.989 MB / 0.5532 GB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/1.309, allocations: 0.5775 MB / 0.5538 GB, free: 80.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005318/1.31, allocations: 37.06 kB / 0.5538 GB, free: 80.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002348/1.312, allocations: 127.7 kB / 0.554 GB, free: 80.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005328/1.313, allocations: 172.6 kB / 0.5541 GB, free: 80.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/1.313, allocations: 53.36 kB / 0.5542 GB, free: 80.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00324/1.316, allocations: 1.568 MB / 0.5557 GB, free: 80.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.316, allocations: 0 / 0.5557 GB, free: 80.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003667/1.32, allocations: 0.74 MB / 0.5564 GB, free: 80.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 141 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01122/1.331, allocations: 6.377 MB / 0.5627 GB, free: 78.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006901/1.338, allocations: 3.458 MB / 0.566 GB, free: 76.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.338, allocations: 3.375 kB / 0.566 GB, free: 76.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004832/1.343, allocations: 2.44 MB / 0.5684 GB, free: 75.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004702/1.348, allocations: 0.6724 MB / 0.5691 GB, free: 74.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.364, allocations: 6.547 MB / 0.5755 GB, free: 72.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002698/1.366, allocations: 2.587 MB / 0.578 GB, free: 71.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002918/1.369, allocations: 0.575 MB / 0.5786 GB, free: 71.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002337/1.372, allocations: 1.246 MB / 0.5798 GB, free: 70.42 MB / 410.7 MB Notification: Performance of SimCode: time 8.82e-07/1.372, allocations: 0 / 0.5798 GB, free: 70.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1606/1.532, allocations: 67.64 MB / 0.6458 GB, free: 23.6 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001883/1.533, allocations: 200.6 kB / 0.646 GB, free: 23.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.815/6.348, allocations: 4 kB / 0.646 GB, free: 23.37 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat