Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.247/2.247, allocations: 205.8 MB / 218.9 MB, free: 9.336 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.126e-05, allocations: 0 / 269.4 MB, free: 6.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 47.57 MB / 317 MB, free: 6.656 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.5728, allocations: 79.39 MB / 396.4 MB, free: 8.316 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5731, allocations: 79.14 kB / 396.5 MB, free: 8.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02643/0.5996, allocations: 5.73 MB / 402.2 MB, free: 3.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5997, allocations: 0 / 402.2 MB, free: 3.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.5997, allocations: 7.938 kB / 402.2 MB, free: 3.41 MB / 314.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.0009714/0.6007, allocations: 0.4943 MB / 402.7 MB, free: 2.883 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.6007, allocations: 8.031 kB / 402.7 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.569e-05/0.6008, allocations: 48.61 kB / 402.8 MB, free: 2.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.601, allocations: 31.7 kB / 402.8 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000511/0.6016, allocations: 252.4 kB / 403 MB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.6016, allocations: 18.89 kB / 403.1 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.6017, allocations: 19.31 kB / 403.1 MB, free: 2.496 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.6021, allocations: 153.1 kB / 403.2 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6021, allocations: 0 / 403.2 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.6022, allocations: 6.125 kB / 403.2 MB, free: 2.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.6022, allocations: 4 kB / 403.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.6026, allocations: 123.8 kB / 403.4 MB, free: 2.293 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.604, allocations: 0.5836 MB / 403.9 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004291/0.6044, allocations: 160 kB / 404.1 MB, free: 1.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.6047, allocations: 83.86 kB / 404.2 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.121e-05/0.6047, allocations: 8 kB / 404.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002982/0.605, allocations: 114.1 kB / 404.3 MB, free: 1.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.035e-06/0.6051, allocations: 0 / 404.3 MB, free: 1.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005646/0.6056, allocations: 175.5 kB / 404.5 MB, free: 1.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.6057, allocations: 55.41 kB / 404.5 MB, free: 1.262 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.6061, allocations: 233.9 kB / 404.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.785e-05/0.6062, allocations: 29.64 kB / 404.8 MB, free: 1.031 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.6063, allocations: 150.6 kB / 404.9 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/0.6064, allocations: 66.78 kB / 405 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.6064, allocations: 3.875 kB / 405 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.6066, allocations: 334.4 kB / 405.3 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.6068, allocations: 47.12 kB / 405.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.607, allocations: 83.05 kB / 405.5 MB, free: 432 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.6072, allocations: 63.97 kB / 405.5 MB, free: 388 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.6072, allocations: 0 / 405.5 MB, free: 388 kB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005123/0.6077, allocations: 205.4 kB / 405.7 MB, free: 224 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6078, allocations: 4 kB / 405.7 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6078, allocations: 4 kB / 405.7 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.6078, allocations: 0 / 405.7 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.6082, allocations: 47.91 kB / 405.8 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/0.6083, allocations: 4 kB / 405.8 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.6085, allocations: 27.44 kB / 405.8 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.6086, allocations: 19.77 kB / 405.8 MB, free: 124 kB / 314.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.0001305/0.6087, allocations: 116.6 kB / 405.9 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.6088, allocations: 23.7 kB / 406 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005895/0.6094, allocations: 213 kB / 406.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6094, allocations: 7.922 kB / 406.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6094, allocations: 4 kB / 406.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.6095, allocations: 0 / 406.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.6099, allocations: 299.5 kB / 406.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.6099, allocations: 7.938 kB / 406.5 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.6103, allocations: 35.92 kB / 406.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.6104, allocations: 4 kB / 406.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.6104, allocations: 7.859 kB / 406.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.6104, allocations: 0 / 406.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6104, allocations: 0 / 406.5 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007331/0.6112, allocations: 297.4 kB / 406.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.6113, allocations: 108.8 kB / 406.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.6114, allocations: 3.812 kB / 406.9 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.6116, allocations: 11.8 kB / 406.9 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.6116, allocations: 15.92 kB / 407 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.6117, allocations: 4 kB / 407 MB, free: 15.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000277/0.612, allocations: 192 kB / 407.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.612, allocations: 0 / 407.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.6124, allocations: 71.22 kB / 407.2 MB, free: 14.86 MB / 330.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.002159/0.6146, allocations: 1.12 MB / 408.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004487/0.6151, allocations: 142 kB / 408.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6151, allocations: 0 / 408.5 MB, free: 13.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.6153, allocations: 79.05 kB / 408.6 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/0.6159, allocations: 45.83 kB / 408.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.6174, allocations: 0.4948 MB / 409.1 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.6179, allocations: 0.7597 MB / 409.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002007/0.6181, allocations: 30.05 kB / 409.9 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.6183, allocations: 76.59 kB / 410 MB, free: 12.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.753e-06/0.6183, allocations: 0 / 410 MB, free: 12.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08537/0.7037, allocations: 4.807 MB / 414.8 MB, free: 7.535 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003593/0.7041, allocations: 194 kB / 415 MB, free: 7.305 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.676/3.38, allocations: 0 / 415 MB, free: 7.305 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat does not exist to compare? outputFormat=mat