Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.238/2.238, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.412e-05, allocations: 6.031 kB / 292.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 50.4 MB / 342.6 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4893/0.6027, allocations: 80.99 MB / 423.6 MB, free: 13.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.603, allocations: 72.72 kB / 423.7 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02534/0.6284, allocations: 5.794 MB / 429.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6284, allocations: 0 / 429.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.6285, allocations: 4 kB / 429.5 MB, free: 8.312 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.0009734/0.6295, allocations: 0.497 MB / 430 MB, free: 7.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.6295, allocations: 8.031 kB / 430 MB, free: 7.773 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.685e-05/0.6296, allocations: 48.73 kB / 430.1 MB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.6298, allocations: 35.61 kB / 430.1 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/0.6303, allocations: 266.8 kB / 430.4 MB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.6304, allocations: 7.438 kB / 430.4 MB, free: 7.402 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.6305, allocations: 18.19 kB / 430.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.6309, allocations: 155.5 kB / 430.5 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.6309, allocations: 0 / 430.5 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.6309, allocations: 10.83 kB / 430.5 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.631, allocations: 8 kB / 430.5 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.6313, allocations: 120.1 kB / 430.7 MB, free: 7.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.6326, allocations: 0.5659 MB / 431.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003984/0.633, allocations: 151.7 kB / 431.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002212/0.6333, allocations: 94.8 kB / 431.5 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.6333, allocations: 7.953 kB / 431.5 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002832/0.6336, allocations: 116.6 kB / 431.6 MB, free: 6.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 5.42e-06/0.6336, allocations: 4 kB / 431.6 MB, free: 6.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005171/0.6342, allocations: 179.8 kB / 431.8 MB, free: 6.219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.6342, allocations: 55.41 kB / 431.8 MB, free: 6.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.6346, allocations: 232.2 kB / 432.1 MB, free: 5.953 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.6347, allocations: 29.39 kB / 432.1 MB, free: 5.922 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.6348, allocations: 143.5 kB / 432.2 MB, free: 5.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.6349, allocations: 69.53 kB / 432.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.6349, allocations: 3.312 kB / 432.3 MB, free: 5.742 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6351, allocations: 337 kB / 432.6 MB, free: 5.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.6352, allocations: 53.12 kB / 432.7 MB, free: 5.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.6354, allocations: 82.17 kB / 432.8 MB, free: 5.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.6356, allocations: 64.97 kB / 432.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.6356, allocations: 3.953 kB / 432.8 MB, free: 5.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004824/0.6361, allocations: 206.1 kB / 433 MB, free: 5.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.6362, allocations: 8 kB / 433 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.6362, allocations: 0 / 433 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.6362, allocations: 0 / 433 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.6366, allocations: 55.84 kB / 433.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.6367, allocations: 0 / 433.1 MB, free: 5.039 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.6369, allocations: 18.91 kB / 433.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.6369, allocations: 8 kB / 433.1 MB, free: 5.016 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.0001049/0.637, allocations: 120.3 kB / 433.2 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.6371, allocations: 27.66 kB / 433.3 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005449/0.6376, allocations: 211.3 kB / 433.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.6377, allocations: 0 / 433.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6377, allocations: 3.984 kB / 433.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.6377, allocations: 4 kB / 433.5 MB, free: 4.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.6382, allocations: 293.5 kB / 433.8 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6382, allocations: 0 / 433.8 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000388/0.6386, allocations: 39.88 kB / 433.8 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.6386, allocations: 8 kB / 433.8 MB, free: 4.367 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.6386, allocations: 7.672 kB / 433.8 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6386, allocations: 0 / 433.8 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/0.6387, allocations: 4 kB / 433.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/0.6394, allocations: 287.4 kB / 434.1 MB, free: 4.133 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6395, allocations: 107.7 kB / 434.2 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.6396, allocations: 7.453 kB / 434.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.6398, allocations: 19.36 kB / 434.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.567e-05/0.6398, allocations: 11.98 kB / 434.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.6399, allocations: 4 kB / 434.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000275/0.6402, allocations: 195.4 kB / 434.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6402, allocations: 0 / 434.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004405/0.6406, allocations: 66.5 kB / 434.5 MB, free: 3.762 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.002228/0.6429, allocations: 1.139 MB / 435.6 MB, free: 2.789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004591/0.6434, allocations: 142 kB / 435.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6434, allocations: 0 / 435.8 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.6436, allocations: 80.05 kB / 435.9 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004957/0.6441, allocations: 51.91 kB / 435.9 MB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.6456, allocations: 0.4897 MB / 436.4 MB, free: 2.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.6461, allocations: 0.7596 MB / 437.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002139/0.6463, allocations: 26.06 kB / 437.2 MB, free: 1.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.6465, allocations: 76.09 kB / 437.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6465, allocations: 0 / 437.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02751/0.674, allocations: 4.808 MB / 442.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.6744, allocations: 209.8 kB / 442.3 MB, free: 12.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.722/3.397, allocations: 0 / 442.3 MB, free: 12.31 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat does not exist to compare? outputFormat=mat