Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.001/2.001, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.444e-05, allocations: 5.547 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.221/8.331, allocations: 2.518 GB / 2.832 GB, free: 39.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/8.332, allocations: 85.56 kB / 2.832 GB, free: 39.11 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.449/10.78, allocations: 444.8 MB / 3.266 GB, free: 47.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/10.78, allocations: 3.406 kB / 3.266 GB, free: 47.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000134/10.78, allocations: 30.19 kB / 3.267 GB, free: 47.41 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01023/10.79, allocations: 2.254 MB / 3.269 GB, free: 46.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/10.79, allocations: 9.906 kB / 3.269 GB, free: 46.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005116/10.79, allocations: 189.9 kB / 3.269 GB, free: 46.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00422/10.8, allocations: 430.2 kB / 3.269 GB, free: 46.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003076/10.8, allocations: 1.003 MB / 3.27 GB, free: 45.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/10.8, allocations: 100.1 kB / 3.27 GB, free: 45.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/10.8, allocations: 133.1 kB / 3.271 GB, free: 45.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005024/10.8, allocations: 1.611 MB / 3.272 GB, free: 45.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.678e-05/10.8, allocations: 6.828 kB / 3.272 GB, free: 45.49 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002119/10.81, allocations: 54.41 kB / 3.272 GB, free: 45.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.617e-05/10.81, allocations: 48.72 kB / 3.272 GB, free: 45.49 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/10.81, allocations: 1.222 MB / 3.273 GB, free: 45.47 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.01323/10.82, allocations: 7.665 MB / 3.281 GB, free: 40.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/10.83, allocations: 0.8307 MB / 3.282 GB, free: 40.87 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006852/10.83, allocations: 295.3 kB / 3.282 GB, free: 40.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05566/10.88, allocations: 18.41 MB / 3.3 GB, free: 29.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/10.88, allocations: 41.97 kB / 3.3 GB, free: 29.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 4.037e-06/10.88, allocations: 1.312 kB / 3.3 GB, free: 29.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.05421/10.94, allocations: 5.724 MB / 3.306 GB, free: 28.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2026/11.14, allocations: 43.12 MB / 3.348 GB, free: 10.71 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.00155/11.14, allocations: 0.7693 MB / 3.348 GB, free: 10.05 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002299/11.14, allocations: 41.7 kB / 3.348 GB, free: 10.01 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004948/11.14, allocations: 0.7143 MB / 3.349 GB, free: 9.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003527/11.14, allocations: 320.4 kB / 3.349 GB, free: 9.074 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/11.14, allocations: 28 kB / 3.35 GB, free: 9.047 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/11.14, allocations: 360.8 kB / 3.35 GB, free: 8.707 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/11.14, allocations: 387.3 kB / 3.35 GB, free: 8.344 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/11.14, allocations: 0.8808 MB / 3.351 GB, free: 7.273 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/11.15, allocations: 0.5163 MB / 3.352 GB, free: 6.824 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/11.15, allocations: 4 kB / 3.352 GB, free: 6.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004314/11.15, allocations: 1.539 MB / 3.353 GB, free: 5.402 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001649/11.15, allocations: 6.358 MB / 3.359 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.705e-05/11.15, allocations: 16 kB / 3.359 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0084/11.16, allocations: 0.9812 MB / 3.36 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/11.16, allocations: 298.6 kB / 3.361 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003676/11.17, allocations: 1.654 MB / 3.362 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/11.17, allocations: 114 kB / 3.362 GB, free: 11.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/11.17, allocations: 83.12 kB / 3.362 GB, free: 11.72 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/11.17, allocations: 4 kB / 3.362 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006089/11.18, allocations: 1.562 MB / 3.364 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-05/11.18, allocations: 16 kB / 3.364 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004688/11.18, allocations: 0.6432 MB / 3.365 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/11.18, allocations: 313.8 kB / 3.365 GB, free: 9.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/11.19, allocations: 1.615 MB / 3.366 GB, free: 7.922 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/11.19, allocations: 113.5 kB / 3.367 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/11.19, allocations: 81.61 kB / 3.367 GB, free: 7.758 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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 (145): * Single equations (assignments): 143 * Array equations: 0 * 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 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004709/11.19, allocations: 191.5 kB / 3.367 GB, free: 7.566 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003337/11.19, allocations: 122.5 kB / 3.367 GB, free: 7.445 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/11.2, allocations: 3.965 MB / 3.371 GB, free: 3.969 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.336e-05/11.2, allocations: 38.95 kB / 3.371 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/11.2, allocations: 0 / 3.371 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.523e-05/11.2, allocations: 7.734 kB / 3.371 GB, free: 3.941 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3816/11.58, allocations: 5.985 MB / 3.377 GB, free: 52.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.021e-05/11.58, allocations: 5.219 kB / 3.377 GB, free: 52.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/11.58, allocations: 159.5 kB / 3.377 GB, free: 52.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01156/11.6, allocations: 1.816 MB / 3.379 GB, free: 52.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/11.6, allocations: 28.69 kB / 3.379 GB, free: 52.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004565/11.6, allocations: 2.436 MB / 3.381 GB, free: 51.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05576/11.66, allocations: 18.4 MB / 3.399 GB, free: 48.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008438/11.66, allocations: 3.812 MB / 3.403 GB, free: 48.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/11.67, allocations: 396.2 kB / 3.403 GB, free: 48.45 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/11.67, allocations: 23.2 kB / 3.403 GB, free: 48.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/11.67, allocations: 94.84 kB / 3.403 GB, free: 48.45 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/11.67, allocations: 78.98 kB / 3.403 GB, free: 48.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/11.67, allocations: 38.94 kB / 3.403 GB, free: 48.44 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001396/11.67, allocations: 0.6618 MB / 3.404 GB, free: 48.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.32e-07/11.67, allocations: 3.844 kB / 3.404 GB, free: 48.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01856/11.69, allocations: 3.958 MB / 3.408 GB, free: 48.32 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,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,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.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 (75): * Single equations (assignments): 67 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0424/11.73, allocations: 7.475 MB / 3.415 GB, free: 46.79 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007428/11.74, allocations: 2.181 MB / 3.417 GB, free: 46.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/11.74, allocations: 0 / 3.417 GB, free: 46.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002818/11.74, allocations: 1.049 MB / 3.418 GB, free: 46.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003587/11.74, allocations: 393.7 kB / 3.419 GB, free: 46.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2608/12.01, allocations: 78.21 MB / 3.495 GB, free: 38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/12.01, allocations: 1.437 MB / 3.496 GB, free: 36.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003297/12.01, allocations: 0.7905 MB / 3.497 GB, free: 36.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/12.01, allocations: 0.7017 MB / 3.498 GB, free: 35.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/12.01, allocations: 0 / 3.498 GB, free: 35.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8217/12.83, allocations: 146.7 MB / 3.641 GB, free: 29.62 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/12.83, allocations: 239.6 kB / 3.641 GB, free: 29.31 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.703/22.54, allocations: 0 / 3.641 GB, free: 29.31 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat