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.766/2.766, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.613e-05, allocations: 1.969 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5931/0.7083, allocations: 73.76 MB / 368 MB, free: 7.273 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000381/0.7087, allocations: 72.73 kB / 368.1 MB, free: 7.273 MB / 298.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.03736/0.7461, allocations: 5.125 MB / 373.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.7462, allocations: 0 / 373.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.482e-05/0.7463, allocations: 8.188 kB / 373.2 MB, free: 22.66 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.001308/0.7476, allocations: 0.5416 MB / 373.8 MB, free: 22.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.434e-05/0.7477, allocations: 7.531 kB / 373.8 MB, free: 22.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.756e-05/0.7478, allocations: 44.05 kB / 373.8 MB, free: 22.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003058/0.7481, allocations: 37.73 kB / 373.9 MB, free: 22.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006822/0.7488, allocations: 261.7 kB / 374.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.781e-05/0.7489, allocations: 7.688 kB / 374.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.749, allocations: 11.62 kB / 374.1 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005799/0.7496, allocations: 109.9 kB / 374.2 MB, free: 21.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.7502, allocations: 135.8 kB / 374.4 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.7502, allocations: 3.984 kB / 374.4 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.338e-05/0.7503, allocations: 3.875 kB / 374.4 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.7503, allocations: 3.875 kB / 374.4 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.7522, allocations: 0.5568 MB / 374.9 MB, free: 21.57 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006065/0.7528, allocations: 150.4 kB / 375.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.7532, allocations: 81.7 kB / 375.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.7532, allocations: 7.812 kB / 375.2 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.7537, allocations: 116.8 kB / 375.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=20): time 5.32e-06/0.7537, allocations: 0 / 375.3 MB, free: 21.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007722/0.7545, allocations: 171.3 kB / 375.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.7546, allocations: 55.28 kB / 375.5 MB, free: 21.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.755, allocations: 205.5 kB / 375.7 MB, free: 21.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.7551, allocations: 33.58 kB / 375.7 MB, free: 21.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/0.7552, allocations: 149.4 kB / 375.9 MB, free: 21.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.7554, allocations: 60.48 kB / 375.9 MB, free: 21.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.7554, allocations: 3.875 kB / 375.9 MB, free: 21.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7555, allocations: 331.3 kB / 376.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.7559, allocations: 59.89 kB / 376.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.7562, allocations: 91.98 kB / 376.4 MB, free: 20.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004051/0.7566, allocations: 83.73 kB / 376.5 MB, free: 20.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/0.7567, allocations: 0 / 376.5 MB, free: 20.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009871/0.7577, allocations: 225.8 kB / 376.7 MB, free: 20.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.577e-05/0.7578, allocations: 39.44 kB / 376.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.7578, allocations: 0 / 376.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.7579, allocations: 7.828 kB / 376.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/0.7586, allocations: 45.08 kB / 376.8 MB, free: 20.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.7586, allocations: 8.031 kB / 376.8 MB, free: 20.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.759, allocations: 21.69 kB / 376.8 MB, free: 20.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-05/0.7591, allocations: 10.75 kB / 376.8 MB, free: 20.62 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.0001849/0.7593, allocations: 107 kB / 377 MB, free: 20.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.844e-05/0.7594, allocations: 21.69 kB / 377 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009081/0.7603, allocations: 198.4 kB / 377.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.7604, allocations: 7.953 kB / 377.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.7604, allocations: 0 / 377.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.7604, allocations: 3.469 kB / 377.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006352/0.7611, allocations: 256.9 kB / 377.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.7611, allocations: 0 / 377.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/0.7618, allocations: 39.95 kB / 377.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.7618, allocations: 7.859 kB / 377.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.353e-05/0.7619, allocations: 0 / 377.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.7619, allocations: 3.938 kB / 377.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.7619, allocations: 0 / 377.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.763, allocations: 292.5 kB / 377.8 MB, free: 20.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002726/0.7634, allocations: 117.8 kB / 377.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.7635, allocations: 0 / 377.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003018/0.7638, allocations: 7.062 kB / 377.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.7639, allocations: 14.25 kB / 377.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/0.7639, allocations: 7.062 kB / 377.9 MB, free: 20.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003656/0.7643, allocations: 165.5 kB / 378.1 MB, free: 20.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.31e-07/0.7644, allocations: 4.062 kB / 378.1 MB, free: 20.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007342/0.7651, allocations: 70.14 kB / 378.1 MB, free: 19.99 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.003068/0.7682, allocations: 1.066 MB / 379.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008789/0.7691, allocations: 238.4 kB / 379.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.7692, allocations: 3.844 kB / 379.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.7695, allocations: 73.64 kB / 379.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.7702, allocations: 28.19 kB / 379.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.7725, allocations: 488.2 kB / 380 MB, free: 18.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.7731, allocations: 0.7541 MB / 380.8 MB, free: 18.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003304/0.7735, allocations: 35.98 kB / 380.8 MB, free: 18.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.7738, allocations: 76.47 kB / 380.9 MB, free: 18.19 MB / 314.7 MB Notification: Performance of SimCode: time 2.755e-06/0.7738, allocations: 0 / 380.9 MB, free: 18.19 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0852/0.859, allocations: 4.352 MB / 385.2 MB, free: 16.52 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003961/0.8595, allocations: 173.9 kB / 385.4 MB, free: 16.33 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.481/4.341, allocations: 0 / 385.4 MB, free: 16.33 MB / 314.7 MB "" Variables in the reference:time,core.T,winding.T Variables in the result:TAmb,Tcore.T,Tcore.port.Q_flow,Tcore.port.T,Twinding.T,Twinding.port.Q_flow,Twinding.port.T,_D_cse1,_D_cse2,_D_whenCondition1,convection.Gc,convection.Q_flow,convection.dT,convection.fluid.Q_flow,convection.fluid.T,convection.solid.Q_flow,convection.solid.T,convectionConstant.k,convectionConstant.y,core.C,core.T,core.der_T,core.port.Q_flow,core.port.T,coreLosses.Q_flow,coreLosses.T_ref,coreLosses.alpha,coreLosses.port.Q_flow,coreLosses.port.T,der(core.T),der(winding.T),environment.T,environment.port.Q_flow,environment.port.T,lossTable.columns[1],lossTable.columns[2],lossTable.extrapolation,lossTable.nextTimeEvent,lossTable.nextTimeEventScaled,lossTable.nout,lossTable.offset[1],lossTable.p_offset[1],lossTable.p_offset[2],lossTable.smoothness,lossTable.startTime,lossTable.t_max,lossTable.t_maxScaled,lossTable.t_min,lossTable.t_minScaled,lossTable.tableOnFile,lossTable.tableOnFileRead,lossTable.table[1,1],lossTable.table[1,2],lossTable.table[1,3],lossTable.table[2,1],lossTable.table[2,2],lossTable.table[2,3],lossTable.table[3,1],lossTable.table[3,2],lossTable.table[3,3],lossTable.timeScale,lossTable.timeScaled,lossTable.verboseRead,lossTable.y[1],lossTable.y[2],time,winding.C,winding.T,winding.der_T,winding.port.Q_flow,winding.port.T,winding2core.G,winding2core.Q_flow,winding2core.dT,winding2core.port_a.Q_flow,winding2core.port_a.T,winding2core.port_b.Q_flow,winding2core.port_b.T,windingLosses.Q_flow,windingLosses.T_ref,windingLosses.alpha,windingLosses.port.Q_flow,windingLosses.port.T