Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCPM_Start,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Machines_Examples_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.03/1.03, allocations: 111.2 MB / 123.8 MB, free: 11.21 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.771e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2173, allocations: 25.16 MB / 176.6 MB, free: 15.93 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06738/0.2848, allocations: 38.43 MB / 215.1 MB, free: 10.94 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.2851, allocations: 59.97 kB / 215.1 MB, free: 10.88 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02726/0.3123, allocations: 6.329 MB / 221.5 MB, free: 4.516 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3124, allocations: 4 kB / 221.5 MB, free: 4.512 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.605e-05/0.3124, allocations: 4 kB / 221.5 MB, free: 4.508 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001275/0.3137, allocations: 0.5801 MB / 222 MB, free: 3.883 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.3138, allocations: 12.03 kB / 222.1 MB, free: 3.871 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.3139, allocations: 74.52 kB / 222.1 MB, free: 3.789 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001105/0.314, allocations: 43.53 kB / 222.2 MB, free: 3.746 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.3145, allocations: 275.4 kB / 222.4 MB, free: 3.438 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.3146, allocations: 28.78 kB / 222.5 MB, free: 3.41 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.3147, allocations: 36 kB / 222.5 MB, free: 3.375 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008081/0.3155, allocations: 317.5 kB / 222.8 MB, free: 3.051 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3155, allocations: 0 / 222.8 MB, free: 3.051 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.3156, allocations: 23.94 kB / 222.8 MB, free: 3.027 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3156, allocations: 12 kB / 222.8 MB, free: 3.016 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.3162, allocations: 201.5 kB / 223 MB, free: 2.82 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002801/0.319, allocations: 1.219 MB / 224.3 MB, free: 1.516 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.3195, allocations: 134.6 kB / 224.4 MB, free: 1.375 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.3197, allocations: 56.84 kB / 224.4 MB, free: 1.316 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3197, allocations: 7.953 kB / 224.5 MB, free: 1.309 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.3197, allocations: 34.56 kB / 224.5 MB, free: 1.266 MB / 186.7 MB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.3197, allocations: 0 / 224.5 MB, free: 1.266 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.001217/0.321, allocations: 0.4925 MB / 225 MB, free: 0.7188 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.3211, allocations: 85.11 kB / 225.1 MB, free: 0.6172 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Mechanics/Rotational.mo:4773:7-4774:27:writable] Warning: Parameter loadTorqueStep.offsetTorque has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7500:7-7502:73:writable] Warning: Parameter dcpm.La has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0015) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7497:7-7499:73:writable] Warning: Parameter dcpm.Ra has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7494:7-7496:56:writable] Warning: Parameter dcpm.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=149.2256510455151) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7491:7-7493:56:writable] Warning: Parameter dcpm.IaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7488:7-7490:56:writable] Warning: Parameter dcpm.VaNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7272:7-7274:46:writable] Warning: Parameter dcpm.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcpm.Jr) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:7268:7-7268:72:writable] Warning: Parameter dcpm.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.3216, allocations: 247.8 kB / 225.3 MB, free: 380 kB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.3216, allocations: 29.7 kB / 225.3 MB, free: 344 kB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3218, allocations: 270 kB / 225.6 MB, free: 72 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.3219, allocations: 59.19 kB / 225.7 MB, free: 12 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.3219, allocations: 4 kB / 225.7 MB, free: 8 kB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3221, allocations: 318.9 kB / 226 MB, free: 15.68 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.3222, allocations: 52 kB / 226 MB, free: 15.63 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.3224, allocations: 125.5 kB / 226.1 MB, free: 15.48 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.3227, allocations: 70.88 kB / 226.2 MB, free: 15.41 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3227, allocations: 0 / 226.2 MB, free: 15.41 MB / 202.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006035/0.3233, allocations: 234.1 kB / 226.4 MB, free: 15.17 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3233, allocations: 4.781 kB / 226.5 MB, free: 15.17 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3233, allocations: 4 kB / 226.5 MB, free: 15.16 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001897/0.3235, allocations: 24.84 kB / 226.5 MB, free: 15.14 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.324, allocations: 55.91 kB / 226.5 MB, free: 15.08 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.3253, allocations: 1.273 MB / 227.8 MB, free: 13.68 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004035/0.3257, allocations: 28.17 kB / 227.8 MB, free: 13.65 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.3257, allocations: 8 kB / 227.8 MB, free: 13.64 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: dcpm.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcpm.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcpm.inertiaRotor.w:VARIABLE(unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.3259, allocations: 125.3 kB / 228 MB, free: 13.51 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.627e-05/0.326, allocations: 23.72 kB / 228 MB, free: 13.49 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.033e-05/0.3261, allocations: 25.97 kB / 228 MB, free: 13.46 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3261, allocations: 7.984 kB / 228 MB, free: 13.45 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3261, allocations: 0 / 228 MB, free: 13.45 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3262, allocations: 0 / 228 MB, free: 13.45 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.3273, allocations: 0.5944 MB / 228.6 MB, free: 12.8 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3273, allocations: 0 / 228.6 MB, free: 12.8 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.3277, allocations: 43.91 kB / 228.7 MB, free: 12.75 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001335/0.3279, allocations: 24.92 kB / 228.7 MB, free: 12.73 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.3279, allocations: 4 kB / 228.7 MB, free: 12.72 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.3291, allocations: 1.26 MB / 229.9 MB, free: 11.33 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.3291, allocations: 11.98 kB / 230 MB, free: 11.32 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006996/0.3298, allocations: 358 kB / 230.3 MB, free: 10.93 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.33, allocations: 112.8 kB / 230.4 MB, free: 10.8 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.3301, allocations: 4 kB / 230.4 MB, free: 10.8 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.3304, allocations: 23.98 kB / 230.4 MB, free: 10.78 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.3305, allocations: 11.98 kB / 230.5 MB, free: 10.77 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.3305, allocations: 4 kB / 230.5 MB, free: 10.76 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002885/0.3308, allocations: 199 kB / 230.7 MB, free: 10.56 MB / 202.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3308, allocations: 0 / 230.7 MB, free: 10.56 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005619/0.3314, allocations: 68 kB / 230.7 MB, free: 10.5 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.3325, allocations: 1.028 MB / 231.7 MB, free: 9.422 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.000687/0.3333, allocations: 249.6 kB / 232 MB, free: 9.168 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3333, allocations: 0.5625 kB / 232 MB, free: 9.168 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000355/0.3336, allocations: 169.7 kB / 232.2 MB, free: 8.992 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.3342, allocations: 41.84 kB / 232.2 MB, free: 8.953 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.336, allocations: 0.6106 MB / 232.8 MB, free: 8.301 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.3365, allocations: 0.7833 MB / 233.6 MB, free: 7.492 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.3367, allocations: 95.41 kB / 233.7 MB, free: 7.398 MB / 202.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3367, allocations: 4 kB / 233.7 MB, free: 7.395 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.491/2.828, allocations: 5.897 MB / 239.6 MB, free: 1.492 MB / 202.7 MB