Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.952/1.952, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.962e-05/2.968e-05, allocations: 4 kB / 292.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 50.41 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4648/0.5657, allocations: 114.7 MB / 457.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.5661, allocations: 98.11 kB / 458 MB, free: 11.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6135/1.18, allocations: 83.98 MB / 0.5293 GB, free: 93.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.637e-06/1.18, allocations: 0.5156 kB / 0.5293 GB, free: 93.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003458/1.18, allocations: 87.39 kB / 0.5293 GB, free: 93.48 MB / 442.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.01449/1.194, allocations: 3.311 MB / 0.5326 GB, free: 92.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.195, allocations: 10.62 kB / 0.5326 GB, free: 92.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001787/1.196, allocations: 456.2 kB / 0.533 GB, free: 92.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006572/1.203, allocations: 0.7379 MB / 0.5337 GB, free: 92.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01287/1.216, allocations: 3.371 MB / 0.537 GB, free: 91.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003315/1.216, allocations: 238.6 kB / 0.5373 GB, free: 91.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/1.218, allocations: 325.4 kB / 0.5376 GB, free: 91.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01355/1.231, allocations: 4.091 MB / 0.5416 GB, free: 91.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001232/1.231, allocations: 1.5 kB / 0.5416 GB, free: 91.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005946/1.232, allocations: 140.9 kB / 0.5417 GB, free: 91.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002103/1.232, allocations: 147.8 kB / 0.5418 GB, free: 91.22 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0112/1.243, allocations: 3.293 MB / 0.5451 GB, free: 91.21 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/1.275, allocations: 13.48 MB / 0.5582 GB, free: 88.63 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008847/1.284, allocations: 6.841 MB / 0.5649 GB, free: 83.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003294/1.287, allocations: 1.355 MB / 0.5662 GB, free: 83.22 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009208/1.296, allocations: 3.844 MB / 0.57 GB, free: 81.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/1.298, allocations: 0.8143 MB / 0.5708 GB, free: 80.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=130): time 3.557e-06/1.298, allocations: 3.609 kB / 0.5708 GB, free: 80.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=138): time 0.01213/1.31, allocations: 5.074 MB / 0.5757 GB, free: 78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.966e-05/1.31, allocations: 218.7 kB / 0.5759 GB, free: 77.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003364/1.314, allocations: 1.653 MB / 0.5776 GB, free: 77.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002591/1.314, allocations: 47.36 kB / 0.5776 GB, free: 77.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001397/1.316, allocations: 1.479 MB / 0.579 GB, free: 75.93 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005369/1.316, allocations: 484.1 kB / 0.5795 GB, free: 75.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/1.316, allocations: 35.12 kB / 0.5795 GB, free: 75.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/1.316, allocations: 371 kB / 0.5799 GB, free: 75.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001468/1.318, allocations: 0.6307 MB / 0.5805 GB, free: 74.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/1.32, allocations: 1.157 MB / 0.5816 GB, free: 74.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002005/1.322, allocations: 0.8565 MB / 0.5825 GB, free: 73.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-05/1.322, allocations: 3.625 kB / 0.5825 GB, free: 73.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=217) (initialization): time 0.005871/1.328, allocations: 2.316 MB / 0.5847 GB, free: 72.75 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/1.328, allocations: 10.56 kB / 0.5848 GB, free: 72.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/1.328, allocations: 16.38 kB / 0.5848 GB, free: 72.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/1.329, allocations: 291.7 kB / 0.585 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002747/1.332, allocations: 374.2 kB / 0.5854 GB, free: 72.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00657/1.338, allocations: 5.824 MB / 0.5911 GB, free: 67.69 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/1.341, allocations: 98.56 kB / 0.5912 GB, free: 67.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/1.341, allocations: 73.61 kB / 0.5913 GB, free: 67.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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.0003944/1.341, allocations: 218.2 kB / 0.5915 GB, free: 67.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003422/1.342, allocations: 197.6 kB / 0.5917 GB, free: 67.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005316/1.347, allocations: 2.208 MB / 0.5938 GB, free: 66.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.347, allocations: 15.12 kB / 0.5938 GB, free: 66.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.347, allocations: 7.781 kB / 0.5938 GB, free: 66.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-05/1.347, allocations: 7.453 kB / 0.5938 GB, free: 66.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/1.358, allocations: 5.123 MB / 0.5988 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/1.358, allocations: 3.688 kB / 0.5988 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/1.36, allocations: 182.5 kB / 0.599 GB, free: 63.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001994/1.362, allocations: 455.6 kB / 0.5995 GB, free: 63.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002596/1.362, allocations: 42.08 kB / 0.5995 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01204/1.374, allocations: 10.13 MB / 0.6094 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.374, allocations: 7.406 kB / 0.6094 GB, free: 55.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006756/1.381, allocations: 3.091 MB / 0.6124 GB, free: 53.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001282/1.382, allocations: 443.5 kB / 0.6128 GB, free: 53.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004266/1.383, allocations: 41.8 kB / 0.6129 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.384, allocations: 72.14 kB / 0.6129 GB, free: 53.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003072/1.385, allocations: 97.66 kB / 0.613 GB, free: 53.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.385, allocations: 40.69 kB / 0.6131 GB, free: 53.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00251/1.387, allocations: 1.267 MB / 0.6143 GB, free: 52.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.72e-07/1.387, allocations: 0 / 0.6143 GB, free: 52.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003262/1.391, allocations: 0.6307 MB / 0.6149 GB, free: 52.67 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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%) 8,(1,100.0%) 3,(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.008517/1.399, allocations: 4.457 MB / 0.6193 GB, free: 50.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004398/1.404, allocations: 2.046 MB / 0.6213 GB, free: 49.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.404, allocations: 0.625 kB / 0.6213 GB, free: 49.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003074/1.407, allocations: 1.482 MB / 0.6227 GB, free: 48.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/1.411, allocations: 495.1 kB / 0.6232 GB, free: 48.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.427, allocations: 5.497 MB / 0.6286 GB, free: 44.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002944/1.43, allocations: 2.408 MB / 0.6309 GB, free: 42.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002524/1.432, allocations: 416.5 kB / 0.6313 GB, free: 42.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002452/1.435, allocations: 1.173 MB / 0.6325 GB, free: 41.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/1.435, allocations: 3.938 kB / 0.6325 GB, free: 41.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1282/1.563, allocations: 54.16 MB / 0.6854 GB, free: 13.73 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002653/1.563, allocations: 271.6 kB / 0.6856 GB, free: 13.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.514/6.077, allocations: 0 / 0.6856 GB, free: 13.38 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat does not exist to compare? outputFormat=mat