Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Conveyor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.335e-05, allocations: 4 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 50.41 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4988/0.6064, allocations: 108.5 MB / 451.6 MB, free: 2.102 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/0.6068, allocations: 89.56 kB / 451.7 MB, free: 2.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2013/0.8081, allocations: 44.74 MB / 496.5 MB, free: 9.168 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.8082, allocations: 0 / 496.5 MB, free: 9.168 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002854/0.8085, allocations: 55.94 kB / 496.5 MB, free: 9.113 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.008837/0.8174, allocations: 2.073 MB / 498.6 MB, free: 6.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.8174, allocations: 16.02 kB / 498.6 MB, free: 6.973 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001258/0.8187, allocations: 278.4 kB / 498.9 MB, free: 6.691 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.8205, allocations: 280.9 kB / 499.1 MB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005578/0.8262, allocations: 1.424 MB / 0.4888 GB, free: 4.934 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.8265, allocations: 139.8 kB / 0.489 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008906/0.8274, allocations: 195.8 kB / 0.4892 GB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008115/0.8355, allocations: 2.336 MB / 0.4914 GB, free: 2.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.8357, allocations: 7.891 kB / 0.4914 GB, free: 2.188 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003662/0.8361, allocations: 83.98 kB / 0.4915 GB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000153/0.8362, allocations: 83.69 kB / 0.4916 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006587/0.8428, allocations: 1.807 MB / 0.4934 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02241/0.8653, allocations: 7.452 MB / 0.5006 GB, free: 8.562 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/0.8687, allocations: 1.333 MB / 0.502 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002107/0.8709, allocations: 0.7184 MB / 0.5027 GB, free: 6.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004483/0.8714, allocations: 142 kB / 0.5028 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001788/0.8732, allocations: 0.673 MB / 0.5034 GB, free: 5.594 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 5.57e-06/0.8732, allocations: 0 / 0.5034 GB, free: 5.594 MB / 426.7 MB Notification: Performance of matching and sorting (n=131): time 0.03142/0.9046, allocations: 7.386 MB / 0.5107 GB, free: 14.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.9048, allocations: 167.5 kB / 0.5108 GB, free: 13.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003076/0.9079, allocations: 1.222 MB / 0.512 GB, free: 12.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003314/0.9083, allocations: 45.7 kB / 0.5121 GB, free: 12.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001226/0.9095, allocations: 0.9249 MB / 0.513 GB, free: 11.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007977/0.9103, allocations: 457.5 kB / 0.5134 GB, free: 11.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.9105, allocations: 32 kB / 0.5134 GB, free: 11.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.9107, allocations: 365.9 kB / 0.5138 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.9126, allocations: 0.6677 MB / 0.5144 GB, free: 10.17 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002281/0.9149, allocations: 1.012 MB / 0.5154 GB, free: 9.016 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002284/0.9173, allocations: 0.8364 MB / 0.5162 GB, free: 8.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.9173, allocations: 3.953 kB / 0.5162 GB, free: 8.176 MB / 442.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.007835/0.9252, allocations: 2.45 MB / 0.5186 GB, free: 5.703 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/0.9253, allocations: 8 kB / 0.5186 GB, free: 5.695 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.9253, allocations: 12.25 kB / 0.5186 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003055/0.9284, allocations: 0.6549 MB / 0.5193 GB, free: 5.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.9309, allocations: 303.4 kB / 0.5196 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3658/1.297, allocations: 6.453 MB / 0.5259 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003581/1.3, allocations: 109.9 kB / 0.526 GB, free: 115 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005932/1.301, allocations: 56.84 kB / 0.526 GB, free: 115 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (150): * Single equations (assignments): 146 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006505/1.302, allocations: 189.7 kB / 0.5262 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008539/1.303, allocations: 162.8 kB / 0.5264 GB, free: 114.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.314, allocations: 2.351 MB / 0.5287 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/1.314, allocations: 14.12 kB / 0.5287 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.612e-05/1.314, allocations: 5.688 kB / 0.5287 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.418e-05/1.315, allocations: 7.766 kB / 0.5287 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02171/1.336, allocations: 4.789 MB / 0.5334 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.644e-05/1.336, allocations: 2.531 kB / 0.5334 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/1.339, allocations: 186.8 kB / 0.5336 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006208/1.345, allocations: 0.726 MB / 0.5343 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000405/1.346, allocations: 37.8 kB / 0.5343 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02206/1.368, allocations: 8.126 MB / 0.5422 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.368, allocations: 2.438 kB / 0.5422 GB, free: 110.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/1.382, allocations: 3.436 MB / 0.5456 GB, free: 109.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.384, allocations: 392.6 kB / 0.546 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/1.385, allocations: 36.86 kB / 0.546 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002488/1.387, allocations: 82.09 kB / 0.5461 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006696/1.388, allocations: 102.8 kB / 0.5462 GB, free: 109.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002353/1.388, allocations: 41.2 kB / 0.5462 GB, free: 109.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003494/1.392, allocations: 0.9362 MB / 0.5471 GB, free: 109.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.895e-06/1.392, allocations: 2.734 kB / 0.5471 GB, free: 109.6 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004079/1.396, allocations: 0.5175 MB / 0.5476 GB, free: 109.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(5,76.0%) 23,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01524/1.411, allocations: 5.104 MB / 0.5526 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008655/1.42, allocations: 2.289 MB / 0.5549 GB, free: 106.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.42, allocations: 3.938 kB / 0.5549 GB, free: 106.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006063/1.426, allocations: 1.543 MB / 0.5564 GB, free: 105.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004846/1.431, allocations: 372.9 kB / 0.5567 GB, free: 105.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01695/1.448, allocations: 4.055 MB / 0.5607 GB, free: 103.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003086/1.451, allocations: 1.755 MB / 0.5624 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002702/1.454, allocations: 327.1 kB / 0.5627 GB, free: 102.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/1.457, allocations: 0.7684 MB / 0.5635 GB, free: 102.1 MB / 442.7 MB Notification: Performance of SimCode: time 3.536e-06/1.457, allocations: 0 / 0.5635 GB, free: 102.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.575, allocations: 43.78 MB / 0.6062 GB, free: 81.21 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/1.576, allocations: 243.1 kB / 0.6065 GB, free: 80.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.252/5.827, allocations: 4 kB / 0.6065 GB, free: 80.89 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat does not exist to compare? outputFormat=mat