Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.989/1.989, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.815e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.925/8.037, allocations: 2.518 GB / 2.832 GB, free: 41.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/8.037, allocations: 83.39 kB / 2.833 GB, free: 41.04 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.761/10.8, allocations: 445.5 MB / 3.268 GB, free: 47.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.405e-06/10.8, allocations: 2.734 kB / 3.268 GB, free: 47.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001423/10.8, allocations: 32.59 kB / 3.268 GB, free: 47.21 MB / 442.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.01134/10.81, allocations: 2.278 MB / 3.27 GB, free: 46.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/10.81, allocations: 9.719 kB / 3.27 GB, free: 46.05 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005878/10.81, allocations: 200.4 kB / 3.27 GB, free: 46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004551/10.82, allocations: 431.6 kB / 3.27 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/10.82, allocations: 1.004 MB / 3.271 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/10.82, allocations: 110.1 kB / 3.272 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003724/10.82, allocations: 129.9 kB / 3.272 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005374/10.83, allocations: 1.63 MB / 3.273 GB, free: 45.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.682e-05/10.83, allocations: 10.84 kB / 3.273 GB, free: 45.28 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/10.83, allocations: 61.7 kB / 3.273 GB, free: 45.28 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/10.83, allocations: 51.8 kB / 3.273 GB, free: 45.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004758/10.83, allocations: 1.244 MB / 3.275 GB, free: 45.27 MB / 442.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.01478/10.85, allocations: 7.634 MB / 3.282 GB, free: 40.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/10.85, allocations: 0.8383 MB / 3.283 GB, free: 40.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007232/10.85, allocations: 304.4 kB / 3.283 GB, free: 40.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05707/10.91, allocations: 18.41 MB / 3.301 GB, free: 29.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/10.91, allocations: 38.67 kB / 3.301 GB, free: 29.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 4.508e-06/10.91, allocations: 3.594 kB / 3.301 GB, free: 29.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.05072/10.96, allocations: 5.41 MB / 3.306 GB, free: 28.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2073/11.16, allocations: 42.69 MB / 3.348 GB, free: 11.45 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Electrical/Machines.mo:12803:7-12804:76:writable] Warning: Parameter motor.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=motor.Jr) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001703/11.17, allocations: 0.7727 MB / 3.349 GB, free: 10.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002764/11.17, allocations: 42.83 kB / 3.349 GB, free: 10.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005528/11.17, allocations: 0.7151 MB / 3.35 GB, free: 10.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005093/11.17, allocations: 333.5 kB / 3.35 GB, free: 9.988 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/11.17, allocations: 24 kB / 3.35 GB, free: 9.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/11.17, allocations: 365.9 kB / 3.35 GB, free: 9.617 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/11.17, allocations: 406.8 kB / 3.351 GB, free: 9.238 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/11.17, allocations: 0.8884 MB / 3.352 GB, free: 8.156 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/11.17, allocations: 0.5258 MB / 3.352 GB, free: 7.688 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/11.17, allocations: 8 kB / 3.352 GB, free: 7.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00429/11.18, allocations: 1.486 MB / 3.354 GB, free: 6.316 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001599/11.18, allocations: 6.263 MB / 3.36 GB, free: 15.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.854e-05/11.18, allocations: 16 kB / 3.36 GB, free: 15.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008482/11.19, allocations: 0.9515 MB / 3.361 GB, free: 14.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/11.19, allocations: 308.9 kB / 3.361 GB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/11.19, allocations: 1.529 MB / 3.362 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002637/11.19, allocations: 136.7 kB / 3.363 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003938/11.2, allocations: 86.12 kB / 3.363 GB, free: 12.83 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/11.2, allocations: 11.08 kB / 3.363 GB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006743/11.2, allocations: 1.624 MB / 3.364 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.369e-05/11.2, allocations: 24.03 kB / 3.364 GB, free: 11.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004538/11.21, allocations: 0.6034 MB / 3.365 GB, free: 10.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/11.21, allocations: 315.2 kB / 3.365 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/11.21, allocations: 1.497 MB / 3.367 GB, free: 9.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/11.21, allocations: 127 kB / 3.367 GB, free: 8.973 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/11.21, allocations: 89.7 kB / 3.367 GB, free: 8.895 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].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 (150): * Single equations (assignments): 146 * 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.0005848/11.22, allocations: 191.8 kB / 3.367 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000457/11.22, allocations: 122.5 kB / 3.367 GB, free: 8.582 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009215/11.22, allocations: 3.839 MB / 3.371 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007695/11.23, allocations: 3.278 MB / 3.374 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/11.23, allocations: 6.281 kB / 3.374 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.398e-05/11.23, allocations: 3.094 kB / 3.374 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3768/11.61, allocations: 5.877 MB / 3.38 GB, free: 53.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/11.61, allocations: 1.062 kB / 3.38 GB, free: 53.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/11.61, allocations: 178 kB / 3.38 GB, free: 53.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00815/11.62, allocations: 1.766 MB / 3.382 GB, free: 53.6 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002945/11.62, allocations: 31.12 kB / 3.382 GB, free: 53.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004226/11.62, allocations: 2.399 MB / 3.384 GB, free: 52.57 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05295/11.68, allocations: 17.95 MB / 3.402 GB, free: 50.02 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006835/11.68, allocations: 3.799 MB / 3.405 GB, free: 49.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/11.69, allocations: 402.8 kB / 3.406 GB, free: 49.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002591/11.69, allocations: 17.95 kB / 3.406 GB, free: 49.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/11.69, allocations: 105.8 kB / 3.406 GB, free: 49.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/11.69, allocations: 79.58 kB / 3.406 GB, free: 49.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/11.69, allocations: 39.88 kB / 3.406 GB, free: 49.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001232/11.69, allocations: 0.6244 MB / 3.407 GB, free: 49.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.81e-07/11.69, allocations: 6.75 kB / 3.407 GB, free: 49.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0195/11.71, allocations: 4.003 MB / 3.41 GB, free: 49.4 MB / 458.7 MB 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: 21 ($cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.04129/11.75, allocations: 7.342 MB / 3.418 GB, free: 48.05 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006416/11.76, allocations: 2.225 MB / 3.42 GB, free: 48.03 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/11.76, allocations: 0 / 3.42 GB, free: 48.03 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002578/11.76, allocations: 1.103 MB / 3.421 GB, free: 48.01 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/11.76, allocations: 392.9 kB / 3.421 GB, free: 48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2681/12.03, allocations: 78.32 MB / 3.498 GB, free: 36.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/12.03, allocations: 1.441 MB / 3.499 GB, free: 35.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/12.03, allocations: 0.7344 MB / 3.5 GB, free: 34.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/12.03, allocations: 1.641 kB / 3.5 GB, free: 34.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.927/18.96, allocations: 125.5 MB / 3.622 GB, free: 34.92 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat