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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2294/1.977, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09784/2.075, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.301/2.376, allocations: 69.14 MB / 327.1 MB, free: 2.98 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/2.376, allocations: 67.59 kB / 327.2 MB, free: 2.949 MB / 266.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.02442/2.401, allocations: 5.292 MB / 332.5 MB, free: 14.42 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/2.401, allocations: 8 kB / 332.5 MB, free: 14.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000343/2.401, allocations: 31.7 kB / 332.5 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/2.402, allocations: 234.7 kB / 332.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/2.402, allocations: 8 kB / 332.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.581e-05/2.402, allocations: 8 kB / 332.8 MB, free: 14.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005375/2.402, allocations: 103.2 kB / 332.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/2.403, allocations: 129.9 kB / 333 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/2.403, allocations: 0 / 333 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/2.403, allocations: 3.938 kB / 333 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/2.403, allocations: 7.906 kB / 333 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/2.404, allocations: 0.5432 MB / 333.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/2.405, allocations: 103.2 kB / 333.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/2.405, allocations: 73.19 kB / 333.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/2.405, allocations: 7.938 kB / 333.7 MB, free: 13.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/2.405, allocations: 96.14 kB / 333.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.996e-06/2.405, allocations: 0 / 333.8 MB, free: 13.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005218/2.406, allocations: 156.5 kB / 334 MB, free: 13.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/2.406, allocations: 51.41 kB / 334 MB, free: 13.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004/2.406, allocations: 213.5 kB / 334.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/2.406, allocations: 29.08 kB / 334.3 MB, free: 12.8 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/2.406, allocations: 123 kB / 334.4 MB, free: 12.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/2.406, allocations: 70.72 kB / 334.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/2.406, allocations: 0 / 334.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/2.407, allocations: 333.4 kB / 334.8 MB, free: 12.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/2.407, allocations: 48.8 kB / 334.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/2.407, allocations: 83.81 kB / 334.9 MB, free: 12.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/2.407, allocations: 56.84 kB / 335 MB, free: 12.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/2.407, allocations: 4 kB / 335 MB, free: 12.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005865/2.408, allocations: 200.8 kB / 335.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/2.408, allocations: 5.562 kB / 335.2 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/2.408, allocations: 3.984 kB / 335.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/2.408, allocations: 4 kB / 335.2 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/2.408, allocations: 43.17 kB / 335.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/2.408, allocations: 7.891 kB / 335.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/2.409, allocations: 15.84 kB / 335.3 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/2.409, allocations: 12.06 kB / 335.3 MB, free: 11.91 MB / 282.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.0001312/2.409, allocations: 104.9 kB / 335.4 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/2.409, allocations: 23.16 kB / 335.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005913/2.41, allocations: 182.5 kB / 335.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/2.41, allocations: 4 kB / 335.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/2.41, allocations: 0 / 335.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/2.41, allocations: 0 / 335.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004526/2.41, allocations: 251.8 kB / 335.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/2.41, allocations: 0 / 335.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/2.411, allocations: 47.11 kB / 335.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/2.411, allocations: 0 / 335.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/2.411, allocations: 0 / 335.9 MB, free: 11.33 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/2.411, allocations: 7.906 kB / 335.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/2.411, allocations: 0 / 335.9 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007847/2.411, allocations: 254.4 kB / 336.1 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00151/2.413, allocations: 0.6939 MB / 336.8 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/2.413, allocations: 100.9 kB / 336.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/2.413, allocations: 3.906 kB / 336.9 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001934/2.414, allocations: 7.984 kB / 336.9 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/2.414, allocations: 11.92 kB / 336.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/2.414, allocations: 4 kB / 336.9 MB, free: 10.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0002833/2.414, allocations: 176.2 kB / 337.1 MB, free: 10.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001336/2.415, allocations: 75.47 kB / 337.2 MB, free: 10.13 MB / 282.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.0007897/2.416, allocations: 260.3 kB / 337.4 MB, free: 9.906 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005109/2.417, allocations: 160.2 kB / 337.6 MB, free: 9.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/2.417, allocations: 0 / 337.6 MB, free: 9.781 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/2.417, allocations: 65.69 kB / 337.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/2.417, allocations: 35.05 kB / 337.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/2.419, allocations: 409.6 kB / 338.1 MB, free: 9.312 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/2.419, allocations: 0.778 MB / 338.9 MB, free: 8.512 MB / 282.7 MB Notification: Performance of SimCode: time 1.001e-06/2.419, allocations: 4 kB / 338.9 MB, free: 8.508 MB / 282.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