Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMS_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.856/1.856, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.994e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.08925, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5093/0.5986, allocations: 124.2 MB / 424.2 MB, free: 3.797 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5989, allocations: 84.2 kB / 424.3 MB, free: 3.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.824/1.423, allocations: 150.6 MB / 0.5614 GB, free: 65.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.423, allocations: 0 / 0.5614 GB, free: 65.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007382/1.424, allocations: 188.1 kB / 0.5616 GB, free: 65.49 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1778 * Number of variables: 1778 Notification: Performance of Generate backend data structure: time 0.02549/1.449, allocations: 6.557 MB / 0.568 GB, free: 63.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.449, allocations: 10.84 kB / 0.568 GB, free: 63.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003413/1.453, allocations: 0.9254 MB / 0.5689 GB, free: 63.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008638/1.461, allocations: 1.238 MB / 0.5701 GB, free: 62.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02093/1.482, allocations: 6.227 MB / 0.5762 GB, free: 61.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005704/1.483, allocations: 0.499 MB / 0.5767 GB, free: 61.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002668/1.486, allocations: 0.6637 MB / 0.5774 GB, free: 61.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02649/1.512, allocations: 9.174 MB / 0.5863 GB, free: 60.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002678/1.512, allocations: 14.31 kB / 0.5863 GB, free: 60.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/1.514, allocations: 290.9 kB / 0.5866 GB, free: 60.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003252/1.514, allocations: 293.6 kB / 0.5869 GB, free: 60.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02189/1.536, allocations: 7.445 MB / 0.5942 GB, free: 58.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07038/1.607, allocations: 29.48 MB / 0.6229 GB, free: 43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/1.622, allocations: 11.75 MB / 0.6344 GB, free: 31.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007765/1.63, allocations: 3.276 MB / 0.6376 GB, free: 28.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01793/1.648, allocations: 6.855 MB / 0.6443 GB, free: 22.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/1.648, allocations: 64.97 kB / 0.6444 GB, free: 22.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=306): time 6.092e-06/1.648, allocations: 0 / 0.6444 GB, free: 22.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=325): time 0.03314/1.681, allocations: 11.94 MB / 0.656 GB, free: 11.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/1.682, allocations: 85.97 kB / 0.6561 GB, free: 11.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006912/1.688, allocations: 3.443 MB / 0.6595 GB, free: 8.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007468/1.689, allocations: 85.7 kB / 0.6596 GB, free: 8.512 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002279/1.692, allocations: 3.078 MB / 0.6626 GB, free: 5.766 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001475/1.693, allocations: 1.089 MB / 0.6636 GB, free: 4.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/1.693, allocations: 76 kB / 0.6637 GB, free: 4.711 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002205/1.694, allocations: 458.5 kB / 0.6641 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003962/1.698, allocations: 1.791 MB / 0.6659 GB, free: 2.691 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3004/1.998, allocations: 2.689 MB / 0.6685 GB, free: 60.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005925/2.004, allocations: 2.229 MB / 0.6707 GB, free: 60.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.535e-05/2.004, allocations: 8.156 kB / 0.6707 GB, free: 60.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=479) (initialization): time 0.0177/2.022, allocations: 6.206 MB / 0.6768 GB, free: 59.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/2.022, allocations: 17.06 kB / 0.6768 GB, free: 59.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.225e-05/2.022, allocations: 26.31 kB / 0.6768 GB, free: 59.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005059/2.027, allocations: 1.253 MB / 0.678 GB, free: 59.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006476/2.034, allocations: 0.8183 MB / 0.6788 GB, free: 59.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02328/2.057, allocations: 20.7 MB / 0.699 GB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00526/2.062, allocations: 200.8 kB / 0.6992 GB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007637/2.063, allocations: 152.6 kB / 0.6994 GB, free: 45.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 121 * Number of states: 0 () * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 11 {(2,100.0%) 14,(1,100.0%) 8,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000962/2.064, allocations: 329.2 kB / 0.6997 GB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/2.065, allocations: 445.3 kB / 0.7001 GB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/2.08, allocations: 5.971 MB / 0.7059 GB, free: 45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.058e-05/2.08, allocations: 32.03 kB / 0.706 GB, free: 45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.894e-05/2.08, allocations: 20.92 kB / 0.706 GB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.223e-05/2.08, allocations: 17.11 kB / 0.706 GB, free: 45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02993/2.11, allocations: 12.27 MB / 0.718 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/2.11, allocations: 0 / 0.718 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003966/2.114, allocations: 467.6 kB / 0.7184 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006311/2.12, allocations: 1.613 MB / 0.72 GB, free: 43.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004811/2.121, allocations: 75.42 kB / 0.7201 GB, free: 43.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03491/2.156, allocations: 30.14 MB / 0.7495 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/2.156, allocations: 6.719 kB / 0.7495 GB, free: 35.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01904/2.175, allocations: 8.863 MB / 0.7582 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00331/2.178, allocations: 0.9285 MB / 0.7591 GB, free: 30.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/2.179, allocations: 65.09 kB / 0.7591 GB, free: 30.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003767/2.183, allocations: 202.8 kB / 0.7593 GB, free: 30.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009307/2.184, allocations: 280.8 kB / 0.7596 GB, free: 30.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003187/2.184, allocations: 93.64 kB / 0.7597 GB, free: 30.67 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005591/2.19, allocations: 2.625 MB / 0.7623 GB, free: 29.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.19, allocations: 0 / 0.7623 GB, free: 29.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006652/2.197, allocations: 1.38 MB / 0.7636 GB, free: 29.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 16 (aimsM.stator.core.Phi.re,aimsM.stator.core.Phi.im,aimsM.stator.zeroInductor.i0,aimsM.rotor.core.Phi.re,aimsM.rotor.core.Phi.im,aimsM.rotor.zeroInductor.i0,aimsE.i_0_s,aimsE.idq_sr[1],aimsE.idq_sr[2],aimsE.idq_rr[1],aimsE.idq_rr[2],aimsE.i_0_r,loadInertiaM.w,loadInertiaE.w,quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 9 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,rheostatM.booleanStep[1].y,rheostatM.booleanStep[2].y,rheostatM.booleanStep[3].y,rheostatE.booleanStep[1].y,rheostatE.booleanStep[2].y,rheostatE.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 215 * 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: 16 * 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: 16 {(2,100.0%) 14,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12,(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.02047/2.217, allocations: 10.54 MB / 0.7739 GB, free: 24.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01249/2.23, allocations: 6.173 MB / 0.7799 GB, free: 20.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/2.23, allocations: 2.531 kB / 0.7799 GB, free: 20.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009722/2.239, allocations: 4.704 MB / 0.7845 GB, free: 17.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00865/2.248, allocations: 1.248 MB / 0.7857 GB, free: 17.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03307/2.281, allocations: 12.96 MB / 0.7984 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009713/2.291, allocations: 4.611 MB / 0.8029 GB, free: 3.816 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006526/2.297, allocations: 1.039 MB / 0.8039 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00665/2.304, allocations: 2.668 MB / 0.8065 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/2.304, allocations: 0 / 0.8065 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6379/2.942, allocations: 122.7 MB / 0.9264 GB, free: 53.31 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/2.942, allocations: 190.2 kB / 0.9266 GB, free: 53.09 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/9.949, allocations: 4 kB / 0.9266 GB, free: 53.08 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMS_Start_res.mat does not exist to compare? outputFormat=mat