Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.961/1.961, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.548e-05, allocations: 6.031 kB / 292.8 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 50.41 MB / 343.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5152/0.6213, allocations: 131.8 MB / 475 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.6217, allocations: 100.4 kB / 475.1 MB, free: 10.83 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.766/2.387, allocations: 379.2 MB / 0.8343 GB, free: 14.19 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.985e-06/2.387, allocations: 0 / 0.8343 GB, free: 14.19 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009765/2.388, allocations: 243.7 kB / 0.8345 GB, free: 13.95 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.07435/2.463, allocations: 10.17 MB / 0.8445 GB, free: 3.688 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.379e-05/2.463, allocations: 12.03 kB / 0.8445 GB, free: 3.676 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01152/2.474, allocations: 1.767 MB / 0.8462 GB, free: 1.895 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07002/2.544, allocations: 5.648 MB / 0.8517 GB, free: 12.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03428/2.579, allocations: 8.93 MB / 0.8605 GB, free: 3.207 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001278/2.58, allocations: 0.7707 MB / 0.8612 GB, free: 2.434 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005402/2.586, allocations: 1.019 MB / 0.8622 GB, free: 1.414 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4576/3.043, allocations: 17.7 MB / 0.8795 GB, free: 37.47 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007154/3.044, allocations: 10.47 kB / 0.8795 GB, free: 37.47 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004625/3.049, allocations: 446.4 kB / 0.8799 GB, free: 37.47 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001701/3.05, allocations: 0.8665 MB / 0.8808 GB, free: 37.45 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05181/3.102, allocations: 15.91 MB / 0.8963 GB, free: 37.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1494/3.252, allocations: 58.45 MB / 0.9534 GB, free: 16.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04727/3.299, allocations: 37.16 MB / 0.9897 GB, free: 15.69 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/3.31, allocations: 4.111 MB / 0.9937 GB, free: 14.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009462/3.311, allocations: 189.7 kB / 0.9939 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001413/3.311, allocations: 90.05 kB / 0.994 GB, free: 13.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=524): time 9.638e-06/3.311, allocations: 2.531 kB / 0.994 GB, free: 13.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=530): time 0.05236/3.363, allocations: 15.54 MB / 1.009 GB, free: 6.938 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/3.363, allocations: 106.6 kB / 1.009 GB, free: 6.867 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009817/3.373, allocations: 3.555 MB / 1.013 GB, free: 5.473 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001167/3.374, allocations: 111.2 kB / 1.013 GB, free: 5.375 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005037/3.38, allocations: 4.508 MB / 1.017 GB, free: 1.992 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003269/3.383, allocations: 1.794 MB / 1.019 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/3.384, allocations: 139.5 kB / 1.019 GB, free: 0.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007117/3.385, allocations: 0.5979 MB / 1.02 GB, free: 72 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01925/3.404, allocations: 3.938 MB / 1.024 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/3.417, allocations: 5.747 MB / 1.029 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01311/3.43, allocations: 4.731 MB / 1.034 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/3.431, allocations: 20 kB / 1.034 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.4421/3.873, allocations: 11.41 MB / 1.045 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/3.873, allocations: 39 kB / 1.045 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/3.873, allocations: 77.59 kB / 1.045 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00727/3.88, allocations: 1.394 MB / 1.046 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01272/3.893, allocations: 1.607 MB / 1.048 GB, free: 79.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02835/3.922, allocations: 10.54 MB / 1.058 GB, free: 77.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008775/3.93, allocations: 414.8 kB / 1.059 GB, free: 77.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002236/3.933, allocations: 337.3 kB / 1.059 GB, free: 77.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 356 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (844): * Single equations (assignments): 839 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.3%) 56} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003294/3.936, allocations: 0.5412 MB / 1.059 GB, free: 77.63 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002003/3.938, allocations: 473.6 kB / 1.06 GB, free: 77.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02796/3.966, allocations: 8.377 MB / 1.068 GB, free: 77.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02127/3.987, allocations: 6.938 MB / 1.075 GB, free: 77.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/3.987, allocations: 10.34 kB / 1.075 GB, free: 77.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001517/3.988, allocations: 28.83 kB / 1.075 GB, free: 77.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08158/4.069, allocations: 19.66 MB / 1.094 GB, free: 75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.582e-05/4.069, allocations: 2.969 kB / 1.094 GB, free: 75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007902/4.077, allocations: 0.9263 MB / 1.095 GB, free: 75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0057/4.083, allocations: 1.222 MB / 1.096 GB, free: 74.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001239/4.084, allocations: 110.7 kB / 1.096 GB, free: 74.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02213/4.106, allocations: 9.132 MB / 1.105 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/4.106, allocations: 0 / 1.105 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03114/4.138, allocations: 12.23 MB / 1.117 GB, free: 72.72 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004538/4.142, allocations: 1.154 MB / 1.118 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001936/4.144, allocations: 103.4 kB / 1.118 GB, free: 72.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005855/4.15, allocations: 283.9 kB / 1.119 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001628/4.152, allocations: 349.3 kB / 1.119 GB, free: 72.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008608/4.153, allocations: 145.9 kB / 1.119 GB, free: 72.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006899/4.159, allocations: 2.651 MB / 1.122 GB, free: 71 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.505e-06/4.16, allocations: 0 / 1.122 GB, free: 71 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01146/4.171, allocations: 1.973 MB / 1.124 GB, free: 70.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (speed.phi,resistor.resistor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (502): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(14,41.8%) 56} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03461/4.206, allocations: 13.76 MB / 1.137 GB, free: 64.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02295/4.229, allocations: 8.391 MB / 1.145 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/4.229, allocations: 0 / 1.145 GB, free: 61.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01171/4.24, allocations: 4.048 MB / 1.149 GB, free: 59.89 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008497/4.249, allocations: 1.002 MB / 1.15 GB, free: 59.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06012/4.309, allocations: 19.78 MB / 1.17 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01416/4.323, allocations: 7.195 MB / 1.177 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01135/4.335, allocations: 2.327 MB / 1.179 GB, free: 37.92 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009516/4.344, allocations: 3.877 MB / 1.183 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of SimCode: time 1.763e-06/4.344, allocations: 0 / 1.183 GB, free: 34.31 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7009/5.045, allocations: 149.4 MB / 1.329 GB, free: 57.18 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/5.046, allocations: 228.4 kB / 1.329 GB, free: 56.87 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.007/13.05, allocations: 8.062 kB / 1.329 GB, free: 56.86 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat does not exist to compare? outputFormat=mat