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.974/1.974, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.277e-05/2.279e-05, allocations: 0 / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1155, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.939/8.055, allocations: 2.518 GB / 2.827 GB, free: 71.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/8.055, allocations: 85.38 kB / 2.827 GB, free: 71.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445/10.5, allocations: 441.2 MB / 3.258 GB, free: 45.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.785e-06/10.5, allocations: 0 / 3.258 GB, free: 45.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001434/10.5, allocations: 33.69 kB / 3.258 GB, free: 45.17 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.01036/10.51, allocations: 2.277 MB / 3.26 GB, free: 44.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/10.51, allocations: 11.59 kB / 3.26 GB, free: 44.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004479/10.51, allocations: 433 kB / 3.26 GB, free: 43.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003488/10.52, allocations: 1.009 MB / 3.261 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.229e-05/10.52, allocations: 52.78 kB / 3.261 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002934/10.52, allocations: 78.5 kB / 3.261 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002788/10.52, allocations: 0.9482 MB / 3.262 GB, free: 43.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003096/10.52, allocations: 1.229 MB / 3.264 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.86e-05/10.53, allocations: 11.19 kB / 3.264 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/10.53, allocations: 3.5 kB / 3.264 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.719e-05/10.53, allocations: 52.25 kB / 3.264 GB, free: 43.28 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.2543/10.78, allocations: 71.35 MB / 3.333 GB, free: 22.64 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/10.78, allocations: 0.5048 MB / 3.334 GB, free: 22.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005604/10.78, allocations: 262.7 kB / 3.334 GB, free: 22.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05181/10.83, allocations: 17.03 MB / 3.351 GB, free: 27.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/10.83, allocations: 40.75 kB / 3.351 GB, free: 27.37 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 3.767e-06/10.83, allocations: 0 / 3.351 GB, free: 27.37 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.0444/10.88, allocations: 4.724 MB / 3.355 GB, free: 26.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/10.88, allocations: 148.3 kB / 3.355 GB, free: 26.21 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.001427/10.88, allocations: 0.7189 MB / 3.356 GB, free: 26.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/10.88, allocations: 25.7 kB / 3.356 GB, free: 26.01 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005026/10.88, allocations: 0.7456 MB / 3.357 GB, free: 25.55 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/10.88, allocations: 284.4 kB / 3.357 GB, free: 25.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/10.88, allocations: 3.656 kB / 3.357 GB, free: 25.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/10.88, allocations: 363 kB / 3.357 GB, free: 25.05 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/10.88, allocations: 381.3 kB / 3.358 GB, free: 25.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/10.88, allocations: 0.868 MB / 3.359 GB, free: 24.43 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/10.89, allocations: 0.6107 MB / 3.359 GB, free: 24.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.064e-05/10.89, allocations: 6.281 kB / 3.359 GB, free: 24.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005553/10.89, allocations: 1.493 MB / 3.361 GB, free: 24.29 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002469/10.89, allocations: 6.272 MB / 3.367 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.042e-05/10.89, allocations: 18.31 kB / 3.367 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003145/10.9, allocations: 460.7 kB / 3.367 GB, free: 17.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/10.9, allocations: 306.7 kB / 3.368 GB, free: 17.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/10.9, allocations: 1.666 MB / 3.369 GB, free: 16.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/10.91, allocations: 138.5 kB / 3.369 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003429/10.91, allocations: 81.2 kB / 3.369 GB, free: 16.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/10.91, allocations: 3.938 kB / 3.369 GB, free: 16.61 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004002/10.91, allocations: 1.193 MB / 3.371 GB, free: 16.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.284e-05/10.91, allocations: 14.47 kB / 3.371 GB, free: 16.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/10.91, allocations: 291.7 kB / 3.371 GB, free: 16.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/10.91, allocations: 304.3 kB / 3.371 GB, free: 16.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/10.92, allocations: 1.389 MB / 3.373 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/10.92, allocations: 112.8 kB / 3.373 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/10.92, allocations: 72.88 kB / 3.373 GB, free: 15.48 MB / 474.7 MB 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.0006054/10.92, allocations: 162.8 kB / 3.373 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004915/10.92, allocations: 1.098 MB / 3.374 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/10.93, allocations: 110.7 kB / 3.374 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00693/10.93, allocations: 2.769 MB / 3.377 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00583/10.94, allocations: 2.372 MB / 3.379 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/10.94, allocations: 0 / 3.379 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/10.94, allocations: 3.609 kB / 3.379 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/10.95, allocations: 4.591 MB / 3.384 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/10.95, allocations: 0 / 3.384 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/10.95, allocations: 140.5 kB / 3.384 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003859/10.95, allocations: 1.466 MB / 3.385 GB, free: 12.73 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001978/10.95, allocations: 14.14 kB / 3.385 GB, free: 12.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/10.96, allocations: 2.646 MB / 3.388 GB, free: 10.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.6048/11.56, allocations: 56.49 MB / 3.443 GB, free: 67.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006988/11.57, allocations: 3.214 MB / 3.446 GB, free: 66.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/11.57, allocations: 355.9 kB / 3.446 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000345/11.57, allocations: 3.406 kB / 3.446 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/11.57, allocations: 83.41 kB / 3.446 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/11.57, allocations: 59.52 kB / 3.447 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/11.57, allocations: 38.23 kB / 3.447 GB, free: 66.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001231/11.58, allocations: 0.6281 MB / 3.447 GB, free: 66.58 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.71e-07/11.58, allocations: 0 / 3.447 GB, free: 66.58 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02342/11.6, allocations: 3.889 MB / 3.451 GB, free: 66.58 MB / 474.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: 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.05214/11.65, allocations: 6.663 MB / 3.458 GB, free: 65.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007471/11.66, allocations: 1.868 MB / 3.459 GB, free: 65.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/11.66, allocations: 1.125 kB / 3.459 GB, free: 65.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002498/11.66, allocations: 0.7999 MB / 3.46 GB, free: 65.22 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/11.66, allocations: 342.1 kB / 3.46 GB, free: 65.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01824/11.68, allocations: 3.88 MB / 3.464 GB, free: 63.87 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/11.68, allocations: 1.349 MB / 3.466 GB, free: 63.14 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/11.69, allocations: 0.6637 MB / 3.466 GB, free: 63.14 MB / 474.7 MB Notification: Performance of SimCode: time 2.494e-06/11.69, allocations: 1.344 kB / 3.466 GB, free: 63.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.654/18.34, allocations: 124.9 MB / 3.588 GB, free: 69.47 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