Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.106e-05, allocations: 4 kB / 269.4 MB, free: 6.297 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 47.59 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4799/0.5831, allocations: 112.8 MB / 429.9 MB, free: 7.664 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/0.5835, allocations: 86.5 kB / 429.9 MB, free: 7.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3309/0.9144, allocations: 83.62 MB / 0.5015 GB, free: 10.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9144, allocations: 0 / 0.5015 GB, free: 10.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005082/0.915, allocations: 83.94 kB / 0.5016 GB, free: 10.14 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.01947/0.9345, allocations: 3.307 MB / 0.5048 GB, free: 6.766 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.9345, allocations: 8.031 kB / 0.5048 GB, free: 6.758 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001809/0.9364, allocations: 451.5 kB / 0.5053 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006371/0.9428, allocations: 0.7412 MB / 0.506 GB, free: 5.559 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01922/0.962, allocations: 3.376 MB / 0.5093 GB, free: 2.125 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007352/0.9628, allocations: 238.4 kB / 0.5095 GB, free: 1.891 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00234/0.9652, allocations: 323.9 kB / 0.5098 GB, free: 1.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3009/1.266, allocations: 4.086 MB / 0.5138 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/1.266, allocations: 5.875 kB / 0.5138 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006995/1.267, allocations: 138.3 kB / 0.514 GB, free: 88.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/1.267, allocations: 146.3 kB / 0.5141 GB, free: 88.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/1.279, allocations: 3.292 MB / 0.5173 GB, free: 88.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/1.316, allocations: 13.48 MB / 0.5305 GB, free: 85.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009488/1.326, allocations: 6.849 MB / 0.5372 GB, free: 80.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003422/1.329, allocations: 1.344 MB / 0.5385 GB, free: 80.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009741/1.339, allocations: 3.836 MB / 0.5422 GB, free: 79.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/1.341, allocations: 0.8084 MB / 0.543 GB, free: 79.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=129): time 4.068e-06/1.341, allocations: 3.406 kB / 0.543 GB, free: 79.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=137): time 0.01291/1.354, allocations: 5.027 MB / 0.5479 GB, free: 78.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.012e-05/1.354, allocations: 230.5 kB / 0.5481 GB, free: 78.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003774/1.358, allocations: 1.65 MB / 0.5498 GB, free: 78.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003663/1.358, allocations: 53.36 kB / 0.5498 GB, free: 78.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002065/1.36, allocations: 1.489 MB / 0.5513 GB, free: 77.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007749/1.361, allocations: 477.8 kB / 0.5517 GB, free: 76.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/1.361, allocations: 35.88 kB / 0.5518 GB, free: 76.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/1.361, allocations: 371.7 kB / 0.5521 GB, free: 76.42 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002085/1.363, allocations: 0.6275 MB / 0.5527 GB, free: 76.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/1.366, allocations: 1.159 MB / 0.5539 GB, free: 75.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002967/1.369, allocations: 0.8612 MB / 0.5547 GB, free: 74.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/1.369, allocations: 3.531 kB / 0.5547 GB, free: 74.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008022/1.377, allocations: 2.305 MB / 0.557 GB, free: 74.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/1.377, allocations: 10.16 kB / 0.557 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/1.377, allocations: 15.03 kB / 0.557 GB, free: 74.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001477/1.379, allocations: 294.8 kB / 0.5573 GB, free: 73.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003783/1.383, allocations: 376.4 kB / 0.5576 GB, free: 73.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009393/1.392, allocations: 5.817 MB / 0.5633 GB, free: 68.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.396, allocations: 108.2 kB / 0.5634 GB, free: 68.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003867/1.396, allocations: 73.25 kB / 0.5635 GB, free: 68.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.dutyCycle.nextTimeEvent,dutyCycle.nextTimeEvent,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 190 * 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: 3 * 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: 3 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005625/1.397, allocations: 208.2 kB / 0.5637 GB, free: 68.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/1.397, allocations: 201.8 kB / 0.5639 GB, free: 68.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007604/1.405, allocations: 2.187 MB / 0.566 GB, free: 67.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/1.405, allocations: 14.94 kB / 0.566 GB, free: 67.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/1.405, allocations: 7.125 kB / 0.566 GB, free: 67.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/1.405, allocations: 10.38 kB / 0.566 GB, free: 67.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.421, allocations: 5.109 MB / 0.571 GB, free: 65.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/1.421, allocations: 7.422 kB / 0.571 GB, free: 65.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002037/1.424, allocations: 174.4 kB / 0.5712 GB, free: 65.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002596/1.426, allocations: 463.7 kB / 0.5716 GB, free: 65.08 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/1.426, allocations: 34.59 kB / 0.5717 GB, free: 65.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/1.443, allocations: 10.14 MB / 0.5816 GB, free: 56.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.443, allocations: 5.094 kB / 0.5816 GB, free: 56.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007136/1.45, allocations: 3.105 MB / 0.5846 GB, free: 55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.451, allocations: 436.3 kB / 0.585 GB, free: 54.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005321/1.452, allocations: 33.84 kB / 0.5851 GB, free: 54.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/1.453, allocations: 74.44 kB / 0.5851 GB, free: 54.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/1.454, allocations: 102.6 kB / 0.5852 GB, free: 54.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.454, allocations: 41.84 kB / 0.5853 GB, free: 54.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002688/1.457, allocations: 1.264 MB / 0.5865 GB, free: 54.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.457, allocations: 3.812 kB / 0.5865 GB, free: 54.12 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00348/1.46, allocations: 0.6281 MB / 0.5871 GB, free: 54.05 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 3,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008983/1.469, allocations: 4.504 MB / 0.5915 GB, free: 51.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004821/1.474, allocations: 2.047 MB / 0.5935 GB, free: 50.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.474, allocations: 0 / 0.5935 GB, free: 50.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003324/1.477, allocations: 1.481 MB / 0.595 GB, free: 49.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003962/1.481, allocations: 0.4891 MB / 0.5954 GB, free: 49.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01535/1.497, allocations: 5.506 MB / 0.6008 GB, free: 47.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002718/1.5, allocations: 2.412 MB / 0.6032 GB, free: 46.07 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002401/1.502, allocations: 413.4 kB / 0.6036 GB, free: 46.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002498/1.505, allocations: 1.175 MB / 0.6047 GB, free: 45.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.503e-06/1.505, allocations: 6.812 kB / 0.6047 GB, free: 45.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1411/1.646, allocations: 54.03 MB / 0.6575 GB, free: 7.621 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/1.646, allocations: 236.4 kB / 0.6577 GB, free: 7.305 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.426/6.072, allocations: 4 kB / 0.6577 GB, free: 7.301 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Conveyor_res.mat does not exist to compare? outputFormat=mat