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.DCEE_Start.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.045/1.045, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002606/0.0002609, allocations: 4 kB / 158.3 MB, free: 15.15 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06148/0.06177, allocations: 25.16 MB / 183.5 MB, free: 5.957 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.2604, allocations: 38.98 MB / 222.5 MB, free: 5.215 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.2608, allocations: 60.53 kB / 222.5 MB, free: 5.207 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0302/0.291, allocations: 7.802 MB / 230.3 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.065e-06/0.2911, allocations: 0 / 230.3 MB, free: 0.7812 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.191e-05/0.2911, allocations: 12 kB / 230.4 MB, free: 0.7695 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.001008/0.2921, allocations: 0.6516 MB / 231 MB, free: 96 kB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2922, allocations: 8.031 kB / 231 MB, free: 88 kB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.2923, allocations: 47.44 kB / 231.1 MB, free: 40 kB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.2928, allocations: 308.1 kB / 231.4 MB, free: 15.74 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.2928, allocations: 26.94 kB / 231.4 MB, free: 15.73 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.2929, allocations: 44.06 kB / 231.4 MB, free: 15.7 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.2939, allocations: 417.7 kB / 231.8 MB, free: 15.4 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.2939, allocations: 0 / 231.8 MB, free: 15.4 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.442e-05/0.294, allocations: 18.95 kB / 231.9 MB, free: 15.39 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.294, allocations: 12 kB / 231.9 MB, free: 15.38 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.2949, allocations: 298.5 kB / 232.2 MB, free: 15.18 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002766/0.2977, allocations: 1.36 MB / 233.5 MB, free: 14.02 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008356/0.2985, allocations: 205.7 kB / 233.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.2986, allocations: 4 kB / 233.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/0.2987, allocations: 34.31 kB / 233.8 MB, free: 13.82 MB / 186.7 MB Notification: Performance of pre-optimization done (n=20): time 4.496e-06/0.2987, allocations: 0 / 233.8 MB, free: 13.82 MB / 186.7 MB Notification: Performance of matching and sorting (n=21): time 0.003654/0.3024, allocations: 0.8268 MB / 234.6 MB, free: 13.04 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.125e-05/0.3025, allocations: 81.3 kB / 234.7 MB, free: 12.94 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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@2/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.0008047/0.3033, allocations: 277.5 kB / 234.9 MB, free: 12.7 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 4.933e-05/0.3034, allocations: 27.95 kB / 235 MB, free: 12.67 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.3037, allocations: 284.9 kB / 235.2 MB, free: 12.43 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.3038, allocations: 80.28 kB / 235.3 MB, free: 12.36 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.3039, allocations: 3.5 kB / 235.3 MB, free: 12.36 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/0.3041, allocations: 318.8 kB / 235.6 MB, free: 12.04 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/0.3045, allocations: 87.3 kB / 235.7 MB, free: 11.98 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004888/0.3051, allocations: 142.6 kB / 235.9 MB, free: 11.84 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004795/0.3056, allocations: 105.8 kB / 236 MB, free: 11.77 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.535e-06/0.3056, allocations: 0 / 236 MB, free: 11.77 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001289/0.3069, allocations: 305.9 kB / 236.3 MB, free: 11.53 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.3069, allocations: 8.578 kB / 236.3 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.962e-06/0.307, allocations: 0 / 236.3 MB, free: 11.52 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.3072, allocations: 24.72 kB / 236.3 MB, free: 11.5 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005636/0.3078, allocations: 67.91 kB / 236.4 MB, free: 11.43 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.3097, allocations: 1.279 MB / 237.6 MB, free: 10.07 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.3102, allocations: 27.98 kB / 237.7 MB, free: 10.05 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.3102, allocations: 8 kB / 237.7 MB, free: 10.04 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.0004963/0.3107, allocations: 170 kB / 237.8 MB, free: 9.891 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3109, allocations: 31.67 kB / 237.9 MB, free: 9.859 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.786e-05/0.311, allocations: 25.14 kB / 237.9 MB, free: 9.844 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.215e-06/0.3111, allocations: 4 kB / 237.9 MB, free: 9.84 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.085e-06/0.3111, allocations: 0 / 237.9 MB, free: 9.84 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3111, allocations: 3.984 kB / 237.9 MB, free: 9.836 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00284/0.314, allocations: 0.7321 MB / 238.6 MB, free: 9.184 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.314, allocations: 0 / 238.6 MB, free: 9.184 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007694/0.3148, allocations: 51.97 kB / 238.7 MB, free: 9.133 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002334/0.3151, allocations: 24.72 kB / 238.7 MB, free: 9.109 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.379e-05/0.3152, allocations: 11.75 kB / 238.7 MB, free: 9.102 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0025/0.3177, allocations: 1.274 MB / 240 MB, free: 7.742 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.187e-06/0.3177, allocations: 3.938 kB / 240 MB, free: 7.738 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.32, allocations: 481.1 kB / 240.5 MB, free: 7.312 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003698/0.3204, allocations: 120.6 kB / 240.6 MB, free: 7.188 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.3205, allocations: 11.7 kB / 240.6 MB, free: 7.18 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006867/0.3212, allocations: 27.86 kB / 240.6 MB, free: 7.156 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.3214, allocations: 15.97 kB / 240.6 MB, free: 7.141 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.3215, allocations: 15.75 kB / 240.7 MB, free: 7.129 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0006352/0.3221, allocations: 200.3 kB / 240.9 MB, free: 6.969 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.3222, allocations: 0 / 240.9 MB, free: 6.969 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001302/0.3235, allocations: 75.81 kB / 240.9 MB, free: 6.902 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.000321/0.3238, allocations: 103.2 kB / 241 MB, free: 6.793 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.3256, allocations: 331.4 kB / 241.3 MB, free: 6.512 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 6.519e-06/0.3257, allocations: 0 / 241.3 MB, free: 6.512 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009306/0.3266, allocations: 232.9 kB / 241.6 MB, free: 6.297 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3278, allocations: 57.33 kB / 241.6 MB, free: 6.254 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.332, allocations: 1.103 MB / 242.7 MB, free: 5.156 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009727/0.333, allocations: 0.8028 MB / 243.5 MB, free: 4.328 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.3333, allocations: 23.44 kB / 243.6 MB, free: 4.305 MB / 186.7 MB Notification: Performance of SimCode: time 2.489e-06/0.3333, allocations: 0 / 243.6 MB, free: 4.305 MB / 186.7 MB Notification: Performance of Templates: time 0.01736/0.3507, allocations: 5.233 MB / 248.8 MB, free: 15.13 MB / 202.7 MB