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.981/1.981, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.147e-05/4.162e-05, allocations: 7.984 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.72/7.83, allocations: 2.518 GB / 2.832 GB, free: 40.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/7.83, allocations: 87.12 kB / 2.832 GB, free: 40.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.388/10.22, allocations: 444.8 MB / 3.266 GB, free: 47.04 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.973e-06/10.22, allocations: 3.938 kB / 3.266 GB, free: 47.04 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000137/10.22, allocations: 32.53 kB / 3.266 GB, free: 47.03 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.009566/10.23, allocations: 2.257 MB / 3.269 GB, free: 45.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/10.23, allocations: 10.12 kB / 3.269 GB, free: 45.87 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000521/10.23, allocations: 198.3 kB / 3.269 GB, free: 45.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004198/10.23, allocations: 425.7 kB / 3.269 GB, free: 45.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003202/10.24, allocations: 0.9947 MB / 3.27 GB, free: 45.4 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/10.24, allocations: 100.5 kB / 3.27 GB, free: 45.4 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/10.24, allocations: 131.8 kB / 3.27 GB, free: 45.39 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004972/10.24, allocations: 1.626 MB / 3.272 GB, free: 45.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.393e-05/10.24, allocations: 1.781 kB / 3.272 GB, free: 45.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/10.24, allocations: 60.03 kB / 3.272 GB, free: 45.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-05/10.24, allocations: 44.88 kB / 3.272 GB, free: 45.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004431/10.25, allocations: 1.247 MB / 3.273 GB, free: 45.08 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.01293/10.26, allocations: 7.67 MB / 3.281 GB, free: 40.51 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/10.26, allocations: 0.8347 MB / 3.282 GB, free: 40.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006437/10.26, allocations: 294.3 kB / 3.282 GB, free: 40.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05464/10.32, allocations: 18.42 MB / 3.3 GB, free: 29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.657e-05/10.32, allocations: 44.84 kB / 3.3 GB, free: 28.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 3.807e-06/10.32, allocations: 0 / 3.3 GB, free: 28.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=92): time 0.05331/10.37, allocations: 5.715 MB / 3.306 GB, free: 28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2048/10.58, allocations: 43.13 MB / 3.348 GB, free: 11.07 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.001551/10.58, allocations: 0.773 MB / 3.348 GB, free: 10.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000224/10.58, allocations: 40.02 kB / 3.348 GB, free: 10.49 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/10.58, allocations: 0.714 MB / 3.349 GB, free: 9.957 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000315/10.58, allocations: 320.6 kB / 3.35 GB, free: 9.676 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/10.58, allocations: 28 kB / 3.35 GB, free: 9.648 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/10.58, allocations: 356 kB / 3.35 GB, free: 9.312 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/10.58, allocations: 394.5 kB / 3.35 GB, free: 8.941 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/10.58, allocations: 0.8936 MB / 3.351 GB, free: 7.855 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/10.58, allocations: 0.5143 MB / 3.352 GB, free: 7.406 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/10.58, allocations: 4 kB / 3.352 GB, free: 7.402 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004748/10.59, allocations: 1.582 MB / 3.353 GB, free: 5.941 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001801/10.59, allocations: 6.358 MB / 3.359 GB, free: 15.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.462e-05/10.59, allocations: 16 kB / 3.359 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008231/10.6, allocations: 0.9869 MB / 3.36 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002007/10.6, allocations: 296.3 kB / 3.361 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003627/10.6, allocations: 1.637 MB / 3.362 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002327/10.61, allocations: 128.6 kB / 3.362 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/10.61, allocations: 83.17 kB / 3.362 GB, free: 12.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/10.61, allocations: 4 kB / 3.362 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005828/10.61, allocations: 1.603 MB / 3.364 GB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/10.61, allocations: 16 kB / 3.364 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00459/10.62, allocations: 0.6482 MB / 3.365 GB, free: 10.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/10.62, allocations: 310.4 kB / 3.365 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/10.62, allocations: 1.615 MB / 3.367 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002161/10.62, allocations: 106.7 kB / 3.367 GB, free: 8.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/10.62, allocations: 79.36 kB / 3.367 GB, free: 8.262 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.0005027/10.62, allocations: 197.3 kB / 3.367 GB, free: 8.062 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/10.63, allocations: 126.5 kB / 3.367 GB, free: 7.938 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/10.64, allocations: 3.961 MB / 3.371 GB, free: 4.465 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-05/10.64, allocations: 40.97 kB / 3.371 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/10.64, allocations: 0 / 3.371 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.771e-05/10.64, allocations: 7.594 kB / 3.371 GB, free: 4.438 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3591/11, allocations: 5.814 MB / 3.377 GB, free: 52.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/11, allocations: 2.734 kB / 3.377 GB, free: 52.79 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/11, allocations: 163.2 kB / 3.377 GB, free: 52.79 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009264/11.01, allocations: 1.815 MB / 3.379 GB, free: 52.75 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/11.01, allocations: 30.64 kB / 3.379 GB, free: 52.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004319/11.01, allocations: 2.436 MB / 3.381 GB, free: 51.71 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05465/11.07, allocations: 18.4 MB / 3.399 GB, free: 49.16 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008514/11.07, allocations: 3.807 MB / 3.403 GB, free: 48.81 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/11.07, allocations: 397.3 kB / 3.403 GB, free: 48.66 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/11.08, allocations: 20.09 kB / 3.403 GB, free: 48.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/11.08, allocations: 94.94 kB / 3.403 GB, free: 48.66 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/11.08, allocations: 81.84 kB / 3.403 GB, free: 48.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/11.08, allocations: 40.41 kB / 3.403 GB, free: 48.65 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00126/11.08, allocations: 0.6578 MB / 3.404 GB, free: 48.54 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.61e-07/11.08, allocations: 0 / 3.404 GB, free: 48.54 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01826/11.1, allocations: 3.959 MB / 3.408 GB, free: 48.54 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.04191/11.14, allocations: 7.463 MB / 3.415 GB, free: 47.01 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006909/11.15, allocations: 2.23 MB / 3.417 GB, free: 46.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/11.15, allocations: 0 / 3.417 GB, free: 46.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002621/11.15, allocations: 1.053 MB / 3.418 GB, free: 46.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003287/11.15, allocations: 404.7 kB / 3.419 GB, free: 46.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2544/11.41, allocations: 78.28 MB / 3.495 GB, free: 37.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/11.41, allocations: 1.434 MB / 3.496 GB, free: 36.53 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003299/11.41, allocations: 0.7801 MB / 3.497 GB, free: 36.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/11.41, allocations: 0.7059 MB / 3.498 GB, free: 35.41 MB / 458.7 MB Notification: Performance of SimCode: time 9.02e-07/11.41, allocations: 0 / 3.498 GB, free: 35.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.72/12.13, allocations: 145.6 MB / 3.64 GB, free: 30.56 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002846/12.13, allocations: 248.3 kB / 3.64 GB, free: 30.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.967/22.1, allocations: 0 / 3.64 GB, free: 30.23 MB / 474.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