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.001/2.001, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.475e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09746/0.09753, allocations: 44.49 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4941/0.5917, allocations: 74.44 MB / 374.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.5921, allocations: 70.55 kB / 374.5 MB, free: 12.45 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.02346/0.6156, allocations: 5.15 MB / 379.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6156, allocations: 0 / 379.6 MB, free: 11.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.196e-05/0.6157, allocations: 4.656 kB / 379.6 MB, free: 11.84 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.001438/0.6172, allocations: 0.551 MB / 380.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.6172, allocations: 10.47 kB / 380.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.612e-05/0.6173, allocations: 45.45 kB / 380.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.6176, allocations: 36.7 kB / 380.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004968/0.6181, allocations: 247.6 kB / 380.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.6181, allocations: 16.22 kB / 380.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.054e-05/0.6182, allocations: 16.81 kB / 380.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004216/0.6186, allocations: 158.4 kB / 380.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.6187, allocations: 0 / 380.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.6187, allocations: 10.25 kB / 380.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.6187, allocations: 2.812 kB / 380.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.6191, allocations: 119.2 kB / 380.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.6205, allocations: 0.5991 MB / 381.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.6209, allocations: 156.8 kB / 381.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.6212, allocations: 88.33 kB / 381.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.6212, allocations: 10.5 kB / 381.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/0.6215, allocations: 119.9 kB / 381.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.166e-06/0.6215, allocations: 4 kB / 381.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.000592/0.6221, allocations: 179.2 kB / 382 MB, free: 10.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.6222, allocations: 55.47 kB / 382 MB, free: 10.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003571/0.6225, allocations: 226.8 kB / 382.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.6226, allocations: 30.73 kB / 382.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.6227, allocations: 141.7 kB / 382.4 MB, free: 10.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.6228, allocations: 68.2 kB / 382.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.91e-05/0.6228, allocations: 5.031 kB / 382.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.536e-05/0.6229, allocations: 337.9 kB / 382.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.6231, allocations: 66.94 kB / 382.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.6233, allocations: 102.5 kB / 383 MB, free: 9.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.6236, allocations: 113.6 kB / 383.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.6236, allocations: 1.344 kB / 383.1 MB, free: 9.844 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006394/0.6243, allocations: 279.9 kB / 383.4 MB, free: 9.758 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.6243, allocations: 39.11 kB / 383.4 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6244, allocations: 1.406 kB / 383.4 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6244, allocations: 2.75 kB / 383.4 MB, free: 9.723 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.6248, allocations: 49.83 kB / 383.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.6248, allocations: 2.719 kB / 383.5 MB, free: 9.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.6251, allocations: 23.98 kB / 383.5 MB, free: 9.711 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.6252, allocations: 8.922 kB / 383.5 MB, free: 9.711 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 0.0001064/0.6253, allocations: 124.8 kB / 383.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.6254, allocations: 23.03 kB / 383.6 MB, free: 9.586 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.626, allocations: 213.6 kB / 383.8 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.626, allocations: 1.375 kB / 383.9 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.626, allocations: 1.375 kB / 383.9 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.6261, allocations: 2.672 kB / 383.9 MB, free: 9.539 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.6265, allocations: 297.7 kB / 384.1 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.6265, allocations: 0 / 384.1 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003839/0.6269, allocations: 44.33 kB / 384.2 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.6269, allocations: 5.156 kB / 384.2 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.627, allocations: 5.594 kB / 384.2 MB, free: 9.332 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.627, allocations: 5.172 kB / 384.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.627, allocations: 0 / 384.2 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.6277, allocations: 303.4 kB / 384.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.6279, allocations: 121.1 kB / 384.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.628, allocations: 4.844 kB / 384.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.6281, allocations: 15.75 kB / 384.6 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.6282, allocations: 13.06 kB / 384.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.878e-05/0.6283, allocations: 14.58 kB / 384.7 MB, free: 9.121 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000262/0.6285, allocations: 185.9 kB / 384.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6286, allocations: 0.9375 kB / 384.8 MB, free: 9.039 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004948/0.6291, allocations: 77.2 kB / 384.9 MB, free: 9.027 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.001849/0.6309, allocations: 1.089 MB / 386 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005982/0.6316, allocations: 246.6 kB / 386.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6316, allocations: 1.375 kB / 386.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.6318, allocations: 74.33 kB / 386.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.6323, allocations: 33.52 kB / 386.4 MB, free: 8.195 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.6339, allocations: 0.4998 MB / 386.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002625/0.6342, allocations: 0.7612 MB / 387.6 MB, free: 7.219 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002091/0.6344, allocations: 28.83 kB / 387.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.6346, allocations: 69.48 kB / 387.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6346, allocations: 7.938 kB / 387.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.6652, allocations: 4.811 MB / 392.5 MB, free: 6.625 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/0.6655, allocations: 193.4 kB / 392.7 MB, free: 6.398 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.497, allocations: 0 / 392.7 MB, free: 6.398 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