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.893/1.893, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.989e-05/3e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3049, allocations: 44.5 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.231/0.536, allocations: 105.1 MB / 399.3 MB, free: 8.719 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.5364, allocations: 87.95 kB / 399.4 MB, free: 8.633 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5037/1.04, allocations: 64.49 MB / 463.9 MB, free: 85.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.175e-06/1.04, allocations: 0 / 463.9 MB, free: 85.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004007/1.041, allocations: 83.88 kB / 464 MB, free: 85.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.01197/1.053, allocations: 3.251 MB / 467.2 MB, free: 82.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.053, allocations: 8.031 kB / 467.2 MB, free: 82.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002536/1.055, allocations: 451 kB / 467.7 MB, free: 81.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007488/1.063, allocations: 2.374 MB / 470 MB, free: 79.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001858/1.063, allocations: 100 kB / 470.1 MB, free: 79.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/1.064, allocations: 179.9 kB / 470.3 MB, free: 79 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009815/1.074, allocations: 3.3 MB / 473.6 MB, free: 75.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/1.086, allocations: 3.795 MB / 477.4 MB, free: 71.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/1.087, allocations: 11.84 kB / 477.4 MB, free: 71.73 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007542/1.087, allocations: 11.89 kB / 477.4 MB, free: 71.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/1.087, allocations: 130 kB / 477.6 MB, free: 71.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03371/1.121, allocations: 12.99 MB / 490.5 MB, free: 58.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004631/1.126, allocations: 2.805 MB / 493.4 MB, free: 55.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003238/1.129, allocations: 1.465 MB / 494.8 MB, free: 53.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/1.13, allocations: 143 kB / 495 MB, free: 53.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/1.13, allocations: 56.56 kB / 495 MB, free: 53.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=167): time 4.689e-06/1.13, allocations: 0 / 495 MB, free: 53.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=183): time 0.01754/1.147, allocations: 6.305 MB / 0.4896 GB, free: 47.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/1.147, allocations: 73.39 kB / 0.4896 GB, free: 47.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/1.151, allocations: 1.704 MB / 0.4913 GB, free: 45.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004585/1.151, allocations: 33.64 kB / 0.4913 GB, free: 45.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000969/1.152, allocations: 1.377 MB / 0.4927 GB, free: 44.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007607/1.153, allocations: 0.5889 MB / 0.4933 GB, free: 43.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/1.153, allocations: 0 / 0.4933 GB, free: 43.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/1.154, allocations: 390.8 kB / 0.4936 GB, free: 43.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/1.156, allocations: 1.05 MB / 0.4947 GB, free: 42.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/1.158, allocations: 1.429 MB / 0.496 GB, free: 40.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/1.161, allocations: 1.255 MB / 0.4973 GB, free: 39.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/1.161, allocations: 4 kB / 0.4973 GB, free: 39.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.007726/1.169, allocations: 3.153 MB / 0.5004 GB, free: 36.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/1.169, allocations: 8 kB / 0.5004 GB, free: 36.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/1.169, allocations: 12.34 kB / 0.5004 GB, free: 36.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003003/1.172, allocations: 0.7988 MB / 0.5012 GB, free: 35.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003565/1.176, allocations: 463.3 kB / 0.5016 GB, free: 34.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/1.188, allocations: 10.39 MB / 0.5117 GB, free: 23.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003306/1.192, allocations: 83.88 kB / 0.5118 GB, free: 23.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006302/1.193, allocations: 80.06 kB / 0.5119 GB, free: 23.65 MB / 362.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.0005405/1.193, allocations: 156.5 kB / 0.512 GB, free: 23.49 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007331/1.2, allocations: 2.922 MB / 0.5149 GB, free: 20.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009301/1.201, allocations: 221.3 kB / 0.5151 GB, free: 20.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007721/1.209, allocations: 3.104 MB / 0.5181 GB, free: 17.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/1.209, allocations: 16 kB / 0.5182 GB, free: 17.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/1.209, allocations: 8 kB / 0.5182 GB, free: 17.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.009e-05/1.209, allocations: 7.969 kB / 0.5182 GB, free: 17.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/1.226, allocations: 6.382 MB / 0.5244 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/1.226, allocations: 4 kB / 0.5244 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002596/1.229, allocations: 311.5 kB / 0.5247 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003764/1.232, allocations: 0.8951 MB / 0.5256 GB, free: 9.473 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/1.233, allocations: 19.98 kB / 0.5256 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01628/1.249, allocations: 12.94 MB / 0.5382 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/1.249, allocations: 7.984 kB / 0.5382 GB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01218/1.261, allocations: 4.768 MB / 0.5429 GB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002243/1.264, allocations: 0.5412 MB / 0.5434 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008213/1.264, allocations: 11.98 kB / 0.5434 GB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.267, allocations: 99.88 kB / 0.5435 GB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006937/1.268, allocations: 169.6 kB / 0.5437 GB, free: 5.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002134/1.268, allocations: 55.92 kB / 0.5438 GB, free: 5.922 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003116/1.271, allocations: 1.284 MB / 0.545 GB, free: 4.617 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.271, allocations: 0 / 0.545 GB, free: 4.617 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004069/1.275, allocations: 0.6406 MB / 0.5456 GB, free: 3.977 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (148): * Single equations (assignments): 140 * 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.01316/1.288, allocations: 6.006 MB / 0.5515 GB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008176/1.297, allocations: 3.39 MB / 0.5548 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.297, allocations: 0 / 0.5548 GB, free: 10.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005891/1.303, allocations: 2.384 MB / 0.5571 GB, free: 7.938 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00491/1.308, allocations: 0.5148 MB / 0.5576 GB, free: 7.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.327, allocations: 6.31 MB / 0.5638 GB, free: 1.031 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2956/1.623, allocations: 2.535 MB / 0.5663 GB, free: 106 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005189/1.628, allocations: 1.239 MB / 0.5675 GB, free: 106 MB / 394.7 MB Notification: Performance of SimCode: time 1.482e-06/1.628, allocations: 0 / 0.5675 GB, free: 106 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.655/6.283, allocations: 173.9 MB / 0.7373 GB, free: 120.3 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