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 2.118/2.118, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.961e-05/4.98e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1489, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.118/8.267, allocations: 2.518 GB / 2.832 GB, free: 40.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/8.267, allocations: 87.25 kB / 2.832 GB, free: 39.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.477/10.74, allocations: 445.5 MB / 3.268 GB, free: 47.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.645e-06/10.74, allocations: 0 / 3.268 GB, free: 47.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001453/10.74, allocations: 31.62 kB / 3.268 GB, free: 47.25 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.01062/10.76, allocations: 2.278 MB / 3.27 GB, free: 46.09 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/10.76, allocations: 9 kB / 3.27 GB, free: 46.09 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006036/10.76, allocations: 194.7 kB / 3.27 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/10.76, allocations: 437.8 kB / 3.27 GB, free: 45.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003514/10.76, allocations: 1.001 MB / 3.271 GB, free: 45.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/10.76, allocations: 104.5 kB / 3.272 GB, free: 45.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00038/10.76, allocations: 134.4 kB / 3.272 GB, free: 45.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005364/10.77, allocations: 1.646 MB / 3.273 GB, free: 45.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.087e-05/10.77, allocations: 9.938 kB / 3.273 GB, free: 45.31 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000227/10.77, allocations: 58.75 kB / 3.273 GB, free: 45.31 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.03e-05/10.77, allocations: 44.8 kB / 3.273 GB, free: 45.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/10.78, allocations: 1.275 MB / 3.275 GB, free: 45.29 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.01415/10.79, allocations: 7.635 MB / 3.282 GB, free: 40.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/10.79, allocations: 0.8421 MB / 3.283 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/10.79, allocations: 312.6 kB / 3.283 GB, free: 40.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05623/10.85, allocations: 18.41 MB / 3.301 GB, free: 29.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/10.85, allocations: 41.06 kB / 3.301 GB, free: 29.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=71): time 3.897e-06/10.85, allocations: 0 / 3.301 GB, free: 29.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.05005/10.9, allocations: 5.422 MB / 3.306 GB, free: 28.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2021/11.1, allocations: 42.68 MB / 3.348 GB, free: 10.61 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.001623/11.1, allocations: 0.7737 MB / 3.349 GB, free: 10.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/11.1, allocations: 43.64 kB / 3.349 GB, free: 10.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000466/11.1, allocations: 0.7099 MB / 3.35 GB, free: 9.406 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/11.1, allocations: 330.6 kB / 3.35 GB, free: 9.113 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/11.1, allocations: 24 kB / 3.35 GB, free: 9.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/11.11, allocations: 362.2 kB / 3.35 GB, free: 8.746 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/11.11, allocations: 405 kB / 3.351 GB, free: 8.367 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/11.11, allocations: 0.8948 MB / 3.352 GB, free: 7.285 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/11.11, allocations: 0.5406 MB / 3.352 GB, free: 6.816 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/11.11, allocations: 4 kB / 3.352 GB, free: 6.812 MB / 442.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003998/11.11, allocations: 1.523 MB / 3.354 GB, free: 5.414 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001729/11.11, allocations: 6.275 MB / 3.36 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.285e-05/11.11, allocations: 16 kB / 3.36 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008158/11.12, allocations: 0.9409 MB / 3.361 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/11.13, allocations: 307.8 kB / 3.361 GB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003077/11.13, allocations: 1.537 MB / 3.362 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/11.13, allocations: 136.6 kB / 3.363 GB, free: 12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/11.13, allocations: 82.98 kB / 3.363 GB, free: 11.93 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/11.13, allocations: 7.953 kB / 3.363 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006672/11.14, allocations: 1.677 MB / 3.364 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.347e-05/11.14, allocations: 20.06 kB / 3.364 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004438/11.14, allocations: 0.6113 MB / 3.365 GB, free: 9.871 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/11.14, allocations: 307.8 kB / 3.365 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/11.15, allocations: 1.503 MB / 3.367 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/11.15, allocations: 131.9 kB / 3.367 GB, free: 8.012 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/11.15, allocations: 91.16 kB / 3.367 GB, free: 7.934 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.0005678/11.15, allocations: 201.3 kB / 3.367 GB, free: 7.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000451/11.15, allocations: 114.6 kB / 3.367 GB, free: 7.617 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009317/11.16, allocations: 3.836 MB / 3.371 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007779/11.17, allocations: 3.279 MB / 3.374 GB, free: 1.258 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/11.17, allocations: 8 kB / 3.374 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.585e-05/11.17, allocations: 6.703 kB / 3.374 GB, free: 1.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3646/11.53, allocations: 5.859 MB / 3.38 GB, free: 52.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/11.53, allocations: 1.188 kB / 3.38 GB, free: 52.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/11.53, allocations: 177 kB / 3.38 GB, free: 52.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007835/11.54, allocations: 1.762 MB / 3.382 GB, free: 52.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002699/11.54, allocations: 31.23 kB / 3.382 GB, free: 52.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003944/11.55, allocations: 2.407 MB / 3.384 GB, free: 51.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05094/11.6, allocations: 17.94 MB / 3.402 GB, free: 48.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006909/11.6, allocations: 3.794 MB / 3.405 GB, free: 48.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/11.61, allocations: 395.5 kB / 3.406 GB, free: 48.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002845/11.61, allocations: 27.66 kB / 3.406 GB, free: 48.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/11.61, allocations: 101.6 kB / 3.406 GB, free: 48.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/11.61, allocations: 77.98 kB / 3.406 GB, free: 48.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/11.61, allocations: 45.66 kB / 3.406 GB, free: 48.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00127/11.61, allocations: 0.6259 MB / 3.407 GB, free: 48.36 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.11e-07/11.61, allocations: 0 / 3.407 GB, free: 48.36 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01868/11.63, allocations: 4.005 MB / 3.411 GB, free: 48.36 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.04181/11.67, allocations: 7.334 MB / 3.418 GB, free: 47.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006635/11.68, allocations: 2.285 MB / 3.42 GB, free: 46.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/11.68, allocations: 0 / 3.42 GB, free: 46.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002744/11.68, allocations: 1.105 MB / 3.421 GB, free: 46.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/11.68, allocations: 393.1 kB / 3.421 GB, free: 46.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2591/11.94, allocations: 78.39 MB / 3.498 GB, free: 35.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/11.94, allocations: 1.443 MB / 3.499 GB, free: 33.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/11.95, allocations: 0.7323 MB / 3.5 GB, free: 33.15 MB / 458.7 MB Notification: Performance of SimCode: time 2.114e-06/11.95, allocations: 0 / 3.5 GB, free: 33.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.863/18.81, allocations: 124.5 MB / 3.622 GB, free: 34.95 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