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/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.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.055/1.055, allocations: 111.1 MB / 126.7 MB, free: 6.129 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002644/0.0002646, allocations: 4 kB / 158.3 MB, free: 15.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0454/0.0457, allocations: 25.17 MB / 183.5 MB, free: 5.965 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.2368, allocations: 38.51 MB / 222 MB, free: 5.469 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.2373, allocations: 65.56 kB / 222.1 MB, free: 5.461 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04166/0.2789, allocations: 6.319 MB / 228.4 MB, free: 2.562 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.661e-06/0.279, allocations: 4 kB / 228.4 MB, free: 2.559 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.911e-05/0.2791, allocations: 4 kB / 228.4 MB, free: 2.555 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.001812/0.2809, allocations: 0.6055 MB / 229 MB, free: 1.922 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.221e-05/0.281, allocations: 8.031 kB / 229 MB, free: 1.914 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.2812, allocations: 44.94 kB / 229.1 MB, free: 1.871 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.282, allocations: 271.2 kB / 229.3 MB, free: 1.598 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.543e-05/0.2821, allocations: 31.81 kB / 229.4 MB, free: 1.578 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.2823, allocations: 35.66 kB / 229.4 MB, free: 1.555 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.284, allocations: 365.2 kB / 229.7 MB, free: 1.289 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.54e-05/0.2841, allocations: 0 / 229.7 MB, free: 1.289 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/0.2842, allocations: 15.19 kB / 229.8 MB, free: 1.285 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.2842, allocations: 11.95 kB / 229.8 MB, free: 1.273 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.2858, allocations: 262 kB / 230 MB, free: 1.09 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.2899, allocations: 1.219 MB / 231.2 MB, free: 36 kB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2909, allocations: 163.2 kB / 231.4 MB, free: 15.91 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.291, allocations: 8 kB / 231.4 MB, free: 15.9 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.186e-05/0.2911, allocations: 38.42 kB / 231.4 MB, free: 15.86 MB / 186.7 MB Notification: Performance of pre-optimization done (n=15): time 1.083e-05/0.2911, allocations: 0 / 231.4 MB, free: 15.86 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.003916/0.295, allocations: 0.7421 MB / 232.2 MB, free: 15.13 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.2952, allocations: 81.11 kB / 232.3 MB, free: 15.04 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: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/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@2/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@2/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@2/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@2/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@2/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.0007667/0.296, allocations: 248.5 kB / 232.5 MB, free: 14.82 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 6.764e-05/0.2961, allocations: 37.33 kB / 232.5 MB, free: 14.79 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003457/0.2965, allocations: 266.8 kB / 232.8 MB, free: 14.55 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.2966, allocations: 61.28 kB / 232.9 MB, free: 14.5 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.2967, allocations: 7.438 kB / 232.9 MB, free: 14.5 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002815/0.297, allocations: 319.7 kB / 233.2 MB, free: 14.18 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.2975, allocations: 67.09 kB / 233.3 MB, free: 14.13 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006446/0.2982, allocations: 144 kB / 233.4 MB, free: 13.98 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006299/0.2988, allocations: 103 kB / 233.5 MB, free: 13.91 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.445e-06/0.2989, allocations: 7.953 kB / 233.5 MB, free: 13.91 MB / 186.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009936/0.2999, allocations: 273.8 kB / 233.8 MB, free: 13.69 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.2999, allocations: 7.984 kB / 233.8 MB, free: 13.68 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.594e-06/0.3, allocations: 4 kB / 233.8 MB, free: 13.68 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.3001, allocations: 23.92 kB / 233.8 MB, free: 13.65 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.3004, allocations: 58.91 kB / 233.9 MB, free: 13.6 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.3018, allocations: 1.286 MB / 235.1 MB, free: 12.22 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.3021, allocations: 25.98 kB / 235.2 MB, free: 12.2 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.3022, allocations: 8 kB / 235.2 MB, free: 12.2 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: dcpm.inertiaRotor.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real dcpm.la.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real dcpm.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: 10 * 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 (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.0003083/0.3025, allocations: 174.1 kB / 235.4 MB, free: 12.04 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.3026, allocations: 31.7 kB / 235.4 MB, free: 12.01 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.3026, allocations: 20.56 kB / 235.4 MB, free: 12 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.648e-06/0.3027, allocations: 4 kB / 235.4 MB, free: 11.99 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3027, allocations: 0 / 235.4 MB, free: 11.99 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.688e-06/0.3027, allocations: 3.984 kB / 235.4 MB, free: 11.99 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3039, allocations: 0.6414 MB / 236.1 MB, free: 11.4 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.113e-06/0.304, allocations: 0 / 236.1 MB, free: 11.4 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.3043, allocations: 39.92 kB / 236.1 MB, free: 11.36 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.3044, allocations: 28.59 kB / 236.1 MB, free: 11.33 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.3044, allocations: 0 / 236.1 MB, free: 11.33 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001267/0.3057, allocations: 1.284 MB / 237.4 MB, free: 9.961 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.198e-06/0.3057, allocations: 0 / 237.4 MB, free: 9.961 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009201/0.3067, allocations: 440.9 kB / 237.8 MB, free: 9.559 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.3068, allocations: 115 kB / 237.9 MB, free: 9.438 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.468e-05/0.3069, allocations: 0 / 237.9 MB, free: 9.438 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.3072, allocations: 23.05 kB / 238 MB, free: 9.418 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.3073, allocations: 15.23 kB / 238 MB, free: 9.406 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.3073, allocations: 4 kB / 238 MB, free: 9.402 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002772/0.3076, allocations: 192.1 kB / 238.2 MB, free: 9.246 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.3076, allocations: 4 kB / 238.2 MB, free: 9.242 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005355/0.3081, allocations: 62.81 kB / 238.2 MB, free: 9.188 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 () * Number of clocked 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.0001624/0.3083, allocations: 101.9 kB / 238.3 MB, free: 9.082 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008163/0.3091, allocations: 305.7 kB / 238.6 MB, free: 8.812 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.401e-06/0.3092, allocations: 0 / 238.6 MB, free: 8.812 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004181/0.3096, allocations: 211.9 kB / 238.8 MB, free: 8.613 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.31, allocations: 41.73 kB / 238.9 MB, free: 8.586 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.3117, allocations: 0.9344 MB / 239.8 MB, free: 7.652 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000516/0.3122, allocations: 0.7794 MB / 240.6 MB, free: 6.848 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.553e-05/0.3123, allocations: 19.44 kB / 240.6 MB, free: 6.828 MB / 186.7 MB Notification: Performance of SimCode: time 3.845e-06/0.3123, allocations: 0 / 240.6 MB, free: 6.828 MB / 186.7 MB Notification: Performance of Templates: time 0.008412/0.3208, allocations: 4.478 MB / 245.1 MB, free: 2.402 MB / 186.7 MB