Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotorHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.4 MB / 216.5 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.601e-05, allocations: 3.938 kB / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1274, allocations: 48.7 MB / 316.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.615/7.742, allocations: 2.518 GB / 2.827 GB, free: 80.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/7.743, allocations: 90.8 kB / 2.827 GB, free: 80.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.402/10.14, allocations: 441.2 MB / 3.257 GB, free: 43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.154e-06/10.14, allocations: 5 kB / 3.257 GB, free: 43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000167/10.14, allocations: 31.25 kB / 3.258 GB, free: 43 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.01114/10.16, allocations: 2.278 MB / 3.26 GB, free: 41.86 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/10.16, allocations: 14.53 kB / 3.26 GB, free: 41.86 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/10.16, allocations: 433.5 kB / 3.26 GB, free: 41.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/10.16, allocations: 0.9993 MB / 3.261 GB, free: 41.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/10.16, allocations: 50.69 kB / 3.261 GB, free: 41.43 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/10.16, allocations: 76 kB / 3.261 GB, free: 41.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003288/10.17, allocations: 0.9518 MB / 3.262 GB, free: 41.43 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/10.17, allocations: 1.224 MB / 3.263 GB, free: 41.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/10.17, allocations: 17.12 kB / 3.263 GB, free: 41.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/10.17, allocations: 7.75 kB / 3.263 GB, free: 41.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.93e-05/10.17, allocations: 46.69 kB / 3.263 GB, free: 41.13 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.257/10.43, allocations: 71.36 MB / 3.333 GB, free: 20.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/10.43, allocations: 0.4966 MB / 3.334 GB, free: 20.58 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005343/10.43, allocations: 262.6 kB / 3.334 GB, free: 20.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05482/10.49, allocations: 17.02 MB / 3.351 GB, free: 25.39 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/10.49, allocations: 49.52 kB / 3.351 GB, free: 25.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=63): time 3.847e-06/10.49, allocations: 0 / 3.351 GB, free: 25.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=83): time 0.05083/10.54, allocations: 4.729 MB / 3.355 GB, free: 24.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/10.54, allocations: 137.2 kB / 3.355 GB, free: 24.18 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.002074/10.54, allocations: 0.7171 MB / 3.356 GB, free: 24.02 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002562/10.54, allocations: 28.33 kB / 3.356 GB, free: 23.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/10.54, allocations: 0.7422 MB / 3.357 GB, free: 23.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004515/10.54, allocations: 290.6 kB / 3.357 GB, free: 23.41 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/10.54, allocations: 0 / 3.357 GB, free: 23.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002261/10.54, allocations: 357.8 kB / 3.357 GB, free: 23.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001297/10.54, allocations: 377.7 kB / 3.358 GB, free: 23.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/10.54, allocations: 0.8619 MB / 3.359 GB, free: 22.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003732/10.55, allocations: 0.6126 MB / 3.359 GB, free: 22.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/10.55, allocations: 3.531 kB / 3.359 GB, free: 22.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.007565/10.55, allocations: 1.547 MB / 3.361 GB, free: 22.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002982/10.56, allocations: 6.266 MB / 3.367 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.187e-05/10.56, allocations: 19.59 kB / 3.367 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004021/10.56, allocations: 464 kB / 3.367 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/10.56, allocations: 310.8 kB / 3.368 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005405/10.57, allocations: 1.664 MB / 3.369 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/10.57, allocations: 139 kB / 3.369 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002863/10.57, allocations: 85.33 kB / 3.369 GB, free: 14.63 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/10.57, allocations: 3.812 kB / 3.369 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005136/10.58, allocations: 1.185 MB / 3.371 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/10.58, allocations: 15 kB / 3.371 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/10.58, allocations: 317.4 kB / 3.371 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/10.58, allocations: 301.9 kB / 3.371 GB, free: 14.56 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002731/10.59, allocations: 1.408 MB / 3.373 GB, free: 13.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/10.59, allocations: 118.8 kB / 3.373 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/10.59, allocations: 74.31 kB / 3.373 GB, free: 13.49 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: 72 * 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 (148): * Single equations (assignments): 144 * 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.00113/10.59, allocations: 154.3 kB / 3.373 GB, free: 29.38 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00662/10.6, allocations: 1.097 MB / 3.374 GB, free: 29.25 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/10.6, allocations: 117.8 kB / 3.374 GB, free: 29.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00711/10.61, allocations: 2.767 MB / 3.377 GB, free: 28.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006006/10.61, allocations: 2.369 MB / 3.379 GB, free: 28.79 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/10.61, allocations: 7.875 kB / 3.379 GB, free: 28.79 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.211e-05/10.61, allocations: 3.375 kB / 3.379 GB, free: 28.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/10.62, allocations: 4.584 MB / 3.384 GB, free: 28.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/10.62, allocations: 3.875 kB / 3.384 GB, free: 28.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/10.63, allocations: 136.2 kB / 3.384 GB, free: 28.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004048/10.63, allocations: 1.465 MB / 3.385 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/10.63, allocations: 19.28 kB / 3.385 GB, free: 28.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004416/10.63, allocations: 2.641 MB / 3.388 GB, free: 27.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5842/11.22, allocations: 56.81 MB / 3.443 GB, free: 74.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007523/11.23, allocations: 3.219 MB / 3.446 GB, free: 73.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/11.23, allocations: 353.3 kB / 3.447 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/11.23, allocations: 5.938 kB / 3.447 GB, free: 73.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/11.23, allocations: 85.08 kB / 3.447 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/11.23, allocations: 65.42 kB / 3.447 GB, free: 73.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/11.23, allocations: 39.08 kB / 3.447 GB, free: 73.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001202/11.23, allocations: 0.6252 MB / 3.447 GB, free: 73.64 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/11.23, allocations: 1.125 kB / 3.447 GB, free: 73.64 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01875/11.25, allocations: 3.89 MB / 3.451 GB, free: 73.64 MB / 490.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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * 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 6,3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.04234/11.29, allocations: 6.656 MB / 3.458 GB, free: 72.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005833/11.3, allocations: 1.899 MB / 3.46 GB, free: 72.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/11.3, allocations: 0 / 3.46 GB, free: 72.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002213/11.3, allocations: 0.8062 MB / 3.46 GB, free: 72.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/11.3, allocations: 347.9 kB / 3.461 GB, free: 72.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/11.32, allocations: 3.836 MB / 3.465 GB, free: 71.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/11.32, allocations: 1.359 MB / 3.466 GB, free: 70.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0037/11.33, allocations: 0.8724 MB / 3.467 GB, free: 70.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/11.33, allocations: 0.6422 MB / 3.467 GB, free: 70.26 MB / 490.7 MB Notification: Performance of SimCode: time 1.362e-06/11.33, allocations: 0 / 3.467 GB, free: 70.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6325/11.96, allocations: 130.5 MB / 3.595 GB, free: 70.88 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001946/11.96, allocations: 203 kB / 3.595 GB, free: 70.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.676/21.64, allocations: 3.125 kB / 3.595 GB, free: 70.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat does not exist to compare? outputFormat=mat