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 0.9365/0.9365, allocations: 111.2 MB / 124.2 MB, free: 11.15 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.217e-05/2.246e-05, allocations: 0 / 154.3 MB, free: 13.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 25.15 MB / 179.4 MB, free: 0.7852 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05812/0.1971, allocations: 38.89 MB / 218.3 MB, free: 10.2 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.1974, allocations: 59.97 kB / 218.4 MB, free: 10.14 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03025/0.2277, allocations: 7.814 MB / 226.2 MB, free: 2.293 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.2277, allocations: 0 / 226.2 MB, free: 2.293 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.853e-05/0.2278, allocations: 8 kB / 226.2 MB, free: 2.285 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001109/0.2289, allocations: 0.6154 MB / 226.8 MB, free: 1.625 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.2289, allocations: 8.031 kB / 226.8 MB, free: 1.617 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.2291, allocations: 51.44 kB / 226.9 MB, free: 1.566 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005094/0.2296, allocations: 305.4 kB / 227.2 MB, free: 1.23 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.2296, allocations: 29 kB / 227.2 MB, free: 1.199 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.2297, allocations: 40 kB / 227.2 MB, free: 1.16 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.2306, allocations: 386.2 kB / 227.6 MB, free: 0.7734 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/0.2307, allocations: 0 / 227.6 MB, free: 0.7734 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.2307, allocations: 19.95 kB / 227.6 MB, free: 0.7539 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.822e-05/0.2308, allocations: 12 kB / 227.6 MB, free: 0.7422 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.2314, allocations: 240 kB / 227.9 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.2342, allocations: 1.368 MB / 229.2 MB, free: 15.05 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.2347, allocations: 170.5 kB / 229.4 MB, free: 14.87 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.2349, allocations: 76.84 kB / 229.5 MB, free: 14.79 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2349, allocations: 4 kB / 229.5 MB, free: 14.79 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.2349, allocations: 34.56 kB / 229.5 MB, free: 14.75 MB / 202.7 MB Notification: Performance of pre-optimization done (n=20): time 2.748e-06/0.235, allocations: 4 kB / 229.5 MB, free: 14.74 MB / 202.7 MB Notification: Performance of matching and sorting (n=21): time 0.001289/0.2363, allocations: 0.5708 MB / 230.1 MB, free: 14.12 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.2363, allocations: 77.3 kB / 230.2 MB, free: 14.02 MB / 202.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.0005121/0.2369, allocations: 273.4 kB / 230.4 MB, free: 13.75 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.2369, allocations: 33.69 kB / 230.5 MB, free: 13.71 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.2371, allocations: 290.2 kB / 230.8 MB, free: 13.43 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.2372, allocations: 78.84 kB / 230.8 MB, free: 13.35 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.2372, allocations: 0 / 230.8 MB, free: 13.35 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.2374, allocations: 326.8 kB / 231.2 MB, free: 13.02 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.2376, allocations: 56.22 kB / 231.2 MB, free: 12.96 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.2378, allocations: 124.5 kB / 231.3 MB, free: 12.82 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.2381, allocations: 68.55 kB / 231.4 MB, free: 12.75 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.528e-06/0.2381, allocations: 0 / 231.4 MB, free: 12.75 MB / 202.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000607/0.2387, allocations: 258.1 kB / 231.7 MB, free: 12.49 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.2387, allocations: 11.95 kB / 231.7 MB, free: 12.48 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.227e-06/0.2387, allocations: 0 / 231.7 MB, free: 12.48 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.2389, allocations: 29.09 kB / 231.7 MB, free: 12.45 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.2393, allocations: 72.12 kB / 231.8 MB, free: 12.38 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.2406, allocations: 1.26 MB / 233 MB, free: 10.98 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.2409, allocations: 36.02 kB / 233.1 MB, free: 10.95 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.241, allocations: 8 kB / 233.1 MB, free: 10.94 MB / 202.7 MB Warning: Assuming fixed start value for the following 4 variables: dcee.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcee.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcee.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcee.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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001885/0.2412, allocations: 129.8 kB / 233.2 MB, free: 10.81 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.508e-05/0.2413, allocations: 27.67 kB / 233.2 MB, free: 10.78 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.2414, allocations: 33.98 kB / 233.3 MB, free: 10.75 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.941e-06/0.2414, allocations: 4 kB / 233.3 MB, free: 10.74 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.2414, allocations: 3.938 kB / 233.3 MB, free: 10.74 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2414, allocations: 0 / 233.3 MB, free: 10.74 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.2427, allocations: 0.6608 MB / 233.9 MB, free: 10.01 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-06/0.2427, allocations: 0 / 233.9 MB, free: 10.01 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003684/0.2431, allocations: 63.97 kB / 234 MB, free: 9.949 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.2432, allocations: 20.84 kB / 234 MB, free: 9.926 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.2432, allocations: 8 kB / 234 MB, free: 9.918 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.2445, allocations: 1.276 MB / 235.3 MB, free: 8.508 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2445, allocations: 4.031 kB / 235.3 MB, free: 8.504 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.2452, allocations: 403.8 kB / 235.7 MB, free: 8.074 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.2454, allocations: 120.8 kB / 235.8 MB, free: 7.938 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.2455, allocations: 7.953 kB / 235.8 MB, free: 7.93 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.2458, allocations: 27.98 kB / 235.8 MB, free: 7.902 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.428e-05/0.2459, allocations: 19.97 kB / 235.9 MB, free: 7.883 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.2459, allocations: 4 kB / 235.9 MB, free: 7.879 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002979/0.2463, allocations: 203.1 kB / 236.1 MB, free: 7.676 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.2463, allocations: 0 / 236.1 MB, free: 7.676 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.2468, allocations: 76 kB / 236.1 MB, free: 7.602 MB / 202.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 () * 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.0001662/0.247, allocations: 103.2 kB / 236.2 MB, free: 7.492 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.000628/0.2476, allocations: 286.4 kB / 236.5 MB, free: 7.199 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.561e-06/0.2477, allocations: 0 / 236.5 MB, free: 7.199 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.248, allocations: 190.6 kB / 236.7 MB, free: 7 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.2485, allocations: 63.77 kB / 236.8 MB, free: 6.938 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.25, allocations: 0.6722 MB / 237.4 MB, free: 6.23 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005358/0.2505, allocations: 0.8072 MB / 238.2 MB, free: 5.398 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.127e-05/0.2506, allocations: 23.44 kB / 238.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of SimCode: time 1.34e-06/0.2506, allocations: 0 / 238.3 MB, free: 5.375 MB / 202.7 MB Notification: Performance of Templates: time 0.009415/0.2601, allocations: 5.247 MB / 243.5 MB, free: 136 kB / 202.7 MB