Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.058/2.058, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.989e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1125, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.312/8.425, allocations: 2.518 GB / 2.832 GB, free: 41.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/8.425, allocations: 85.33 kB / 2.832 GB, free: 41.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.477/10.9, allocations: 444.7 MB / 3.266 GB, free: 47.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.936e-06/10.9, allocations: 0 / 3.266 GB, free: 47.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001546/10.9, allocations: 36.09 kB / 3.266 GB, free: 47.49 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.01078/10.91, allocations: 2.252 MB / 3.269 GB, free: 46.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/10.91, allocations: 11.22 kB / 3.269 GB, free: 46.33 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006264/10.91, allocations: 190.8 kB / 3.269 GB, free: 46.29 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004503/10.92, allocations: 427.6 kB / 3.269 GB, free: 46.2 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/10.92, allocations: 0.9996 MB / 3.27 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/10.92, allocations: 106.6 kB / 3.27 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/10.92, allocations: 132.1 kB / 3.27 GB, free: 45.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00594/10.93, allocations: 1.609 MB / 3.272 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.652e-05/10.93, allocations: 8.75 kB / 3.272 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/10.93, allocations: 61.25 kB / 3.272 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.066e-05/10.93, allocations: 46.47 kB / 3.272 GB, free: 45.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004897/10.93, allocations: 1.227 MB / 3.273 GB, free: 45.55 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.01517/10.95, allocations: 7.667 MB / 3.281 GB, free: 40.99 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003013/10.95, allocations: 0.825 MB / 3.282 GB, free: 40.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000651/10.95, allocations: 293.9 kB / 3.282 GB, free: 40.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05721/11.01, allocations: 18.41 MB / 3.3 GB, free: 29.49 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/11.01, allocations: 41.47 kB / 3.3 GB, free: 29.45 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 3.928e-06/11.01, allocations: 0 / 3.3 GB, free: 29.45 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.05536/11.07, allocations: 5.724 MB / 3.306 GB, free: 28.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2092/11.27, allocations: 43.13 MB / 3.348 GB, free: 12.21 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.001617/11.28, allocations: 0.7636 MB / 3.348 GB, free: 11.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002617/11.28, allocations: 40.45 kB / 3.348 GB, free: 11.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/11.28, allocations: 0.7215 MB / 3.349 GB, free: 11.14 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004622/11.28, allocations: 325.4 kB / 3.349 GB, free: 10.9 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/11.28, allocations: 28.16 kB / 3.349 GB, free: 10.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/11.28, allocations: 361.9 kB / 3.35 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/11.28, allocations: 387 kB / 3.35 GB, free: 10.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/11.28, allocations: 0.8791 MB / 3.351 GB, free: 9.109 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/11.28, allocations: 0.5194 MB / 3.352 GB, free: 8.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/11.28, allocations: 8 kB / 3.352 GB, free: 8.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004128/11.29, allocations: 1.479 MB / 3.353 GB, free: 7.297 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00157/11.29, allocations: 6.354 MB / 3.359 GB, free: 472 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.256e-05/11.29, allocations: 19.66 kB / 3.359 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00831/11.3, allocations: 0.9922 MB / 3.36 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/11.3, allocations: 305.3 kB / 3.361 GB, free: 15.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/11.3, allocations: 1.635 MB / 3.362 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/11.3, allocations: 115.4 kB / 3.362 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/11.3, allocations: 82.98 kB / 3.362 GB, free: 13.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/11.3, allocations: 7.125 kB / 3.362 GB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006028/11.31, allocations: 1.565 MB / 3.364 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.972e-05/11.31, allocations: 16 kB / 3.364 GB, free: 12.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004314/11.32, allocations: 0.6192 MB / 3.364 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002078/11.32, allocations: 309.8 kB / 3.365 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003424/11.32, allocations: 1.596 MB / 3.366 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/11.32, allocations: 113.6 kB / 3.366 GB, free: 9.754 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002132/11.32, allocations: 79.12 kB / 3.366 GB, free: 9.684 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.0005126/11.32, allocations: 185.4 kB / 3.367 GB, free: 9.496 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000462/11.32, allocations: 130.1 kB / 3.367 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/11.34, allocations: 3.952 MB / 3.371 GB, free: 5.906 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-05/11.34, allocations: 45.48 kB / 3.371 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/11.34, allocations: 0 / 3.371 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.569e-05/11.34, allocations: 6.656 kB / 3.371 GB, free: 5.875 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/11.35, allocations: 5.822 MB / 3.376 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/11.35, allocations: 4 kB / 3.376 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/11.35, allocations: 163.4 kB / 3.377 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3909/11.74, allocations: 1.817 MB / 3.378 GB, free: 54.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002395/11.74, allocations: 33.95 kB / 3.378 GB, free: 54.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004599/11.75, allocations: 2.43 MB / 3.381 GB, free: 53.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0561/11.8, allocations: 18.41 MB / 3.399 GB, free: 50.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009335/11.81, allocations: 3.807 MB / 3.402 GB, free: 50.15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/11.81, allocations: 389.2 kB / 3.403 GB, free: 50 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/11.81, allocations: 24.62 kB / 3.403 GB, free: 50 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001549/11.82, allocations: 95.55 kB / 3.403 GB, free: 50 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/11.82, allocations: 78.36 kB / 3.403 GB, free: 50 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/11.82, allocations: 35.77 kB / 3.403 GB, free: 50 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001457/11.82, allocations: 0.6617 MB / 3.404 GB, free: 49.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.21e-07/11.82, allocations: 3.438 kB / 3.404 GB, free: 49.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01966/11.84, allocations: 3.962 MB / 3.408 GB, free: 49.88 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.04392/11.88, allocations: 7.472 MB / 3.415 GB, free: 48.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007206/11.89, allocations: 2.146 MB / 3.417 GB, free: 48.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/11.89, allocations: 2.406 kB / 3.417 GB, free: 48.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002864/11.89, allocations: 1.051 MB / 3.418 GB, free: 48.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/11.9, allocations: 394.2 kB / 3.418 GB, free: 48.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2625/12.16, allocations: 78.25 MB / 3.495 GB, free: 39.51 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/12.16, allocations: 1.432 MB / 3.496 GB, free: 38.31 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/12.16, allocations: 0.7232 MB / 3.497 GB, free: 37.65 MB / 458.7 MB Notification: Performance of SimCode: time 1.664e-06/12.16, allocations: 0 / 3.497 GB, free: 37.65 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.854/19.01, allocations: 124.7 MB / 3.619 GB, free: 33.32 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat