Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.242/2.242, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.254e-05/3.269e-05, allocations: 7.938 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4092, allocations: 54.86 MB / 354.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.585/7.994, allocations: 2.628 GB / 2.974 GB, free: 116.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003266/7.995, allocations: 88.98 kB / 2.974 GB, free: 116.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.197/10.19, allocations: 451.9 MB / 3.415 GB, free: 53.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.505e-06/10.19, allocations: 0 / 3.415 GB, free: 53.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001407/10.19, allocations: 31.06 kB / 3.415 GB, free: 53.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01032/10.2, allocations: 2.324 MB / 3.418 GB, free: 52.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/10.2, allocations: 10.66 kB / 3.418 GB, free: 52.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004381/10.21, allocations: 441.9 kB / 3.418 GB, free: 51.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/10.21, allocations: 1.007 MB / 3.419 GB, free: 51.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.701e-05/10.21, allocations: 45.25 kB / 3.419 GB, free: 51.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/10.21, allocations: 88.78 kB / 3.419 GB, free: 51.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00284/10.21, allocations: 0.9503 MB / 3.42 GB, free: 50.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/10.22, allocations: 1.218 MB / 3.421 GB, free: 50.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.931e-05/10.22, allocations: 13.72 kB / 3.421 GB, free: 50.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/10.22, allocations: 3.969 kB / 3.421 GB, free: 50.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.285e-05/10.22, allocations: 50.08 kB / 3.421 GB, free: 50.31 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2509/10.47, allocations: 71.41 MB / 3.491 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/10.47, allocations: 0.5002 MB / 3.492 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005519/10.47, allocations: 261.4 kB / 3.492 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4136/10.88, allocations: 17.02 MB / 3.508 GB, free: 67.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.068e-05/10.88, allocations: 39.75 kB / 3.508 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=63): time 3.697e-06/10.88, allocations: 0 / 3.508 GB, free: 67.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=83): time 0.04549/10.93, allocations: 4.72 MB / 3.513 GB, free: 66.73 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/10.93, allocations: 137.7 kB / 3.513 GB, free: 66.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/10.93, allocations: 0.7147 MB / 3.514 GB, free: 66.41 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/10.93, allocations: 30.05 kB / 3.514 GB, free: 66.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/10.93, allocations: 0.7392 MB / 3.515 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/10.93, allocations: 287.2 kB / 3.515 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/10.93, allocations: 0 / 3.515 GB, free: 65.93 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001081/10.93, allocations: 358 kB / 3.515 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009391/10.93, allocations: 378.7 kB / 3.516 GB, free: 65.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/10.93, allocations: 0.8626 MB / 3.516 GB, free: 65.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/10.94, allocations: 0.6146 MB / 3.517 GB, free: 65.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-05/10.94, allocations: 3.812 kB / 3.517 GB, free: 65.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.006187/10.94, allocations: 1.552 MB / 3.519 GB, free: 64.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001342/10.95, allocations: 6.27 MB / 3.525 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.895e-05/10.95, allocations: 18.66 kB / 3.525 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/10.95, allocations: 458.5 kB / 3.525 GB, free: 58.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002013/10.95, allocations: 311.2 kB / 3.525 GB, free: 58.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003707/10.95, allocations: 1.67 MB / 3.527 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/10.96, allocations: 145.2 kB / 3.527 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/10.96, allocations: 79.92 kB / 3.527 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/10.96, allocations: 7.531 kB / 3.527 GB, free: 57.3 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003897/10.96, allocations: 1.184 MB / 3.528 GB, free: 57.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/10.96, allocations: 19.36 kB / 3.528 GB, free: 57.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/10.96, allocations: 314.8 kB / 3.529 GB, free: 57.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/10.97, allocations: 302 kB / 3.529 GB, free: 57.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/10.97, allocations: 1.401 MB / 3.53 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/10.97, allocations: 116.5 kB / 3.531 GB, free: 56.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/10.97, allocations: 78.11 kB / 3.531 GB, free: 56.2 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 144 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005444/10.97, allocations: 153.9 kB / 3.531 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005032/10.98, allocations: 1.106 MB / 3.532 GB, free: 55.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005066/10.98, allocations: 112.5 kB / 3.532 GB, free: 55.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006857/10.98, allocations: 2.767 MB / 3.535 GB, free: 55.73 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006063/10.99, allocations: 2.371 MB / 3.537 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/10.99, allocations: 0 / 3.537 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.72e-05/10.99, allocations: 3.375 kB / 3.537 GB, free: 55.59 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/11, allocations: 4.596 MB / 3.541 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/11, allocations: 0 / 3.541 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/11, allocations: 137.3 kB / 3.542 GB, free: 55.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003881/11.01, allocations: 1.464 MB / 3.543 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002052/11.01, allocations: 17.55 kB / 3.543 GB, free: 55.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004115/11.01, allocations: 2.645 MB / 3.546 GB, free: 53.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.223/11.23, allocations: 56.49 MB / 3.601 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00674/11.24, allocations: 3.222 MB / 3.604 GB, free: 47.52 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000982/11.24, allocations: 359.5 kB / 3.604 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/11.24, allocations: 7.844 kB / 3.604 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/11.24, allocations: 76.58 kB / 3.604 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/11.24, allocations: 65.23 kB / 3.604 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.736e-05/11.24, allocations: 36 kB / 3.604 GB, free: 47.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001157/11.24, allocations: 0.6225 MB / 3.605 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.31e-07/11.24, allocations: 0 / 3.605 GB, free: 47.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01796/11.26, allocations: 3.929 MB / 3.609 GB, free: 47.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.03898/11.3, allocations: 6.672 MB / 3.615 GB, free: 45.55 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005694/11.31, allocations: 1.894 MB / 3.617 GB, free: 45.51 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/11.31, allocations: 0 / 3.617 GB, free: 45.51 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/11.31, allocations: 0.8089 MB / 3.618 GB, free: 45.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/11.31, allocations: 343.2 kB / 3.618 GB, free: 45.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/11.33, allocations: 3.849 MB / 3.622 GB, free: 42.63 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009944/11.33, allocations: 1.363 MB / 3.623 GB, free: 41.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003386/11.34, allocations: 0.8781 MB / 3.624 GB, free: 40.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/11.34, allocations: 0.6393 MB / 3.625 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/11.34, allocations: 0 / 3.625 GB, free: 40.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7098/12.05, allocations: 131 MB / 3.753 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/12.05, allocations: 206.1 kB / 3.753 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.299/21.35, allocations: 0 / 3.753 GB, free: 43.85 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat