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/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.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.097/1.097, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.863e-05, allocations: 4 kB / 148.1 MB, free: 6.23 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05174/0.0518, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2052/0.257, allocations: 38.22 MB / 211.5 MB, free: 7.031 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.2575, allocations: 64.62 kB / 211.6 MB, free: 7.031 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04602/0.3035, allocations: 7.723 MB / 219.3 MB, free: 5.18 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.3036, allocations: 0 / 219.3 MB, free: 5.18 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.3036, allocations: 7.594 kB / 219.3 MB, free: 5.18 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.001627/0.3053, allocations: 0.6141 MB / 219.9 MB, free: 4.684 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.3054, allocations: 19.22 kB / 219.9 MB, free: 4.676 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.3056, allocations: 45.66 kB / 220 MB, free: 4.652 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007617/0.3064, allocations: 306 kB / 220.3 MB, free: 4.402 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.3064, allocations: 15.69 kB / 220.3 MB, free: 4.398 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.3066, allocations: 31.22 kB / 220.3 MB, free: 4.391 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/0.3077, allocations: 224.2 kB / 220.5 MB, free: 4.383 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.309, allocations: 322.2 kB / 220.9 MB, free: 4.281 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.384e-05/0.309, allocations: 7.859 kB / 220.9 MB, free: 4.277 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.3091, allocations: 0 / 220.9 MB, free: 4.277 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.3092, allocations: 11.66 kB / 220.9 MB, free: 4.273 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.3132, allocations: 1.278 MB / 222.2 MB, free: 3.504 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.3139, allocations: 161.9 kB / 222.3 MB, free: 3.473 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002689/0.3142, allocations: 71.61 kB / 222.4 MB, free: 3.465 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.4e-05/0.3142, allocations: 0 / 222.4 MB, free: 3.465 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.3143, allocations: 42.23 kB / 222.4 MB, free: 3.422 MB / 170.7 MB Notification: Performance of pre-optimization done (n=20): time 4.056e-06/0.3143, allocations: 4 kB / 222.4 MB, free: 3.418 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.001895/0.3162, allocations: 0.5276 MB / 223 MB, free: 3.055 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3163, allocations: 85.12 kB / 223 MB, free: 2.957 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: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/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/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/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/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/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/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/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/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/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.000691/0.317, allocations: 230.8 kB / 223.3 MB, free: 2.84 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.488e-05/0.3171, allocations: 25.7 kB / 223.3 MB, free: 2.809 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.3173, allocations: 298.2 kB / 223.6 MB, free: 2.566 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.3174, allocations: 69.23 kB / 223.7 MB, free: 2.512 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.3174, allocations: 0 / 223.7 MB, free: 2.512 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 8.256e-05/0.3175, allocations: 326 kB / 224 MB, free: 2.195 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002493/0.3178, allocations: 53.09 kB / 224 MB, free: 2.188 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.3181, allocations: 120.2 kB / 224.1 MB, free: 2.105 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.3185, allocations: 71.91 kB / 224.2 MB, free: 2.094 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-06/0.3185, allocations: 0 / 224.2 MB, free: 2.094 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009478/0.3194, allocations: 228.9 kB / 224.4 MB, free: 2.02 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.3195, allocations: 11.86 kB / 224.4 MB, free: 2.016 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3195, allocations: 0 / 224.4 MB, free: 2.016 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002394/0.3198, allocations: 16.45 kB / 224.5 MB, free: 2.008 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.3204, allocations: 77.84 kB / 224.5 MB, free: 1.988 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.3219, allocations: 1.217 MB / 225.8 MB, free: 0.7656 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.3224, allocations: 27.2 kB / 225.8 MB, free: 0.7539 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.3225, allocations: 11.56 kB / 225.8 MB, free: 0.75 MB / 170.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.0002294/0.3228, allocations: 109.8 kB / 225.9 MB, free: 0.6406 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.3229, allocations: 23.34 kB / 225.9 MB, free: 0.6289 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.323, allocations: 36.36 kB / 226 MB, free: 0.6133 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.12e-06/0.3231, allocations: 0 / 226 MB, free: 0.6133 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.3231, allocations: 7.953 kB / 226 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.313e-06/0.3231, allocations: 0 / 226 MB, free: 0.6055 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.3248, allocations: 0.587 MB / 226.6 MB, free: 236 kB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.3249, allocations: 3.875 kB / 226.6 MB, free: 236 kB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.3255, allocations: 64.05 kB / 226.6 MB, free: 216 kB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001771/0.3257, allocations: 16.14 kB / 226.6 MB, free: 208 kB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.3258, allocations: 3.969 kB / 226.6 MB, free: 208 kB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.3277, allocations: 1.227 MB / 227.9 MB, free: 14.97 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.452e-06/0.3277, allocations: 3 kB / 227.9 MB, free: 14.97 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.3289, allocations: 389.9 kB / 228.2 MB, free: 14.74 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002838/0.3292, allocations: 110.9 kB / 228.4 MB, free: 14.63 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.279e-05/0.3293, allocations: 7.609 kB / 228.4 MB, free: 14.63 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.3299, allocations: 23.11 kB / 228.4 MB, free: 14.62 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.992e-05/0.3301, allocations: 15.77 kB / 228.4 MB, free: 14.62 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.3301, allocations: 11.64 kB / 228.4 MB, free: 14.61 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003804/0.3305, allocations: 167.7 kB / 228.6 MB, free: 14.52 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.18e-06/0.3306, allocations: 0 / 228.6 MB, free: 14.52 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001114/0.3317, allocations: 69.45 kB / 228.6 MB, free: 14.52 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 () * 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.0002599/0.332, allocations: 102.2 kB / 228.7 MB, free: 14.43 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009726/0.333, allocations: 262.9 kB / 229 MB, free: 14.3 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.707e-06/0.333, allocations: 0 / 229 MB, free: 14.3 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.3335, allocations: 176.4 kB / 229.2 MB, free: 14.2 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.3344, allocations: 42.62 kB / 229.2 MB, free: 14.18 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.337, allocations: 0.666 MB / 229.9 MB, free: 13.71 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008443/0.3379, allocations: 0.8006 MB / 230.7 MB, free: 12.95 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.3381, allocations: 19.16 kB / 230.7 MB, free: 12.95 MB / 186.7 MB Notification: Performance of SimCode: time 1.956e-06/0.3381, allocations: 4 kB / 230.7 MB, free: 12.94 MB / 186.7 MB Notification: Performance of Templates: time 0.01229/0.3504, allocations: 5.051 MB / 235.8 MB, free: 10.42 MB / 186.7 MB