Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.Motor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_HeatTransfer_Examples_Motor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.764/2.764, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.229e-05, allocations: 3.984 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4635, allocations: 44.49 MB / 294.3 MB, free: 14.54 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1733/0.6369, allocations: 73.75 MB / 368 MB, free: 8.145 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.6373, allocations: 75.97 kB / 368.1 MB, free: 8.07 MB / 314.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.02706/0.6644, allocations: 5.109 MB / 373.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6644, allocations: 0 / 373.2 MB, free: 2.957 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.26e-05/0.6645, allocations: 4 kB / 373.2 MB, free: 2.953 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.001173/0.6657, allocations: 0.5454 MB / 373.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.6657, allocations: 8.031 kB / 373.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.666, allocations: 31.72 kB / 373.8 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005979/0.6666, allocations: 263.6 kB / 374.1 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.6667, allocations: 8 kB / 374.1 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.6667, allocations: 16 kB / 374.1 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000488/0.6672, allocations: 108 kB / 374.2 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.6677, allocations: 145.1 kB / 374.3 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.6677, allocations: 0 / 374.3 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.6678, allocations: 0 / 374.3 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.6678, allocations: 4 kB / 374.3 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.6694, allocations: 0.5514 MB / 374.9 MB, free: 1.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004916/0.6699, allocations: 154.5 kB / 375 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.6702, allocations: 84.83 kB / 375.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.6702, allocations: 4 kB / 375.1 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003336/0.6706, allocations: 115.7 kB / 375.2 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 5.761e-06/0.6706, allocations: 3.984 kB / 375.2 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006452/0.6713, allocations: 169.3 kB / 375.4 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.6713, allocations: 55.41 kB / 375.5 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.6717, allocations: 205.9 kB / 375.7 MB, free: 320 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.045e-05/0.6718, allocations: 29.7 kB / 375.7 MB, free: 284 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.672, allocations: 144.2 kB / 375.8 MB, free: 136 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.6721, allocations: 67.05 kB / 375.9 MB, free: 68 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.059e-05/0.6721, allocations: 7.938 kB / 375.9 MB, free: 60 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.6723, allocations: 330.8 kB / 376.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.6726, allocations: 60.23 kB / 376.3 MB, free: 15.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.6728, allocations: 95.64 kB / 376.4 MB, free: 15.56 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.6731, allocations: 72.91 kB / 376.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.6731, allocations: 0 / 376.5 MB, free: 15.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007502/0.6739, allocations: 232.1 kB / 376.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.301e-05/0.674, allocations: 37.7 kB / 376.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.674, allocations: 0 / 376.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.674, allocations: 7.891 kB / 376.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.6745, allocations: 51.91 kB / 376.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6746, allocations: 0 / 376.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.6749, allocations: 23.83 kB / 376.8 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.6749, allocations: 16.09 kB / 376.8 MB, free: 15.12 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.000146/0.6751, allocations: 112.2 kB / 376.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005393/0.6757, allocations: 169.3 kB / 377.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.6757, allocations: 15.81 kB / 377.1 MB, free: 14.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006274/0.6764, allocations: 199.1 kB / 377.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6764, allocations: 0 / 377.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.6764, allocations: 3.953 kB / 377.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.6764, allocations: 0 / 377.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.6769, allocations: 254.1 kB / 377.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.677, allocations: 8 kB / 377.6 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.6774, allocations: 35.98 kB / 377.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.6774, allocations: 4 kB / 377.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.6775, allocations: 3.984 kB / 377.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.6775, allocations: 0 / 377.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.6775, allocations: 0 / 377.6 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008398/0.6784, allocations: 298.9 kB / 377.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.6786, allocations: 120.7 kB / 378 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.269e-05/0.6787, allocations: 4.062 kB / 378 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.6789, allocations: 7.984 kB / 378 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.679, allocations: 11.98 kB / 378 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.679, allocations: 8 kB / 378 MB, free: 13.81 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002676/0.6793, allocations: 168.5 kB / 378.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6793, allocations: 0 / 378.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005501/0.6799, allocations: 63.94 kB / 378.3 MB, free: 13.58 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.002233/0.6821, allocations: 1.07 MB / 379.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000672/0.6828, allocations: 231.3 kB / 379.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.6829, allocations: 0 / 379.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.6831, allocations: 75.86 kB / 379.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005138/0.6837, allocations: 32.89 kB / 379.7 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001799/0.6855, allocations: 490.6 kB / 380.2 MB, free: 11.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/0.686, allocations: 0.7554 MB / 380.9 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003451/0.6864, allocations: 29.84 kB / 380.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.6866, allocations: 75.34 kB / 381 MB, free: 10.8 MB / 330.7 MB Notification: Performance of SimCode: time 1.462e-06/0.6866, allocations: 0 / 381 MB, free: 10.8 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0526/0.7392, allocations: 4.227 MB / 385.2 MB, free: 6.566 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003876/0.7397, allocations: 174 kB / 385.4 MB, free: 6.371 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.182/3.922, allocations: 0 / 385.4 MB, free: 6.371 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat does not exist to compare? outputFormat=mat