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 1.918/1.918, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.999e-05/2.018e-05, allocations: 0 / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 48.7 MB / 316.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.528/7.635, allocations: 2.517 GB / 2.826 GB, free: 76.48 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/7.635, allocations: 92.67 kB / 2.826 GB, free: 76.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375/10.01, allocations: 440.5 MB / 3.256 GB, free: 44.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.124e-06/10.01, allocations: 0 / 3.256 GB, free: 44.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001335/10.01, allocations: 28.72 kB / 3.256 GB, free: 44.51 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.01012/10.02, allocations: 2.261 MB / 3.259 GB, free: 43.38 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/10.02, allocations: 11.16 kB / 3.259 GB, free: 43.38 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/10.03, allocations: 432 kB / 3.259 GB, free: 43.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003167/10.03, allocations: 0.9931 MB / 3.26 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.941e-05/10.03, allocations: 47.75 kB / 3.26 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/10.03, allocations: 76.12 kB / 3.26 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002492/10.03, allocations: 0.9319 MB / 3.261 GB, free: 42.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/10.03, allocations: 1.207 MB / 3.262 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.41e-05/10.03, allocations: 12.22 kB / 3.262 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000159/10.03, allocations: 0 / 3.262 GB, free: 42.66 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.689e-05/10.03, allocations: 50.42 kB / 3.262 GB, free: 42.65 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.2565/10.29, allocations: 71.39 MB / 3.332 GB, free: 21.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/10.29, allocations: 498.7 kB / 3.333 GB, free: 21.94 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/10.29, allocations: 247.1 kB / 3.333 GB, free: 21.93 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05309/10.35, allocations: 17.03 MB / 3.349 GB, free: 26.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/10.35, allocations: 43.69 kB / 3.349 GB, free: 26.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 3.757e-06/10.35, allocations: 0 / 3.349 GB, free: 26.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.05094/10.4, allocations: 4.706 MB / 3.354 GB, free: 25.74 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/10.4, allocations: 136.5 kB / 3.354 GB, free: 25.59 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.001533/10.4, allocations: 0.7193 MB / 3.355 GB, free: 25.42 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002227/10.4, allocations: 28.61 kB / 3.355 GB, free: 25.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000583/10.4, allocations: 0.736 MB / 3.356 GB, free: 25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003222/10.4, allocations: 279.8 kB / 3.356 GB, free: 24.82 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-05/10.4, allocations: 0 / 3.356 GB, free: 24.82 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/10.4, allocations: 350.5 kB / 3.356 GB, free: 24.51 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009247/10.4, allocations: 366.1 kB / 3.357 GB, free: 24.51 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/10.4, allocations: 0.8405 MB / 3.357 GB, free: 23.89 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/10.4, allocations: 0.5955 MB / 3.358 GB, free: 23.86 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.952e-05/10.41, allocations: 3.969 kB / 3.358 GB, free: 23.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005456/10.41, allocations: 1.536 MB / 3.359 GB, free: 23.71 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002482/10.41, allocations: 6.357 MB / 3.366 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-05/10.41, allocations: 19.5 kB / 3.366 GB, free: 17.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004241/10.42, allocations: 0.5706 MB / 3.366 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/10.42, allocations: 289.4 kB / 3.367 GB, free: 17.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/10.42, allocations: 1.8 MB / 3.368 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/10.43, allocations: 120.7 kB / 3.368 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/10.43, allocations: 76.14 kB / 3.368 GB, free: 15.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/10.43, allocations: 3.656 kB / 3.368 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004861/10.43, allocations: 1.24 MB / 3.37 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-05/10.43, allocations: 17.5 kB / 3.37 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0027/10.43, allocations: 380.7 kB / 3.37 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001845/10.44, allocations: 299.2 kB / 3.37 GB, free: 15.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/10.44, allocations: 1.498 MB / 3.372 GB, free: 14.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/10.44, allocations: 95.75 kB / 3.372 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/10.44, allocations: 68.91 kB / 3.372 GB, free: 14.79 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: 73 * 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 (142): * Single equations (assignments): 140 * 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.0005063/10.44, allocations: 162.6 kB / 3.372 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005319/10.45, allocations: 1.14 MB / 3.373 GB, free: 14.53 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003836/10.45, allocations: 114.8 kB / 3.373 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00659/10.45, allocations: 2.694 MB / 3.376 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/10.45, allocations: 23.3 kB / 3.376 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/10.45, allocations: 0 / 3.376 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-05/10.45, allocations: 6.938 kB / 3.376 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009634/10.46, allocations: 4.277 MB / 3.38 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/10.46, allocations: 4.812 kB / 3.38 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008868/10.46, allocations: 117 kB / 3.38 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004379/10.47, allocations: 1.518 MB / 3.382 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/10.47, allocations: 17.03 kB / 3.382 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/10.47, allocations: 2.652 MB / 3.384 GB, free: 12.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5757/11.05, allocations: 56.97 MB / 3.44 GB, free: 75.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/11.06, allocations: 2.931 MB / 3.443 GB, free: 75.31 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008769/11.06, allocations: 350.6 kB / 3.443 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002895/11.06, allocations: 3.891 kB / 3.443 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/11.06, allocations: 73.97 kB / 3.443 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/11.06, allocations: 56.34 kB / 3.443 GB, free: 75.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.05e-05/11.06, allocations: 35.53 kB / 3.443 GB, free: 75.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001128/11.06, allocations: 0.6252 MB / 3.444 GB, free: 75.08 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/11.06, allocations: 0 / 3.444 GB, free: 75.08 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0182/11.08, allocations: 3.851 MB / 3.448 GB, free: 75.08 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * 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 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.04007/11.12, allocations: 6.563 MB / 3.454 GB, free: 73.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006005/11.12, allocations: 1.816 MB / 3.456 GB, free: 73.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/11.12, allocations: 3.25 kB / 3.456 GB, free: 73.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/11.13, allocations: 0.7505 MB / 3.457 GB, free: 73.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/11.13, allocations: 346.4 kB / 3.457 GB, free: 73.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/11.15, allocations: 3.758 MB / 3.461 GB, free: 72.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009484/11.15, allocations: 1.351 MB / 3.462 GB, free: 71.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003197/11.15, allocations: 0.8978 MB / 3.463 GB, free: 71.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/11.15, allocations: 0.6285 MB / 3.463 GB, free: 71.63 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/11.15, allocations: 0 / 3.463 GB, free: 71.63 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6518/11.8, allocations: 130.8 MB / 3.591 GB, free: 72.18 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/11.8, allocations: 188.8 kB / 3.591 GB, free: 71.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.469/21.27, allocations: 0 / 3.591 GB, free: 71.99 MB / 490.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