Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.DCPM_Start.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) 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.06/1.06, allocations: 111.2 MB / 124.2 MB, free: 11.17 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.541e-05/2.555e-05, allocations: 4 kB / 154.4 MB, free: 13.06 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1707, allocations: 25.16 MB / 179.5 MB, free: 0.7969 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0711/0.2419, allocations: 38.41 MB / 217.9 MB, free: 10.68 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.2422, allocations: 67.97 kB / 218 MB, free: 10.61 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02736/0.2696, allocations: 6.33 MB / 224.3 MB, free: 4.258 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2696, allocations: 0 / 224.3 MB, free: 4.258 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.985e-05/0.2696, allocations: 8 kB / 224.3 MB, free: 4.25 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.001264/0.2709, allocations: 0.5762 MB / 224.9 MB, free: 3.629 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.271, allocations: 12.03 kB / 224.9 MB, free: 3.617 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.2711, allocations: 70.53 kB / 225 MB, free: 3.539 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.2712, allocations: 35.53 kB / 225 MB, free: 3.504 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004962/0.2717, allocations: 279.4 kB / 225.3 MB, free: 3.191 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.2718, allocations: 24.78 kB / 225.3 MB, free: 3.168 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.2719, allocations: 36 kB / 225.4 MB, free: 3.133 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008711/0.2728, allocations: 335 kB / 225.7 MB, free: 2.793 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.2728, allocations: 3.938 kB / 225.7 MB, free: 2.789 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.573e-05/0.2729, allocations: 15.95 kB / 225.7 MB, free: 2.773 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.2729, allocations: 8 kB / 225.7 MB, free: 2.766 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006462/0.2736, allocations: 207 kB / 225.9 MB, free: 2.562 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.2765, allocations: 1.227 MB / 227.2 MB, free: 1.246 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000443/0.277, allocations: 135.4 kB / 227.3 MB, free: 1.105 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.2772, allocations: 56.89 kB / 227.3 MB, free: 1.047 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.2772, allocations: 7.953 kB / 227.3 MB, free: 1.039 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.2772, allocations: 34.56 kB / 227.4 MB, free: 0.9961 MB / 186.7 MB Notification: Performance of pre-optimization done (n=15): time 2.906e-06/0.2772, allocations: 0 / 227.4 MB, free: 0.9961 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.001266/0.2785, allocations: 0.4959 MB / 227.9 MB, free: 456 kB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.2786, allocations: 81.11 kB / 228 MB, free: 356 kB / 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.0005137/0.2791, allocations: 247.1 kB / 228.2 MB, free: 104 kB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.2792, allocations: 25.7 kB / 228.2 MB, free: 72 kB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.2794, allocations: 278 kB / 228.5 MB, free: 15.8 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.403e-05/0.2795, allocations: 55.2 kB / 228.5 MB, free: 15.74 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.548e-05/0.2795, allocations: 4 kB / 228.6 MB, free: 15.74 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2797, allocations: 322.8 kB / 228.9 MB, free: 15.41 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2798, allocations: 48 kB / 228.9 MB, free: 15.37 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.2801, allocations: 133.5 kB / 229 MB, free: 15.2 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001995/0.2803, allocations: 66.72 kB / 229.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2803, allocations: 0 / 229.1 MB, free: 15.14 MB / 202.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006212/0.2809, allocations: 234 kB / 229.3 MB, free: 14.9 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.281, allocations: 9.562 kB / 229.3 MB, free: 14.89 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.281, allocations: 4 kB / 229.4 MB, free: 14.89 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.2812, allocations: 29.12 kB / 229.4 MB, free: 14.86 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.2816, allocations: 55.91 kB / 229.4 MB, free: 14.8 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.283, allocations: 1.277 MB / 230.7 MB, free: 13.39 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.2834, allocations: 24.02 kB / 230.7 MB, free: 13.37 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.2834, allocations: 12 kB / 230.7 MB, free: 13.36 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.0001904/0.2836, allocations: 121.4 kB / 230.9 MB, free: 13.23 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.2837, allocations: 23.72 kB / 230.9 MB, free: 13.21 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.07e-05/0.2838, allocations: 25.95 kB / 230.9 MB, free: 13.19 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.2838, allocations: 4 kB / 230.9 MB, free: 13.18 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2838, allocations: 0 / 230.9 MB, free: 13.18 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2839, allocations: 0 / 230.9 MB, free: 13.18 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.285, allocations: 0.5945 MB / 231.5 MB, free: 12.52 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.285, allocations: 3.984 kB / 231.5 MB, free: 12.52 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.2854, allocations: 39.92 kB / 231.6 MB, free: 12.48 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.2856, allocations: 24.84 kB / 231.6 MB, free: 12.45 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.2856, allocations: 4 kB / 231.6 MB, free: 12.45 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.2869, allocations: 1.276 MB / 232.9 MB, free: 11.04 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.2869, allocations: 3.953 kB / 232.9 MB, free: 11.04 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007184/0.2876, allocations: 364 kB / 233.2 MB, free: 10.65 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.2878, allocations: 108.9 kB / 233.3 MB, free: 10.52 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.003e-05/0.2879, allocations: 11.98 kB / 233.3 MB, free: 10.51 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003412/0.2883, allocations: 19.98 kB / 233.4 MB, free: 10.49 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.179e-05/0.2884, allocations: 15.98 kB / 233.4 MB, free: 10.48 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.2884, allocations: 4 kB / 233.4 MB, free: 10.47 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0003135/0.2887, allocations: 191.1 kB / 233.6 MB, free: 10.28 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2887, allocations: 0 / 233.6 MB, free: 10.28 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005116/0.2893, allocations: 60 kB / 233.6 MB, free: 10.22 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.001138/0.2904, allocations: 1.044 MB / 234.7 MB, free: 9.133 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0006949/0.2911, allocations: 254.4 kB / 234.9 MB, free: 8.871 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.2912, allocations: 0 / 234.9 MB, free: 8.871 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003297/0.2915, allocations: 174.6 kB / 235.1 MB, free: 8.688 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/0.2921, allocations: 41.23 kB / 235.1 MB, free: 8.648 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.2938, allocations: 0.6205 MB / 235.7 MB, free: 7.984 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.2943, allocations: 0.7794 MB / 236.5 MB, free: 7.18 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002293/0.2946, allocations: 95.41 kB / 236.6 MB, free: 7.086 MB / 202.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2946, allocations: 0 / 236.6 MB, free: 7.086 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.74/3.034, allocations: 5.91 MB / 242.5 MB, free: 1.172 MB / 202.7 MB