Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCPM_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.105/1.105, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.675e-05, allocations: 4 kB / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04953/0.04957, allocations: 25.18 MB / 173.3 MB, free: 13 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.2733, allocations: 37.75 MB / 211 MB, free: 7.062 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.2735, allocations: 67.27 kB / 211.1 MB, free: 7.062 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02181/0.2954, allocations: 6.268 MB / 217.4 MB, free: 5.863 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.926e-06/0.2954, allocations: 0 / 217.4 MB, free: 5.863 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.644e-05/0.2955, allocations: 6.375 kB / 217.4 MB, free: 5.863 MB / 170.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.0007915/0.2963, allocations: 0.5704 MB / 217.9 MB, free: 5.387 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2963, allocations: 9.688 kB / 218 MB, free: 5.387 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.2964, allocations: 38.69 kB / 218 MB, free: 5.367 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.2968, allocations: 279 kB / 218.3 MB, free: 5.125 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.2968, allocations: 16.81 kB / 218.3 MB, free: 5.121 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.45e-05/0.2969, allocations: 28.27 kB / 218.3 MB, free: 5.113 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004326/0.2974, allocations: 185.4 kB / 218.5 MB, free: 5.109 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.2979, allocations: 281.3 kB / 218.8 MB, free: 5.012 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.298, allocations: 3.75 kB / 218.8 MB, free: 5.012 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.298, allocations: 3.953 kB / 218.8 MB, free: 5.008 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.641e-06/0.298, allocations: 6.719 kB / 218.8 MB, free: 5.008 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.2999, allocations: 1.144 MB / 219.9 MB, free: 4.285 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.3003, allocations: 122.7 kB / 220 MB, free: 4.254 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.3004, allocations: 54.14 kB / 220.1 MB, free: 4.242 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3004, allocations: 6.719 kB / 220.1 MB, free: 4.242 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.3004, allocations: 34.5 kB / 220.1 MB, free: 4.203 MB / 170.7 MB Notification: Performance of pre-optimization done (n=15): time 3.822e-06/0.3004, allocations: 3.984 kB / 220.1 MB, free: 4.199 MB / 170.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008741/0.3013, allocations: 483 kB / 220.6 MB, free: 3.855 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.3014, allocations: 77.11 kB / 220.7 MB, free: 3.762 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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.0003018/0.3017, allocations: 216.3 kB / 220.9 MB, free: 3.645 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.3017, allocations: 25.7 kB / 220.9 MB, free: 3.613 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.677e-05/0.3018, allocations: 279.5 kB / 221.2 MB, free: 3.379 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-05/0.3019, allocations: 57.55 kB / 221.3 MB, free: 3.34 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.035e-05/0.3019, allocations: 4 kB / 221.3 MB, free: 3.336 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.302, allocations: 318.8 kB / 221.6 MB, free: 3.02 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.3021, allocations: 41.12 kB / 221.6 MB, free: 3.02 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.3022, allocations: 121.9 kB / 221.7 MB, free: 2.922 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3024, allocations: 57.92 kB / 221.8 MB, free: 2.914 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.844e-06/0.3024, allocations: 0 / 221.8 MB, free: 2.914 MB / 170.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004254/0.3028, allocations: 216.9 kB / 222 MB, free: 2.832 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3029, allocations: 3.906 kB / 222 MB, free: 2.832 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.28e-06/0.3029, allocations: 3.812 kB / 222 MB, free: 2.832 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001569/0.303, allocations: 24.06 kB / 222 MB, free: 2.82 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.3033, allocations: 62.47 kB / 222.1 MB, free: 2.805 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000795/0.3041, allocations: 1.222 MB / 223.3 MB, free: 1.586 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.3044, allocations: 27.58 kB / 223.3 MB, free: 1.574 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3045, allocations: 7.75 kB / 223.3 MB, free: 1.574 MB / 170.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.000134/0.3046, allocations: 113.4 kB / 223.5 MB, free: 1.465 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.3047, allocations: 27.3 kB / 223.5 MB, free: 1.449 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.3048, allocations: 29.33 kB / 223.5 MB, free: 1.426 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3048, allocations: 0 / 223.5 MB, free: 1.426 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.162e-06/0.3048, allocations: 0 / 223.5 MB, free: 1.426 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3048, allocations: 4 kB / 223.5 MB, free: 1.422 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007638/0.3056, allocations: 0.5203 MB / 224 MB, free: 1.059 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3056, allocations: 3.875 kB / 224 MB, free: 1.059 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.3059, allocations: 46.77 kB / 224.1 MB, free: 1.047 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.306, allocations: 16.59 kB / 224.1 MB, free: 1.035 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.306, allocations: 3.875 kB / 224.1 MB, free: 1.035 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.3071, allocations: 1.222 MB / 225.3 MB, free: 15.81 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.891e-06/0.3071, allocations: 3.938 kB / 225.3 MB, free: 15.8 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004827/0.3076, allocations: 342.5 kB / 225.7 MB, free: 15.58 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001431/0.3078, allocations: 107.7 kB / 225.8 MB, free: 15.47 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3079, allocations: 3.984 kB / 225.8 MB, free: 15.47 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.3081, allocations: 23.56 kB / 225.8 MB, free: 15.46 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.3082, allocations: 22.67 kB / 225.8 MB, free: 15.45 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.3082, allocations: 3.688 kB / 225.8 MB, free: 15.45 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.3084, allocations: 158.4 kB / 226 MB, free: 15.36 MB / 186.7 MB Notification: Performance of sort global known variables: time 9.08e-07/0.3084, allocations: 0 / 226 MB, free: 15.36 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005258/0.309, allocations: 57.38 kB / 226 MB, free: 15.36 MB / 186.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.0001457/0.3091, allocations: 94.62 kB / 226.1 MB, free: 15.27 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004849/0.3096, allocations: 245.7 kB / 226.4 MB, free: 15.15 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.632e-06/0.3096, allocations: 0 / 226.4 MB, free: 15.15 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.3099, allocations: 163.5 kB / 226.5 MB, free: 15.04 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.3103, allocations: 30.7 kB / 226.6 MB, free: 15.03 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3113, allocations: 0.5493 MB / 227.1 MB, free: 14.63 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004678/0.3118, allocations: 0.7809 MB / 227.9 MB, free: 13.89 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.3119, allocations: 19.12 kB / 227.9 MB, free: 13.88 MB / 186.7 MB Notification: Performance of SimCode: time 1.595e-06/0.3119, allocations: 0 / 227.9 MB, free: 13.88 MB / 186.7 MB Notification: Performance of Templates: time 0.007958/0.3199, allocations: 4.321 MB / 232.2 MB, free: 11.72 MB / 186.7 MB