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.352/2.352, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.175e-05, allocations: 0 / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3231, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.464, allocations: 73.77 MB / 368 MB, free: 8.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.4643, allocations: 63.97 kB / 368 MB, free: 8.008 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.02345/0.4878, allocations: 5.101 MB / 373.2 MB, free: 2.902 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.139e-06/0.4878, allocations: 0 / 373.2 MB, free: 2.902 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.919e-05/0.4879, allocations: 12.16 kB / 373.2 MB, free: 2.891 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.001268/0.4892, allocations: 0.5532 MB / 373.7 MB, free: 2.281 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.4892, allocations: 8.031 kB / 373.7 MB, free: 2.273 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.4895, allocations: 27.72 kB / 373.8 MB, free: 2.246 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006264/0.4902, allocations: 259.4 kB / 374 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.78e-05/0.4902, allocations: 4 kB / 374 MB, free: 1.945 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.62e-05/0.4903, allocations: 16 kB / 374 MB, free: 1.93 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000417/0.4907, allocations: 111.9 kB / 374.1 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003836/0.4911, allocations: 141.2 kB / 374.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4911, allocations: 0 / 374.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.4912, allocations: 3.938 kB / 374.3 MB, free: 1.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.4912, allocations: 4 kB / 374.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.4926, allocations: 0.5514 MB / 374.8 MB, free: 1.074 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.4931, allocations: 155.6 kB / 375 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.4933, allocations: 80.84 kB / 375.1 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.4933, allocations: 4 kB / 375.1 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.4936, allocations: 122.8 kB / 375.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 2.665e-06/0.4936, allocations: 0 / 375.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005383/0.4942, allocations: 177.3 kB / 375.4 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4942, allocations: 55.41 kB / 375.4 MB, free: 464 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.4946, allocations: 205.9 kB / 375.6 MB, free: 252 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.4946, allocations: 25.7 kB / 375.6 MB, free: 220 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.4948, allocations: 148.2 kB / 375.8 MB, free: 68 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.4949, allocations: 63.11 kB / 375.8 MB, free: 4 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.4949, allocations: 4 kB / 375.8 MB, free: 0 / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4951, allocations: 330.8 kB / 376.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.4953, allocations: 64.23 kB / 376.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.4955, allocations: 91.64 kB / 376.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.4957, allocations: 72.91 kB / 376.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4957, allocations: 0 / 376.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006245/0.4964, allocations: 232.1 kB / 376.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.4964, allocations: 33.7 kB / 376.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4965, allocations: 4 kB / 376.7 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4965, allocations: 3.953 kB / 376.7 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.4969, allocations: 47.91 kB / 376.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4969, allocations: 7.984 kB / 376.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002216/0.4972, allocations: 23.92 kB / 376.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.4972, allocations: 12 kB / 376.8 MB, free: 15.06 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.0001152/0.4973, allocations: 108.9 kB / 376.9 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004223/0.4978, allocations: 173.3 kB / 377 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.4978, allocations: 19.81 kB / 377 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/0.4984, allocations: 191.1 kB / 377.2 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.4984, allocations: 4 kB / 377.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4984, allocations: 3.953 kB / 377.2 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4984, allocations: 7.938 kB / 377.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004175/0.4988, allocations: 262.1 kB / 377.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4989, allocations: 0 / 377.5 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.4992, allocations: 35.98 kB / 377.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4993, allocations: 3.938 kB / 377.5 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.4993, allocations: 7.984 kB / 377.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4993, allocations: 0 / 377.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4993, allocations: 0 / 377.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.5, allocations: 288.6 kB / 377.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/0.5002, allocations: 120.8 kB / 378 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.559e-05/0.5003, allocations: 4 kB / 378 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.5005, allocations: 7.984 kB / 378 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.5005, allocations: 15.97 kB / 378 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.5006, allocations: 8 kB / 378 MB, free: 13.74 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.5008, allocations: 164.6 kB / 378.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5008, allocations: 0 / 378.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000465/0.5013, allocations: 63.94 kB / 378.2 MB, free: 13.52 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.001837/0.5032, allocations: 1.046 MB / 379.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005581/0.5037, allocations: 239.4 kB / 379.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5038, allocations: 0 / 379.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002007/0.504, allocations: 80.11 kB / 379.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.5044, allocations: 29.25 kB / 379.6 MB, free: 12.13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.5059, allocations: 494.6 kB / 380.1 MB, free: 11.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.5064, allocations: 0.7515 MB / 380.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001889/0.5066, allocations: 33.84 kB / 380.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.5067, allocations: 71.41 kB / 380.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5068, allocations: 0 / 380.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04711/0.5539, allocations: 4.224 MB / 385.2 MB, free: 6.492 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000335/0.5543, allocations: 157.4 kB / 385.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.74/3.294, allocations: 7.938 kB / 385.3 MB, free: 6.297 MB / 330.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