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.04/2.04, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.125e-05/4.148e-05, allocations: 4 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1597, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.996/8.156, allocations: 2.518 GB / 2.832 GB, free: 41.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/8.157, allocations: 83.39 kB / 2.832 GB, free: 41.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.522/10.68, allocations: 444.8 MB / 3.266 GB, free: 47.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.747e-06/10.68, allocations: 0 / 3.266 GB, free: 47.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001983/10.68, allocations: 35.72 kB / 3.266 GB, free: 47.31 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.01083/10.69, allocations: 2.252 MB / 3.269 GB, free: 46.15 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/10.69, allocations: 14 kB / 3.269 GB, free: 46.15 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005992/10.69, allocations: 193.6 kB / 3.269 GB, free: 46.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004526/10.7, allocations: 424.2 kB / 3.269 GB, free: 46.02 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003463/10.7, allocations: 1.002 MB / 3.27 GB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/10.7, allocations: 101.3 kB / 3.27 GB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003789/10.7, allocations: 134.2 kB / 3.27 GB, free: 45.68 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005247/10.7, allocations: 1.624 MB / 3.272 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.876e-05/10.7, allocations: 2.906 kB / 3.272 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002264/10.7, allocations: 57.16 kB / 3.272 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.887e-05/10.7, allocations: 52.31 kB / 3.272 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/10.71, allocations: 1.245 MB / 3.273 GB, free: 45.36 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.01384/10.72, allocations: 7.667 MB / 3.281 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003099/10.73, allocations: 0.8379 MB / 3.282 GB, free: 40.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006976/10.73, allocations: 292 kB / 3.282 GB, free: 40.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05589/10.78, allocations: 18.41 MB / 3.3 GB, free: 29.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/10.78, allocations: 40.78 kB / 3.3 GB, free: 29.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 4.308e-06/10.78, allocations: 0 / 3.3 GB, free: 29.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.05441/10.84, allocations: 5.726 MB / 3.306 GB, free: 28.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2028/11.04, allocations: 43.12 MB / 3.348 GB, free: 10.74 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.001848/11.04, allocations: 0.7766 MB / 3.348 GB, free: 10.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002973/11.04, allocations: 41.7 kB / 3.348 GB, free: 9.965 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000548/11.04, allocations: 0.7159 MB / 3.349 GB, free: 9.297 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/11.04, allocations: 324.5 kB / 3.349 GB, free: 9.012 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/11.04, allocations: 28 kB / 3.35 GB, free: 8.984 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/11.04, allocations: 359.9 kB / 3.35 GB, free: 8.641 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/11.05, allocations: 389.1 kB / 3.35 GB, free: 8.273 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/11.05, allocations: 0.8909 MB / 3.351 GB, free: 7.191 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/11.05, allocations: 0.5127 MB / 3.352 GB, free: 6.746 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/11.05, allocations: 4 kB / 3.352 GB, free: 6.742 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004797/11.05, allocations: 1.525 MB / 3.353 GB, free: 5.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002102/11.06, allocations: 6.356 MB / 3.359 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.475e-05/11.06, allocations: 16 kB / 3.359 GB, free: 14.49 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008448/11.06, allocations: 0.9859 MB / 3.36 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/11.07, allocations: 300.4 kB / 3.361 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003742/11.07, allocations: 1.644 MB / 3.362 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/11.07, allocations: 121.4 kB / 3.362 GB, free: 11.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003563/11.07, allocations: 81.95 kB / 3.362 GB, free: 11.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/11.07, allocations: 7.125 kB / 3.362 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006449/11.08, allocations: 1.599 MB / 3.364 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-05/11.08, allocations: 16 kB / 3.364 GB, free: 10.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004292/11.08, allocations: 0.6247 MB / 3.365 GB, free: 9.699 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/11.09, allocations: 310.8 kB / 3.365 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/11.09, allocations: 1.596 MB / 3.366 GB, free: 7.855 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/11.09, allocations: 119.2 kB / 3.367 GB, free: 7.758 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/11.09, allocations: 82.12 kB / 3.367 GB, free: 7.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.0005131/11.09, allocations: 191.9 kB / 3.367 GB, free: 7.492 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000447/11.09, allocations: 122.5 kB / 3.367 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/11.1, allocations: 3.956 MB / 3.371 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-05/11.1, allocations: 40.41 kB / 3.371 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/11.1, allocations: 3.938 kB / 3.371 GB, free: 3.875 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.443e-05/11.1, allocations: 3.469 kB / 3.371 GB, free: 3.875 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.373/11.48, allocations: 6.01 MB / 3.377 GB, free: 52.89 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/11.48, allocations: 2.016 kB / 3.377 GB, free: 52.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/11.48, allocations: 163.3 kB / 3.377 GB, free: 52.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008731/11.49, allocations: 1.814 MB / 3.379 GB, free: 52.84 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002472/11.49, allocations: 33.11 kB / 3.379 GB, free: 52.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004356/11.49, allocations: 2.438 MB / 3.381 GB, free: 51.81 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05532/11.55, allocations: 18.39 MB / 3.399 GB, free: 49.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008844/11.56, allocations: 3.812 MB / 3.403 GB, free: 48.89 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/11.56, allocations: 393.5 kB / 3.403 GB, free: 48.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003354/11.56, allocations: 21.5 kB / 3.403 GB, free: 48.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/11.56, allocations: 99.48 kB / 3.403 GB, free: 48.74 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/11.56, allocations: 79.81 kB / 3.403 GB, free: 48.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/11.56, allocations: 42.94 kB / 3.403 GB, free: 48.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001387/11.56, allocations: 0.6575 MB / 3.404 GB, free: 48.62 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.82e-07/11.56, allocations: 2.719 kB / 3.404 GB, free: 48.62 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.02004/11.58, allocations: 3.958 MB / 3.408 GB, free: 48.62 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.04603/11.63, allocations: 7.458 MB / 3.415 GB, free: 47.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007375/11.63, allocations: 2.207 MB / 3.417 GB, free: 47.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/11.63, allocations: 2.531 kB / 3.417 GB, free: 47.08 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002754/11.64, allocations: 1.049 MB / 3.418 GB, free: 47.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003651/11.64, allocations: 397.2 kB / 3.419 GB, free: 47.05 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2485/11.89, allocations: 78.31 MB / 3.495 GB, free: 37.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/11.89, allocations: 1.434 MB / 3.497 GB, free: 36.49 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/11.89, allocations: 0.7195 MB / 3.497 GB, free: 35.83 MB / 458.7 MB Notification: Performance of SimCode: time 2.816e-06/11.89, allocations: 0 / 3.497 GB, free: 35.83 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.934/18.83, allocations: 123.7 MB / 3.618 GB, free: 33.8 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