Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.632/2.632, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.746e-05, allocations: 3.984 kB / 292.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1263, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.5876, allocations: 81 MB / 424.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.588, allocations: 71.88 kB / 424.2 MB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02586/0.6138, allocations: 5.796 MB / 430 MB, free: 8.332 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6139, allocations: 0 / 430 MB, free: 8.332 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/0.614, allocations: 8 kB / 430 MB, free: 8.324 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001037/0.615, allocations: 0.4885 MB / 430.5 MB, free: 7.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.6151, allocations: 12.03 kB / 430.5 MB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.408e-05/0.6152, allocations: 49.48 kB / 430.6 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.6154, allocations: 39.61 kB / 430.6 MB, free: 7.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005396/0.6159, allocations: 253.8 kB / 430.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.254e-05/0.616, allocations: 11.44 kB / 430.9 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.363e-05/0.6161, allocations: 19.44 kB / 430.9 MB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.6165, allocations: 155 kB / 431 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.6166, allocations: 3.25 kB / 431 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.6166, allocations: 7.766 kB / 431.1 MB, free: 7.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.6166, allocations: 4 kB / 431.1 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.617, allocations: 123.8 kB / 431.2 MB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.6185, allocations: 0.5741 MB / 431.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.619, allocations: 156.2 kB / 431.9 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.6192, allocations: 90.88 kB / 432 MB, free: 6.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.6193, allocations: 3.953 kB / 432 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003082/0.6196, allocations: 115.4 kB / 432.1 MB, free: 6.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 3.697e-06/0.6196, allocations: 0 / 432.1 MB, free: 6.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005817/0.6202, allocations: 177.6 kB / 432.3 MB, free: 6.238 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.6203, allocations: 51.41 kB / 432.3 MB, free: 6.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.6207, allocations: 237.6 kB / 432.6 MB, free: 5.973 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.6207, allocations: 28.95 kB / 432.6 MB, free: 5.941 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.6209, allocations: 143.8 kB / 432.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-05/0.621, allocations: 73.39 kB / 432.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.621, allocations: 2 kB / 432.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6212, allocations: 337 kB / 433.1 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.6214, allocations: 49.19 kB / 433.2 MB, free: 5.398 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.6216, allocations: 87.92 kB / 433.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.6218, allocations: 59.53 kB / 433.3 MB, free: 5.285 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.6218, allocations: 3.953 kB / 433.3 MB, free: 5.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005419/0.6224, allocations: 204.8 kB / 433.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.6224, allocations: 4 kB / 433.5 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6224, allocations: 4 kB / 433.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.6225, allocations: 4.094 kB / 433.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.6229, allocations: 51.84 kB / 433.6 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.6229, allocations: 4 kB / 433.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.6232, allocations: 19.22 kB / 433.6 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.6232, allocations: 7.75 kB / 433.6 MB, free: 5.035 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent,$PRE.lossTable.nextTimeEventScaled,lossTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.6233, allocations: 113.9 kB / 433.7 MB, free: 4.922 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.6234, allocations: 35.41 kB / 433.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006176/0.624, allocations: 203.5 kB / 434 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6241, allocations: 4 kB / 434 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.6241, allocations: 3.984 kB / 434 MB, free: 4.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.6241, allocations: 4 kB / 434 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.6246, allocations: 297.5 kB / 434.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.6246, allocations: 0 / 434.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000407/0.625, allocations: 43.88 kB / 434.3 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.625, allocations: 0 / 434.3 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/0.6251, allocations: 9.922 kB / 434.3 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6251, allocations: 0 / 434.3 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.6251, allocations: 4 kB / 434.3 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000774/0.6259, allocations: 291.5 kB / 434.6 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.6261, allocations: 107.8 kB / 434.7 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.6261, allocations: 15.2 kB / 434.7 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.6263, allocations: 11.42 kB / 434.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.6264, allocations: 11.98 kB / 434.8 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.6264, allocations: 8 kB / 434.8 MB, free: 3.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000301/0.6267, allocations: 195.7 kB / 435 MB, free: 3.828 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6268, allocations: 0 / 435 MB, free: 3.828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004538/0.6272, allocations: 66.75 kB / 435 MB, free: 3.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (winding.T,core.T) * Number of discrete variables: 3 ($whenCondition1,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Number of discrete states: 2 (lossTable.nextTimeEvent,lossTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002293/0.6295, allocations: 1.132 MB / 436.2 MB, free: 2.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005075/0.6301, allocations: 138.2 kB / 436.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.6301, allocations: 0 / 436.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.6303, allocations: 79.86 kB / 436.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005346/0.6309, allocations: 52.53 kB / 436.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.6325, allocations: 0.4919 MB / 436.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.633, allocations: 0.7517 MB / 437.7 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00022/0.6332, allocations: 34.06 kB / 437.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.6334, allocations: 71.66 kB / 437.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6334, allocations: 0 / 437.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/0.6703, allocations: 4.817 MB / 442.6 MB, free: 12.56 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003564/0.6707, allocations: 200.8 kB / 442.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/3.461, allocations: 0 / 442.8 MB, free: 12.33 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat does not exist to compare? outputFormat=mat