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.DCEE_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: translateModel(Modelica.Electrical.Machines.Examples.DCEE_Start,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.124/1.124, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002622, allocations: 11.98 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0541/0.05438, allocations: 25.16 MB / 184 MB, free: 6.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2209/0.2754, allocations: 38.97 MB / 223 MB, free: 5.266 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.2757, allocations: 64.31 kB / 223.1 MB, free: 5.258 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0303/0.306, allocations: 7.8 MB / 230.9 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3061, allocations: 0 / 230.9 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.3061, allocations: 8 kB / 230.9 MB, free: 0.9258 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001387/0.3075, allocations: 0.652 MB / 231.5 MB, free: 256 kB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3076, allocations: 11.97 kB / 231.5 MB, free: 244 kB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.3077, allocations: 51.42 kB / 231.6 MB, free: 192 kB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005973/0.3083, allocations: 304.8 kB / 231.9 MB, free: 15.89 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.3084, allocations: 28.06 kB / 231.9 MB, free: 15.88 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.915e-05/0.3085, allocations: 42.69 kB / 232 MB, free: 15.85 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.3097, allocations: 418.1 kB / 232.4 MB, free: 15.55 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.3098, allocations: 7.938 kB / 232.4 MB, free: 15.55 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.3098, allocations: 18.64 kB / 232.4 MB, free: 15.54 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.3099, allocations: 8 kB / 232.4 MB, free: 15.53 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.3109, allocations: 297.9 kB / 232.7 MB, free: 15.33 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003425/0.3144, allocations: 1.362 MB / 234.1 MB, free: 14.16 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006971/0.3151, allocations: 204.8 kB / 234.3 MB, free: 14.01 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3151, allocations: 0 / 234.3 MB, free: 14.01 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.3152, allocations: 37.81 kB / 234.3 MB, free: 13.96 MB / 186.7 MB Notification: Performance of pre-optimization done (n=20): time 2.044e-06/0.3152, allocations: 0 / 234.3 MB, free: 13.96 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.002743/0.318, allocations: 0.8206 MB / 235.1 MB, free: 13.19 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.655e-05/0.3181, allocations: 81.3 kB / 235.2 MB, free: 13.09 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:2962:9-2964:50:writable] Warning: Parameter dcee.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:2959:9-2961:50:writable] Warning: Parameter dcee.Re 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:2956:9-2958:50:writable] Warning: Parameter dcee.IeNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=1.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 dcee.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 dcee.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 dcee.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 dcee.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 dcee.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 dcee.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcee.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 dcee.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.0006143/0.3187, allocations: 302.1 kB / 235.5 MB, free: 12.84 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.3188, allocations: 37.58 kB / 235.5 MB, free: 12.8 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.319, allocations: 284.9 kB / 235.8 MB, free: 12.55 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.002e-05/0.3191, allocations: 74.47 kB / 235.9 MB, free: 12.49 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.995e-05/0.3191, allocations: 7.875 kB / 235.9 MB, free: 12.48 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3192, allocations: 318.6 kB / 236.2 MB, free: 12.17 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003559/0.3196, allocations: 82.81 kB / 236.3 MB, free: 12.11 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004082/0.32, allocations: 146.9 kB / 236.4 MB, free: 11.96 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003906/0.3204, allocations: 101.8 kB / 236.5 MB, free: 11.9 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.3204, allocations: 4 kB / 236.5 MB, free: 11.89 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001017/0.3215, allocations: 306.3 kB / 236.8 MB, free: 11.66 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3215, allocations: 4 kB / 236.8 MB, free: 11.65 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.3215, allocations: 4 kB / 236.8 MB, free: 11.65 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.3217, allocations: 20.78 kB / 236.9 MB, free: 11.63 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.3222, allocations: 71.97 kB / 236.9 MB, free: 11.56 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.3236, allocations: 1.282 MB / 238.2 MB, free: 10.19 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004354/0.3241, allocations: 23.91 kB / 238.2 MB, free: 10.17 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.3241, allocations: 8 kB / 238.2 MB, free: 10.16 MB / 186.7 MB Warning: Assuming fixed start value for the following 4 variables: dcee.inertiaRotor.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real dcee.airGapDC.psi_e:VARIABLE(unit = "Wb" fixed = true ) "Excitation flux" type: Real dcee.la.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real dcee.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0003977/0.3245, allocations: 173.2 kB / 238.4 MB, free: 10.01 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.751e-05/0.3246, allocations: 27.67 kB / 238.4 MB, free: 9.984 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.3247, allocations: 33.64 kB / 238.5 MB, free: 9.969 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.3247, allocations: 4 kB / 238.5 MB, free: 9.965 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3247, allocations: 0 / 238.5 MB, free: 9.965 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3247, allocations: 0 / 238.5 MB, free: 9.965 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.3264, allocations: 0.725 MB / 239.2 MB, free: 9.312 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3265, allocations: 4 kB / 239.2 MB, free: 9.309 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/0.327, allocations: 59.91 kB / 239.3 MB, free: 9.254 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001446/0.3271, allocations: 20.67 kB / 239.3 MB, free: 9.234 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3272, allocations: 0 / 239.3 MB, free: 9.234 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.3284, allocations: 1.278 MB / 240.6 MB, free: 7.875 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3285, allocations: 3.938 kB / 240.6 MB, free: 7.871 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.3298, allocations: 465.9 kB / 241 MB, free: 7.473 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002056/0.33, allocations: 119.8 kB / 241.1 MB, free: 7.348 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.3301, allocations: 7.938 kB / 241.1 MB, free: 7.344 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003846/0.3305, allocations: 27.73 kB / 241.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/0.3306, allocations: 23.86 kB / 241.2 MB, free: 7.301 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.3306, allocations: 4 kB / 241.2 MB, free: 7.297 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003274/0.331, allocations: 204.3 kB / 241.4 MB, free: 7.133 MB / 186.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.331, allocations: 0 / 241.4 MB, free: 7.133 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005383/0.3315, allocations: 75.44 kB / 241.5 MB, free: 7.066 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0001934/0.3317, allocations: 115.8 kB / 241.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.3329, allocations: 328.8 kB / 241.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3329, allocations: 0 / 241.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.3334, allocations: 221 kB / 242.1 MB, free: 6.461 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006782/0.3341, allocations: 49.5 kB / 242.2 MB, free: 6.422 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.3365, allocations: 1.111 MB / 243.3 MB, free: 5.32 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.337, allocations: 0.8028 MB / 244.1 MB, free: 4.492 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.3372, allocations: 23.44 kB / 244.1 MB, free: 4.469 MB / 186.7 MB Notification: Performance of SimCode: time 1.022e-06/0.3372, allocations: 0 / 244.1 MB, free: 4.469 MB / 186.7 MB Notification: Performance of Templates: time 0.01239/0.3496, allocations: 5.236 MB / 249.3 MB, free: 15.3 MB / 202.7 MB