Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.679e-05/3.69e-05, allocations: 0 / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2666/0.2667, allocations: 38.77 MB / 263.9 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.4455, allocations: 100.7 MB / 364.5 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.4459, allocations: 83.95 kB / 364.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4812/0.9271, allocations: 65.54 MB / 430.2 MB, free: 44.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.9271, allocations: 0 / 430.2 MB, free: 44.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004212/0.9276, allocations: 83.88 kB / 430.2 MB, free: 44.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.01206/0.9396, allocations: 3.241 MB / 433.5 MB, free: 41.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.9397, allocations: 8.031 kB / 433.5 MB, free: 41.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001795/0.9415, allocations: 442.3 kB / 433.9 MB, free: 40.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/0.9442, allocations: 451.1 kB / 434.4 MB, free: 40.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007889/0.9522, allocations: 2.332 MB / 436.7 MB, free: 38.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003169/0.9525, allocations: 230.1 kB / 436.9 MB, free: 37.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001357/0.9539, allocations: 307.9 kB / 437.2 MB, free: 37.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01338/0.9673, allocations: 4.197 MB / 441.4 MB, free: 33.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00016/0.9675, allocations: 11.94 kB / 441.4 MB, free: 33.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001101/0.9686, allocations: 131.9 kB / 441.6 MB, free: 33.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000169/0.9688, allocations: 122 kB / 441.7 MB, free: 32.91 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01081/0.9796, allocations: 3.428 MB / 445.1 MB, free: 29.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03632/1.016, allocations: 13.56 MB / 458.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005332/1.021, allocations: 2.868 MB / 461.5 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004108/1.026, allocations: 1.596 MB / 463.1 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005318/1.026, allocations: 139.1 kB / 463.3 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/1.026, allocations: 53.22 kB / 463.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 5.29e-06/1.026, allocations: 0 / 463.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=183): time 0.02515/1.051, allocations: 7.309 MB / 470.6 MB, free: 3.352 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/1.052, allocations: 73.41 kB / 470.7 MB, free: 3.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005085/1.057, allocations: 2.021 MB / 472.7 MB, free: 1.215 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004879/1.057, allocations: 61.64 kB / 472.8 MB, free: 1.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/1.059, allocations: 1.455 MB / 474.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.06, allocations: 0.6122 MB / 474.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/1.06, allocations: 40 kB / 474.9 MB, free: 15.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002845/1.06, allocations: 381.9 kB / 475.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/1.064, allocations: 1.078 MB / 476.3 MB, free: 13.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003882/1.068, allocations: 1.479 MB / 477.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00384/1.072, allocations: 1.294 MB / 479.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/1.072, allocations: 4 kB / 479.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.0115/1.083, allocations: 3.464 MB / 482.6 MB, free: 7.125 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.196e-05/1.083, allocations: 8 kB / 482.6 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/1.083, allocations: 12 kB / 482.6 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003787/1.087, allocations: 0.8102 MB / 483.4 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003939/1.091, allocations: 463.3 kB / 483.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/1.109, allocations: 10.82 MB / 494.7 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/1.112, allocations: 123.8 kB / 494.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006113/1.113, allocations: 75.98 kB / 494.9 MB, free: 10.13 MB / 346.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.0006469/1.114, allocations: 233.8 kB / 495.1 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009459/1.115, allocations: 245 kB / 495.3 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01067/1.125, allocations: 3.274 MB / 498.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/1.125, allocations: 24 kB / 498.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.652e-05/1.125, allocations: 4 kB / 498.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.743e-05/1.125, allocations: 7.969 kB / 498.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.342/1.468, allocations: 6.934 MB / 0.4937 GB, free: 75.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/1.468, allocations: 2.562 kB / 0.4937 GB, free: 75.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/1.47, allocations: 310.3 kB / 0.494 GB, free: 75.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004135/1.475, allocations: 0.923 MB / 0.4949 GB, free: 75.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002913/1.475, allocations: 41.33 kB / 0.495 GB, free: 75.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01603/1.491, allocations: 13.45 MB / 0.5081 GB, free: 66.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/1.491, allocations: 8.156 kB / 0.5081 GB, free: 66.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/1.502, allocations: 4.992 MB / 0.513 GB, free: 65.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.504, allocations: 0.5801 MB / 0.5135 GB, free: 65.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/1.504, allocations: 37.31 kB / 0.5136 GB, free: 65.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002358/1.506, allocations: 127.8 kB / 0.5137 GB, free: 65.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005392/1.507, allocations: 168.1 kB / 0.5139 GB, free: 65.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/1.507, allocations: 51.86 kB / 0.5139 GB, free: 65.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003121/1.51, allocations: 1.554 MB / 0.5154 GB, free: 65.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.51, allocations: 7.406 kB / 0.5154 GB, free: 65.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003528/1.514, allocations: 0.7391 MB / 0.5162 GB, free: 65.5 MB / 346.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.0119/1.526, allocations: 6.399 MB / 0.5224 GB, free: 63.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007692/1.534, allocations: 3.449 MB / 0.5258 GB, free: 63.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.534, allocations: 7.656 kB / 0.5258 GB, free: 63.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005609/1.539, allocations: 2.437 MB / 0.5282 GB, free: 62.19 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005493/1.545, allocations: 0.6714 MB / 0.5288 GB, free: 62.08 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/1.563, allocations: 6.514 MB / 0.5352 GB, free: 59.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/1.566, allocations: 2.579 MB / 0.5377 GB, free: 58.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003136/1.57, allocations: 0.5741 MB / 0.5383 GB, free: 58.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002671/1.572, allocations: 1.234 MB / 0.5395 GB, free: 57.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.312e-06/1.572, allocations: 0 / 0.5395 GB, free: 57.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1907/1.763, allocations: 67.16 MB / 0.605 GB, free: 5.516 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/1.763, allocations: 204.1 kB / 0.6052 GB, free: 5.289 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.093/6.856, allocations: 3.281 kB / 0.6052 GB, free: 5.289 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat