Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.152/2.152, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.061e-05, allocations: 5.406 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.0996, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4841/0.5837, allocations: 74.42 MB / 374.4 MB, free: 16.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.5841, allocations: 72.31 kB / 374.5 MB, free: 16.4 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$lossTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02134/0.6054, allocations: 5.148 MB / 379.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6055, allocations: 0 / 379.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.6055, allocations: 3.938 kB / 379.6 MB, free: 15.79 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.0008945/0.6064, allocations: 0.5423 MB / 380.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6065, allocations: 9.812 kB / 380.2 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.36e-05/0.6066, allocations: 55.84 kB / 380.2 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.6068, allocations: 36.05 kB / 380.2 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004423/0.6073, allocations: 247.6 kB / 380.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.6073, allocations: 15.78 kB / 380.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.247e-05/0.6074, allocations: 21.88 kB / 380.5 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.6078, allocations: 158 kB / 380.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.6078, allocations: 1.156 kB / 380.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.835e-05/0.6079, allocations: 9.562 kB / 380.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.6079, allocations: 3.312 kB / 380.7 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.6083, allocations: 114 kB / 380.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.6095, allocations: 0.603 MB / 381.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003953/0.6099, allocations: 168.7 kB / 381.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.6102, allocations: 88.03 kB / 381.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.6102, allocations: 2.062 kB / 381.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.6105, allocations: 127.3 kB / 381.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.825e-06/0.6105, allocations: 0 / 381.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005577/0.6111, allocations: 178.1 kB / 382 MB, free: 14.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.6111, allocations: 57.41 kB / 382 MB, free: 14.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.6115, allocations: 228.5 kB / 382.2 MB, free: 14.36 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.6115, allocations: 31.11 kB / 382.3 MB, free: 14.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.715e-05/0.6116, allocations: 137.2 kB / 382.4 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.6117, allocations: 76.55 kB / 382.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.6117, allocations: 5.094 kB / 382.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.6118, allocations: 330.6 kB / 382.8 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.612, allocations: 66.62 kB / 382.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.6123, allocations: 105.7 kB / 383 MB, free: 13.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.6126, allocations: 114.4 kB / 383.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6126, allocations: 0 / 383.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006293/0.6132, allocations: 281.4 kB / 383.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.6133, allocations: 37.36 kB / 383.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6133, allocations: 5.344 kB / 383.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.6133, allocations: 1.469 kB / 383.4 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.6137, allocations: 48.61 kB / 383.4 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.6138, allocations: 1.938 kB / 383.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.614, allocations: 22.83 kB / 383.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.159e-05/0.6141, allocations: 13.84 kB / 383.5 MB, free: 13.66 MB / 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 (27): * Single equations (assignments): 26 * 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 9.608e-05/0.6142, allocations: 119 kB / 383.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.6142, allocations: 28.89 kB / 383.6 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.6148, allocations: 209.1 kB / 383.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.6149, allocations: 1.688 kB / 383.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.6149, allocations: 0 / 383.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.6149, allocations: 2.844 kB / 383.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.6153, allocations: 292.6 kB / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6153, allocations: 0 / 384.1 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003453/0.6156, allocations: 41.58 kB / 384.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.6157, allocations: 1.812 kB / 384.2 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.6157, allocations: 11.86 kB / 384.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.6157, allocations: 5.969 kB / 384.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6157, allocations: 3.938 kB / 384.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.6164, allocations: 296.9 kB / 384.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.6165, allocations: 125.8 kB / 384.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.6166, allocations: 8.922 kB / 384.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.6168, allocations: 13.3 kB / 384.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.6168, allocations: 12.33 kB / 384.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.6169, allocations: 15.05 kB / 384.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002254/0.6171, allocations: 183.5 kB / 384.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6171, allocations: 1.375 kB / 384.8 MB, free: 12.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004207/0.6176, allocations: 73.97 kB / 384.9 MB, free: 12.97 MB / 314.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.001753/0.6193, allocations: 1.086 MB / 386 MB, free: 12.22 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005355/0.6199, allocations: 251.4 kB / 386.2 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6199, allocations: 0 / 386.2 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.6201, allocations: 77.05 kB / 386.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.6205, allocations: 45.72 kB / 386.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.6219, allocations: 0.5013 MB / 386.9 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.6222, allocations: 0.754 MB / 387.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.6223, allocations: 33.02 kB / 387.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.6225, allocations: 73.23 kB / 387.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6225, allocations: 0 / 387.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.6473, allocations: 4.828 MB / 392.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.6476, allocations: 186.9 kB / 392.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.475, allocations: 3.938 kB / 392.7 MB, free: 10.34 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat does not exist to compare? outputFormat=mat