Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.872/1.872, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.298e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2692, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.4032, allocations: 69.56 MB / 333.4 MB, free: 4.043 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.4035, allocations: 75.95 kB / 333.5 MB, free: 3.969 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02249/0.426, allocations: 5.117 MB / 338.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4261, allocations: 0 / 338.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.468e-05/0.4261, allocations: 4 kB / 338.6 MB, free: 14.84 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009903/0.4271, allocations: 0.5164 MB / 339.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4272, allocations: 8.031 kB / 339.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.016e-05/0.4273, allocations: 46.55 kB / 339.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.4275, allocations: 31.7 kB / 339.2 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.4279, allocations: 246.6 kB / 339.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.428, allocations: 12.33 kB / 339.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.056e-05/0.4281, allocations: 23.94 kB / 339.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.4285, allocations: 143.9 kB / 339.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.4285, allocations: 7.906 kB / 339.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.4286, allocations: 4 kB / 339.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.4286, allocations: 4 kB / 339.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.429, allocations: 112.6 kB / 339.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.4305, allocations: 0.5824 MB / 340.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.4309, allocations: 142.6 kB / 340.5 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.4311, allocations: 78.27 kB / 340.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.4312, allocations: 0 / 340.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002779/0.4315, allocations: 111.4 kB / 340.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 7.413e-06/0.4315, allocations: 3.984 kB / 340.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005244/0.432, allocations: 162.4 kB / 340.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.4321, allocations: 59.41 kB / 340.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.4325, allocations: 230.9 kB / 341.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.4326, allocations: 29.7 kB / 341.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.4327, allocations: 148.3 kB / 341.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.851e-05/0.4328, allocations: 55.2 kB / 341.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/0.4328, allocations: 8 kB / 341.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.433, allocations: 334.8 kB / 341.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.4332, allocations: 56 kB / 341.7 MB, free: 11.49 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.4334, allocations: 74.75 kB / 341.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.4336, allocations: 93.86 kB / 341.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.4337, allocations: 0 / 341.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006401/0.4343, allocations: 253.2 kB / 342.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.975e-05/0.4344, allocations: 29.7 kB / 342.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.4344, allocations: 4 kB / 342.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4344, allocations: 3.938 kB / 342.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003683/0.4348, allocations: 43.91 kB / 342.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4348, allocations: 7.938 kB / 342.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.4351, allocations: 31.69 kB / 342.3 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.4351, allocations: 8 kB / 342.3 MB, free: 10.92 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lossTable.nextTimeEvent,lossTable.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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.0001187/0.4352, allocations: 128.9 kB / 342.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.4353, allocations: 15.81 kB / 342.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005533/0.4359, allocations: 192.4 kB / 342.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4359, allocations: 0 / 342.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4359, allocations: 0 / 342.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.4359, allocations: 0 / 342.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.4364, allocations: 289.4 kB / 342.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4364, allocations: 0 / 342.9 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.4368, allocations: 39.92 kB / 342.9 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.4368, allocations: 7.953 kB / 342.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4368, allocations: 7.984 kB / 342.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4368, allocations: 4 kB / 342.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4369, allocations: 0 / 342.9 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.4375, allocations: 265.4 kB / 343.2 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.4377, allocations: 104.9 kB / 343.3 MB, free: 9.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.4377, allocations: 7.953 kB / 343.3 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.4379, allocations: 12.05 kB / 343.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.438, allocations: 15.98 kB / 343.3 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.438, allocations: 7.938 kB / 343.4 MB, free: 9.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003163/0.4383, allocations: 189.6 kB / 343.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.4384, allocations: 0 / 343.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.4388, allocations: 79.84 kB / 343.6 MB, free: 9.488 MB / 298.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: 2 ($whenCondition1,lossTable.nextTimeEvent) * Number of discrete states: 1 (lossTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001742/0.4406, allocations: 1.014 MB / 344.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005053/0.4411, allocations: 203.5 kB / 344.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4411, allocations: 0 / 344.8 MB, free: 8.273 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.4413, allocations: 71.53 kB / 344.9 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.4418, allocations: 32.78 kB / 344.9 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.4433, allocations: 0.4924 MB / 345.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4437, allocations: 0.7558 MB / 346.2 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001767/0.4439, allocations: 25.53 kB / 346.2 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.4441, allocations: 75.41 kB / 346.3 MB, free: 6.762 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4441, allocations: 3.938 kB / 346.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.4765, allocations: 4.615 MB / 350.9 MB, free: 2.168 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/0.4769, allocations: 189.2 kB / 351.1 MB, free: 1.941 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.181, allocations: 0 / 351.1 MB, free: 1.941 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat does not exist to compare? outputFormat=mat