Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.194/2.194, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.435e-05/4.458e-05, allocations: 4 kB / 292.8 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 50.41 MB / 343.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5477/0.6577, allocations: 153.1 MB / 496.3 MB, free: 5.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003792/0.6582, allocations: 96.72 kB / 496.3 MB, free: 5.762 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.737/2.396, allocations: 356.1 MB / 0.8324 GB, free: 33.19 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.354e-06/2.396, allocations: 0 / 0.8324 GB, free: 33.19 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001025/2.397, allocations: 247.8 kB / 0.8327 GB, free: 32.95 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3019 * Number of variables: 3019 Notification: Performance of Generate backend data structure: time 0.04942/2.446, allocations: 10.38 MB / 0.8428 GB, free: 22.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/2.446, allocations: 16.03 kB / 0.8428 GB, free: 22.45 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007168/2.453, allocations: 1.535 MB / 0.8443 GB, free: 20.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04096/2.494, allocations: 4.758 MB / 0.849 GB, free: 16.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03657/2.531, allocations: 9.562 MB / 0.8583 GB, free: 6.488 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/2.532, allocations: 0.7907 MB / 0.8591 GB, free: 5.695 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005578/2.538, allocations: 1.047 MB / 0.8601 GB, free: 4.648 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4358/2.974, allocations: 16.85 MB / 0.8765 GB, free: 34.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007393/2.975, allocations: 21.66 kB / 0.8766 GB, free: 34.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004614/2.979, allocations: 458 kB / 0.877 GB, free: 34.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00161/2.981, allocations: 0.7626 MB / 0.8778 GB, free: 34.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05012/3.031, allocations: 15.01 MB / 0.8924 GB, free: 34.53 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/3.171, allocations: 55.6 MB / 0.9467 GB, free: 17.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03784/3.209, allocations: 33.13 MB / 0.9791 GB, free: 4.465 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01152/3.22, allocations: 4.344 MB / 0.9833 GB, free: 2.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0424/3.263, allocations: 12.52 MB / 0.9955 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007361/3.27, allocations: 3.001 MB / 0.9984 GB, free: 13.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=432): time 7.844e-06/3.27, allocations: 1.062 kB / 0.9984 GB, free: 13.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=450): time 0.05309/3.323, allocations: 17.54 MB / 1.016 GB, free: 4.898 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002428/3.324, allocations: 412.2 kB / 1.016 GB, free: 4.453 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/3.334, allocations: 3.976 MB / 1.02 GB, free: 2.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001019/3.335, allocations: 97.7 kB / 1.02 GB, free: 2.078 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006907/3.342, allocations: 4.756 MB / 1.025 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002985/3.345, allocations: 1.549 MB / 1.026 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008244/3.346, allocations: 120 kB / 1.026 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006082/3.347, allocations: 0.5436 MB / 1.027 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007942/3.355, allocations: 2.747 MB / 1.029 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/3.366, allocations: 4.872 MB / 1.034 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/3.376, allocations: 3.81 MB / 1.038 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.77e-05/3.376, allocations: 16 kB / 1.038 GB, free: 0.7695 MB / 0.4948 GB Notification: Performance of matching and sorting (n=770) (initialization): time 0.0312/3.408, allocations: 9.236 MB / 1.047 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.438e-05/3.408, allocations: 43.95 kB / 1.047 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001407/3.408, allocations: 64 kB / 1.047 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007519/3.415, allocations: 1.5 MB / 1.049 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/3.426, allocations: 1.32 MB / 1.05 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4284/3.855, allocations: 16.34 MB / 1.066 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008525/3.863, allocations: 362.7 kB / 1.066 GB, free: 86.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/3.865, allocations: 285.3 kB / 1.066 GB, free: 86.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 297 * 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 (686): * Single equations (assignments): 680 * 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: 5 * 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: 5 {(1,100.0%) 4,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 4,(14,41.8%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002609/3.868, allocations: 489.3 kB / 1.067 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/3.869, allocations: 0.4947 MB / 1.067 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02815/3.898, allocations: 7.833 MB / 1.075 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.428e-05/3.898, allocations: 46.09 kB / 1.075 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.019e-05/3.898, allocations: 18.12 kB / 1.075 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001561/3.898, allocations: 22.5 kB / 1.075 GB, free: 85.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05301/3.951, allocations: 17.52 MB / 1.092 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.086e-05/3.951, allocations: 3.781 kB / 1.092 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007044/3.958, allocations: 0.75 MB / 1.093 GB, free: 84.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007646/3.966, allocations: 1.556 MB / 1.094 GB, free: 84.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001126/3.967, allocations: 110.2 kB / 1.095 GB, free: 84.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03193/3.999, allocations: 19.52 MB / 1.114 GB, free: 75.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/3.999, allocations: 4.875 kB / 1.114 GB, free: 75.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02895/4.028, allocations: 11.76 MB / 1.125 GB, free: 73.75 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004384/4.032, allocations: 1.153 MB / 1.126 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/4.034, allocations: 102.2 kB / 1.126 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005873/4.04, allocations: 243.7 kB / 1.127 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001529/4.042, allocations: 340.9 kB / 1.127 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006441/4.042, allocations: 133.3 kB / 1.127 GB, free: 73.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00837/4.051, allocations: 3.01 MB / 1.13 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.493e-06/4.051, allocations: 0 / 1.13 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01195/4.063, allocations: 1.944 MB / 1.132 GB, free: 73.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 11 (imcQS.rotorCage.port_p.reference.gamma,massQS.s,massQS.v,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.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 (395): * Single equations (assignments): 386 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(14,41.8%) 44,(1,100.0%) 5,(1,100.0%) 13,(1,100.0%) 8,(1,100.0%) 3,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03129/4.094, allocations: 14.15 MB / 1.146 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02017/4.114, allocations: 7.701 MB / 1.153 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/4.114, allocations: 2.062 kB / 1.153 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01246/4.127, allocations: 4.444 MB / 1.158 GB, free: 64.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01031/4.137, allocations: 1.199 MB / 1.159 GB, free: 64.42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06218/4.199, allocations: 19.76 MB / 1.178 GB, free: 56.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01543/4.215, allocations: 7.024 MB / 1.185 GB, free: 53.97 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0106/4.226, allocations: 1.851 MB / 1.187 GB, free: 52.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009563/4.235, allocations: 4.006 MB / 1.191 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.733e-06/4.235, allocations: 4 kB / 1.191 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8484/5.084, allocations: 154.2 MB / 1.341 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003263/5.084, allocations: 272.7 kB / 1.341 GB, free: 70.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/14.21, allocations: 0 / 1.341 GB, free: 70.29 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat does not exist to compare? outputFormat=mat