Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.055e-05/4.067e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 44.51 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5867/0.7036, allocations: 105.8 MB / 405.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.7039, allocations: 86.55 kB / 405.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2734/0.9774, allocations: 65.36 MB / 471.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.9774, allocations: 0 / 471.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004422/0.9779, allocations: 87.92 kB / 471.3 MB, free: 13.41 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.01353/0.9914, allocations: 3.257 MB / 474.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.9915, allocations: 11.97 kB / 474.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002041/0.9935, allocations: 442.4 kB / 475 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002621/0.9962, allocations: 443.2 kB / 475.4 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008523/1.005, allocations: 2.371 MB / 477.8 MB, free: 6.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/1.005, allocations: 234.2 kB / 478 MB, free: 6.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00147/1.007, allocations: 307.8 kB / 478.3 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/1.021, allocations: 4.213 MB / 482.5 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001517/1.022, allocations: 7.953 kB / 482.5 MB, free: 1.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008085/1.022, allocations: 132 kB / 482.7 MB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/1.023, allocations: 126 kB / 482.8 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01209/1.035, allocations: 3.444 MB / 486.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04086/1.076, allocations: 13.6 MB / 499.8 MB, free: 208 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006277/1.082, allocations: 2.879 MB / 0.4909 GB, free: 13.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004751/1.087, allocations: 1.58 MB / 0.4925 GB, free: 11.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005573/1.087, allocations: 139.1 kB / 0.4926 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/1.088, allocations: 60.55 kB / 0.4927 GB, free: 11.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 4.428e-06/1.088, allocations: 0 / 0.4927 GB, free: 11.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.0264/1.114, allocations: 7.301 MB / 0.4998 GB, free: 3.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/1.114, allocations: 73.36 kB / 0.4999 GB, free: 3.902 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005054/1.119, allocations: 2.044 MB / 0.5018 GB, free: 1.828 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004743/1.12, allocations: 57.7 kB / 0.5019 GB, free: 1.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001385/1.121, allocations: 1.354 MB / 0.5032 GB, free: 408 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009694/1.122, allocations: 0.6083 MB / 0.5038 GB, free: 15.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/1.122, allocations: 44 kB / 0.5039 GB, free: 15.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002233/1.122, allocations: 390.8 kB / 0.5042 GB, free: 15.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/1.125, allocations: 1.078 MB / 0.5053 GB, free: 14.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/1.129, allocations: 1.475 MB / 0.5067 GB, free: 12.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/1.132, allocations: 1.298 MB / 0.508 GB, free: 11.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.132, allocations: 4 kB / 0.508 GB, free: 11.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.0092/1.141, allocations: 3.302 MB / 0.5112 GB, free: 8.008 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/1.141, allocations: 8 kB / 0.5112 GB, free: 8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.967e-05/1.141, allocations: 12 kB / 0.5112 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00358/1.145, allocations: 0.8256 MB / 0.512 GB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003782/1.149, allocations: 459.3 kB / 0.5125 GB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2849/1.434, allocations: 10.8 MB / 0.523 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/1.437, allocations: 128.9 kB / 0.5232 GB, free: 92.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004939/1.438, allocations: 75.19 kB / 0.5232 GB, free: 92.54 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.0005571/1.438, allocations: 225.8 kB / 0.5234 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000853/1.439, allocations: 254 kB / 0.5237 GB, free: 92.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009587/1.449, allocations: 3.272 MB / 0.5269 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-05/1.449, allocations: 18.19 kB / 0.5269 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.361e-05/1.449, allocations: 6.844 kB / 0.5269 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.017e-05/1.449, allocations: 8.719 kB / 0.5269 GB, free: 92.26 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02164/1.47, allocations: 6.954 MB / 0.5337 GB, free: 91.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.98e-05/1.47, allocations: 3.844 kB / 0.5337 GB, free: 91.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/1.473, allocations: 310.6 kB / 0.534 GB, free: 91.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003973/1.477, allocations: 0.914 MB / 0.5349 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00042/1.478, allocations: 43.67 kB / 0.5349 GB, free: 91.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/1.494, allocations: 13.47 MB / 0.5481 GB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/1.494, allocations: 3.062 kB / 0.5481 GB, free: 82.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/1.505, allocations: 4.987 MB / 0.553 GB, free: 82.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/1.508, allocations: 0.5722 MB / 0.5535 GB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008336/1.508, allocations: 44.81 kB / 0.5536 GB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.511, allocations: 125.4 kB / 0.5537 GB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007152/1.512, allocations: 168.8 kB / 0.5538 GB, free: 82.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/1.512, allocations: 54.5 kB / 0.5539 GB, free: 82.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00373/1.516, allocations: 1.569 MB / 0.5554 GB, free: 81.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.042e-06/1.516, allocations: 0 / 0.5554 GB, free: 81.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004233/1.52, allocations: 0.7415 MB / 0.5562 GB, free: 81.85 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.01293/1.533, allocations: 6.379 MB / 0.5624 GB, free: 79.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007926/1.541, allocations: 3.459 MB / 0.5658 GB, free: 78.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.541, allocations: 3.562 kB / 0.5658 GB, free: 78.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005547/1.547, allocations: 2.428 MB / 0.5681 GB, free: 76.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005575/1.553, allocations: 0.6746 MB / 0.5688 GB, free: 76.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/1.571, allocations: 6.514 MB / 0.5752 GB, free: 74.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00304/1.574, allocations: 2.544 MB / 0.5776 GB, free: 73.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002901/1.577, allocations: 1.254 MB / 0.5789 GB, free: 72.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.353e-06/1.577, allocations: 0 / 0.5789 GB, free: 72.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.666/6.243, allocations: 176.4 MB / 0.7511 GB, free: 58.8 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.AIMS_Start_res.mat does not exist to compare? outputFormat=mat