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.786/1.786, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.452e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3777, allocations: 38.78 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.5615, allocations: 100.6 MB / 364.5 MB, free: 5.012 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.5619, allocations: 83.95 kB / 364.6 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4842/1.046, allocations: 65.52 MB / 430.1 MB, free: 44.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/1.046, allocations: 0 / 430.1 MB, free: 44.97 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004018/1.047, allocations: 91.86 kB / 430.2 MB, free: 44.88 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.01172/1.058, allocations: 3.245 MB / 433.4 MB, free: 41.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.058, allocations: 12.03 kB / 433.5 MB, free: 41.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/1.06, allocations: 438.3 kB / 433.9 MB, free: 41.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/1.063, allocations: 447.1 kB / 434.3 MB, free: 40.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007625/1.07, allocations: 2.34 MB / 436.7 MB, free: 38.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/1.071, allocations: 230.1 kB / 436.9 MB, free: 38.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/1.072, allocations: 307.9 kB / 437.2 MB, free: 37.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01187/1.084, allocations: 4.225 MB / 441.4 MB, free: 33.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/1.084, allocations: 7.938 kB / 441.4 MB, free: 33.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005409/1.085, allocations: 136 kB / 441.5 MB, free: 33.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/1.085, allocations: 133.9 kB / 441.7 MB, free: 33.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/1.096, allocations: 3.463 MB / 445.1 MB, free: 29.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03287/1.129, allocations: 13.56 MB / 458.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004844/1.133, allocations: 2.886 MB / 461.6 MB, free: 12.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003647/1.137, allocations: 1.604 MB / 463.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004663/1.138, allocations: 139.1 kB / 463.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/1.138, allocations: 52.5 kB / 463.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of pre-optimization done (n=167): time 5.129e-06/1.138, allocations: 3.984 kB / 463.4 MB, free: 10.85 MB / 314.7 MB Notification: Performance of matching and sorting (n=183): time 0.02361/1.161, allocations: 7.317 MB / 470.7 MB, free: 3.457 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/1.161, allocations: 69.41 kB / 470.8 MB, free: 3.379 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004755/1.166, allocations: 2.017 MB / 472.8 MB, free: 1.332 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004657/1.167, allocations: 61.7 kB / 472.8 MB, free: 1.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001218/1.168, allocations: 1.455 MB / 474.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009735/1.169, allocations: 0.6083 MB / 474.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/1.169, allocations: 40 kB / 474.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002544/1.169, allocations: 385.9 kB / 475.3 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003161/1.173, allocations: 1.085 MB / 476.4 MB, free: 13.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003771/1.176, allocations: 1.483 MB / 477.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/1.18, allocations: 1.294 MB / 479.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-05/1.18, allocations: 4 kB / 479.2 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01015/1.19, allocations: 3.491 MB / 482.7 MB, free: 7.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.734e-05/1.19, allocations: 8 kB / 482.7 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/1.191, allocations: 12 kB / 482.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003458/1.194, allocations: 0.8141 MB / 483.5 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/1.198, allocations: 455.3 kB / 484 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0171/1.215, allocations: 10.83 MB / 494.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/1.218, allocations: 123.9 kB / 494.9 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003612/1.219, allocations: 75.98 kB / 495 MB, free: 10.2 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.0006069/1.219, allocations: 224.5 kB / 495.2 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007219/1.22, allocations: 245 kB / 495.4 MB, free: 9.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009361/1.229, allocations: 3.278 MB / 498.7 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.57e-05/1.229, allocations: 20 kB / 498.7 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/1.229, allocations: 8 kB / 498.7 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.27e-05/1.229, allocations: 11.95 kB / 498.8 MB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2606/1.49, allocations: 6.935 MB / 0.4938 GB, free: 75.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.841e-05/1.49, allocations: 5.703 kB / 0.4938 GB, free: 75.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002978/1.493, allocations: 317.5 kB / 0.4942 GB, free: 75.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003995/1.497, allocations: 0.9125 MB / 0.495 GB, free: 75.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004934/1.498, allocations: 47.25 kB / 0.4951 GB, free: 75.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01694/1.515, allocations: 13.46 MB / 0.5082 GB, free: 66.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.515, allocations: 3.719 kB / 0.5082 GB, free: 66.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/1.527, allocations: 4.989 MB / 0.5131 GB, free: 66.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002419/1.529, allocations: 0.5813 MB / 0.5137 GB, free: 66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009411/1.53, allocations: 42.45 kB / 0.5137 GB, free: 66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003094/1.533, allocations: 130 kB / 0.5138 GB, free: 66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007973/1.534, allocations: 163 kB / 0.514 GB, free: 65.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002115/1.534, allocations: 53.53 kB / 0.514 GB, free: 65.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003447/1.538, allocations: 1.554 MB / 0.5156 GB, free: 65.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.538, allocations: 3.5 kB / 0.5156 GB, free: 65.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003781/1.542, allocations: 0.7363 MB / 0.5163 GB, free: 65.83 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.0122/1.554, allocations: 6.404 MB / 0.5225 GB, free: 64.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008054/1.562, allocations: 3.525 MB / 0.526 GB, free: 63.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/1.562, allocations: 0 / 0.526 GB, free: 63.37 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005646/1.568, allocations: 2.505 MB / 0.5284 GB, free: 62.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005365/1.573, allocations: 0.6657 MB / 0.5291 GB, free: 62.33 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.592, allocations: 6.529 MB / 0.5355 GB, free: 59.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003532/1.595, allocations: 2.584 MB / 0.538 GB, free: 58.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003175/1.599, allocations: 0.5733 MB / 0.5385 GB, free: 58.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/1.601, allocations: 1.233 MB / 0.5397 GB, free: 57.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/1.601, allocations: 4.531 kB / 0.5397 GB, free: 57.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1495/1.751, allocations: 67.48 MB / 0.6056 GB, free: 5.184 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002639/1.751, allocations: 217.2 kB / 0.6059 GB, free: 4.945 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.093/6.844, allocations: 0 / 0.6059 GB, free: 4.945 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