Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.666e-05/2.673e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3524, allocations: 44.49 MB / 294.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.4864, allocations: 73.75 MB / 367.9 MB, free: 8.141 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4868, allocations: 75.95 kB / 368 MB, free: 8.066 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02828/0.515, allocations: 5.116 MB / 373.1 MB, free: 2.945 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5151, allocations: 0 / 373.1 MB, free: 2.945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.5152, allocations: 4.219 kB / 373.1 MB, free: 2.941 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.001199/0.5164, allocations: 0.5453 MB / 373.7 MB, free: 2.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/0.5164, allocations: 12.03 kB / 373.7 MB, free: 2.328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002592/0.5167, allocations: 27.72 kB / 373.7 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006262/0.5174, allocations: 263.4 kB / 374 MB, free: 2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.5174, allocations: 4 kB / 374 MB, free: 1.996 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.5175, allocations: 12 kB / 374 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004982/0.518, allocations: 115.9 kB / 374.1 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004786/0.5185, allocations: 137.2 kB / 374.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.5185, allocations: 0 / 374.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.5186, allocations: 4 kB / 374.3 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.5186, allocations: 4 kB / 374.3 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.5204, allocations: 0.5475 MB / 374.8 MB, free: 1.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005377/0.5209, allocations: 158.5 kB / 375 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.5212, allocations: 88.34 kB / 375 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.5213, allocations: 0 / 375 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/0.5217, allocations: 119.6 kB / 375.2 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 3.486e-06/0.5217, allocations: 0 / 375.2 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006922/0.5224, allocations: 169.3 kB / 375.3 MB, free: 0.582 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.5225, allocations: 59.34 kB / 375.4 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.5229, allocations: 209.9 kB / 375.6 MB, free: 308 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/0.523, allocations: 33.7 kB / 375.6 MB, free: 268 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.5232, allocations: 206.6 kB / 375.8 MB, free: 60 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5233, allocations: 63.17 kB / 375.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.5234, allocations: 0 / 375.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.5236, allocations: 322.8 kB / 376.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002724/0.5238, allocations: 60.23 kB / 376.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.5242, allocations: 87.66 kB / 376.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003129/0.5245, allocations: 80.89 kB / 376.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.5245, allocations: 0 / 376.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008018/0.5253, allocations: 212.3 kB / 376.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.5254, allocations: 37.69 kB / 376.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5255, allocations: 0 / 376.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.5255, allocations: 7.953 kB / 376.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/0.5261, allocations: 52 kB / 376.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.5261, allocations: 8 kB / 376.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.5264, allocations: 19.75 kB / 376.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.5265, allocations: 8 kB / 376.8 MB, free: 15.08 MB / 330.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.0001648/0.5267, allocations: 112.9 kB / 376.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006195/0.5273, allocations: 172.2 kB / 377 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.5274, allocations: 19.72 kB / 377.1 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007653/0.5282, allocations: 203 kB / 377.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.5282, allocations: 7.984 kB / 377.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/0.5283, allocations: 3.953 kB / 377.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5283, allocations: 0 / 377.3 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.5288, allocations: 254 kB / 377.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.5289, allocations: 0 / 377.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005012/0.5294, allocations: 39.98 kB / 377.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.5294, allocations: 0 / 377.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.5294, allocations: 4 kB / 377.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.5295, allocations: 7.938 kB / 377.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.5295, allocations: 0 / 377.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.5304, allocations: 292.5 kB / 377.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002221/0.5307, allocations: 116.9 kB / 378 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.5308, allocations: 7.938 kB / 378 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.531, allocations: 0 / 378 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.5311, allocations: 11.98 kB / 378 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.5311, allocations: 11.98 kB / 378 MB, free: 13.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.5315, allocations: 164.7 kB / 378.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5315, allocations: 0 / 378.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006986/0.5322, allocations: 71.83 kB / 378.2 MB, free: 13.53 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.002473/0.5347, allocations: 1.037 MB / 379.3 MB, free: 12.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007382/0.5355, allocations: 247.4 kB / 379.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5355, allocations: 0 / 379.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.5358, allocations: 75.86 kB / 379.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005488/0.5363, allocations: 25.31 kB / 379.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.5384, allocations: 0.5122 MB / 380.1 MB, free: 11.6 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.539, allocations: 0.7555 MB / 380.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.5393, allocations: 71.41 kB / 380.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.5393, allocations: 4 kB / 381 MB, free: 10.74 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.761/3.301, allocations: 4.098 MB / 385 MB, free: 6.629 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat does not exist to compare? outputFormat=mat