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 1.918/1.918, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.9e-05/2.935e-05, allocations: 4 kB / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1102, allocations: 48.7 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.887/7.997, allocations: 2.517 GB / 2.826 GB, free: 71.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/7.998, allocations: 84.33 kB / 2.826 GB, free: 71.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474/10.47, allocations: 440.5 MB / 3.256 GB, free: 45.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/10.47, allocations: 0 / 3.256 GB, free: 45.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001309/10.47, allocations: 35.91 kB / 3.256 GB, free: 45.32 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.00995/10.48, allocations: 2.261 MB / 3.259 GB, free: 44.18 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/10.48, allocations: 10.91 kB / 3.259 GB, free: 44.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/10.49, allocations: 425.8 kB / 3.259 GB, free: 44.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003145/10.49, allocations: 0.9962 MB / 3.26 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/10.49, allocations: 47.69 kB / 3.26 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/10.49, allocations: 73.53 kB / 3.26 GB, free: 43.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002583/10.49, allocations: 0.9321 MB / 3.261 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/10.5, allocations: 1.209 MB / 3.262 GB, free: 43.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-05/10.5, allocations: 7.562 kB / 3.262 GB, free: 43.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/10.5, allocations: 6.844 kB / 3.262 GB, free: 43.46 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/10.5, allocations: 48.64 kB / 3.262 GB, free: 43.45 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.2521/10.75, allocations: 71.39 MB / 3.332 GB, free: 22.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/10.75, allocations: 496.8 kB / 3.333 GB, free: 22.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005472/10.75, allocations: 245.6 kB / 3.333 GB, free: 22.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05335/10.8, allocations: 17.03 MB / 3.349 GB, free: 27.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.689e-05/10.8, allocations: 42.38 kB / 3.349 GB, free: 27.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=60): time 4.498e-06/10.8, allocations: 0 / 3.349 GB, free: 27.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.04598/10.85, allocations: 4.709 MB / 3.354 GB, free: 26.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/10.85, allocations: 140.5 kB / 3.354 GB, free: 26.33 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.00152/10.85, allocations: 0.7167 MB / 3.355 GB, free: 26.17 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001944/10.85, allocations: 25.7 kB / 3.355 GB, free: 26.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005122/10.85, allocations: 0.7467 MB / 3.356 GB, free: 25.68 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/10.85, allocations: 277.4 kB / 3.356 GB, free: 25.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.596e-05/10.85, allocations: 0 / 3.356 GB, free: 25.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/10.85, allocations: 365.1 kB / 3.356 GB, free: 25.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008962/10.85, allocations: 357.1 kB / 3.357 GB, free: 25.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/10.85, allocations: 0.8515 MB / 3.357 GB, free: 24.55 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/10.86, allocations: 0.591 MB / 3.358 GB, free: 24.53 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/10.86, allocations: 3.344 kB / 3.358 GB, free: 24.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005202/10.86, allocations: 1.478 MB / 3.359 GB, free: 24.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002592/10.86, allocations: 6.359 MB / 3.366 GB, free: 17.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.983e-05/10.86, allocations: 19.5 kB / 3.366 GB, free: 17.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004213/10.87, allocations: 0.5663 MB / 3.366 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001904/10.87, allocations: 296.4 kB / 3.366 GB, free: 17.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004342/10.88, allocations: 1.789 MB / 3.368 GB, free: 16.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/10.88, allocations: 119.9 kB / 3.368 GB, free: 16.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/10.88, allocations: 78.11 kB / 3.368 GB, free: 16.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/10.88, allocations: 7.125 kB / 3.368 GB, free: 16.64 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004885/10.88, allocations: 1.238 MB / 3.37 GB, free: 16.58 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-05/10.88, allocations: 19 kB / 3.37 GB, free: 16.58 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/10.89, allocations: 349 kB / 3.37 GB, free: 16.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/10.89, allocations: 300.7 kB / 3.37 GB, free: 16.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002479/10.89, allocations: 1.477 MB / 3.372 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/10.89, allocations: 98.64 kB / 3.372 GB, free: 15.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/10.89, allocations: 69.52 kB / 3.372 GB, free: 15.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: 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.0005411/10.89, allocations: 159 kB / 3.372 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005488/10.9, allocations: 1.144 MB / 3.373 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004153/10.9, allocations: 110.2 kB / 3.373 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00674/10.91, allocations: 2.7 MB / 3.376 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.331e-05/10.91, allocations: 27.48 kB / 3.376 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/10.91, allocations: 0 / 3.376 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.89e-05/10.91, allocations: 3.703 kB / 3.376 GB, free: 14.93 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/10.92, allocations: 4.283 MB / 3.38 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/10.92, allocations: 0 / 3.38 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008831/10.92, allocations: 118.3 kB / 3.38 GB, free: 14.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004469/10.92, allocations: 1.506 MB / 3.382 GB, free: 14.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/10.92, allocations: 18.52 kB / 3.382 GB, free: 14.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004546/10.93, allocations: 2.65 MB / 3.384 GB, free: 12.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.5858/11.51, allocations: 56.94 MB / 3.44 GB, free: 67.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005665/11.52, allocations: 2.923 MB / 3.443 GB, free: 66.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009523/11.52, allocations: 346.9 kB / 3.443 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/11.52, allocations: 3.656 kB / 3.443 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/11.52, allocations: 74.7 kB / 3.443 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/11.52, allocations: 58.95 kB / 3.443 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-05/11.52, allocations: 39.64 kB / 3.443 GB, free: 66.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0012/11.52, allocations: 0.6247 MB / 3.444 GB, free: 66.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/11.52, allocations: 0 / 3.444 GB, free: 66.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01867/11.54, allocations: 3.858 MB / 3.448 GB, free: 66.59 MB / 474.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.04187/11.58, allocations: 6.567 MB / 3.454 GB, free: 65.17 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005903/11.59, allocations: 1.794 MB / 3.456 GB, free: 65.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/11.59, allocations: 0 / 3.456 GB, free: 65.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002195/11.59, allocations: 0.7437 MB / 3.457 GB, free: 65.14 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/11.59, allocations: 342.3 kB / 3.457 GB, free: 65.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/11.61, allocations: 3.792 MB / 3.461 GB, free: 63.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/11.61, allocations: 1.344 MB / 3.462 GB, free: 63.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/11.61, allocations: 0.6469 MB / 3.463 GB, free: 63.08 MB / 474.7 MB Notification: Performance of SimCode: time 1.562e-06/11.61, allocations: 0 / 3.463 GB, free: 63.08 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.601/18.22, allocations: 123.9 MB / 3.584 GB, free: 69.6 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