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.9379/0.9379, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000268/0.0002682, allocations: 4 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04488/0.04517, allocations: 25.18 MB / 183.4 MB, free: 6.012 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCEE_Start): time 0.004266/0.04948, allocations: 2.786 MB / 186.2 MB, free: 3.219 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.05084, allocations: 0.6982 MB / 186.9 MB, free: 2.52 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002263/0.05109, allocations: 8 kB / 186.9 MB, free: 2.512 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.05122, allocations: 55.58 kB / 187 MB, free: 2.457 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004278/0.05167, allocations: 159.5 kB / 187.1 MB, free: 2.301 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002128/0.05189, allocations: 71.92 kB / 187.2 MB, free: 2.23 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.05244, allocations: 347.3 kB / 187.5 MB, free: 1.891 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.0528, allocations: 162 kB / 187.7 MB, free: 1.727 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.0531, allocations: 159.4 kB / 187.8 MB, free: 1.57 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.05338, allocations: 179.2 kB / 188 MB, free: 1.395 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.05346, allocations: 24 kB / 188 MB, free: 1.371 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.419e-05/0.05355, allocations: 24 kB / 188.1 MB, free: 1.348 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 8.89e-05/0.05364, allocations: 71.73 kB / 188.1 MB, free: 1.277 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.05378, allocations: 109.5 kB / 188.2 MB, free: 1.164 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.05437, allocations: 438.7 kB / 188.7 MB, free: 0.7344 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.05439, allocations: 0 / 188.7 MB, free: 0.7344 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.243e-06/0.05441, allocations: 0 / 188.7 MB, free: 0.7344 MB / 154.7 MB Notification: Performance of Transformations before backend: time 8.47e-06/0.05442, allocations: 0 / 188.7 MB, free: 0.7344 MB / 154.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.001257/0.05569, allocations: 0.6666 MB / 189.3 MB, free: 20 kB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.05575, allocations: 12.03 kB / 189.4 MB, free: 8 kB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.05589, allocations: 47.61 kB / 189.4 MB, free: 15.96 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005844/0.05649, allocations: 322.3 kB / 189.7 MB, free: 15.61 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.242e-05/0.05655, allocations: 29 kB / 189.7 MB, free: 15.57 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.05665, allocations: 47.91 kB / 189.8 MB, free: 15.53 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009716/0.05764, allocations: 433.5 kB / 190.2 MB, free: 15.08 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.05768, allocations: 3.781 kB / 190.2 MB, free: 15.08 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.05774, allocations: 19.94 kB / 190.2 MB, free: 15.06 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.05778, allocations: 16 kB / 190.3 MB, free: 15.04 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008168/0.0586, allocations: 287.8 kB / 190.5 MB, free: 14.76 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.06132, allocations: 1.469 MB / 192 MB, free: 13.2 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.0619, allocations: 190.5 kB / 192.2 MB, free: 13 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.06196, allocations: 11.94 kB / 192.2 MB, free: 12.99 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.062, allocations: 34.56 kB / 192.2 MB, free: 12.95 MB / 170.7 MB Notification: Performance of pre-optimization done (n=20): time 3.17e-06/0.06201, allocations: 0 / 192.2 MB, free: 12.95 MB / 170.7 MB Notification: Performance of matching and sorting (n=21): time 0.002462/0.06448, allocations: 0.8354 MB / 193.1 MB, free: 12.04 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.06458, allocations: 77.11 kB / 193.1 MB, free: 11.95 MB / 170.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.0005368/0.06513, allocations: 288.9 kB / 193.4 MB, free: 11.65 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.06518, allocations: 33.7 kB / 193.5 MB, free: 11.61 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.06541, allocations: 286 kB / 193.7 MB, free: 11.33 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.165e-05/0.06551, allocations: 74.98 kB / 193.8 MB, free: 11.25 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.06554, allocations: 8 kB / 193.8 MB, free: 11.25 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.06571, allocations: 318.8 kB / 194.1 MB, free: 10.93 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.06598, allocations: 76.23 kB / 194.2 MB, free: 10.85 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.06632, allocations: 150 kB / 194.4 MB, free: 10.67 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.06664, allocations: 107.7 kB / 194.5 MB, free: 10.57 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.628e-06/0.06666, allocations: 0 / 194.5 MB, free: 10.57 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007991/0.06747, allocations: 299.7 kB / 194.7 MB, free: 10.27 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.06751, allocations: 8 kB / 194.8 MB, free: 10.26 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.06753, allocations: 3.984 kB / 194.8 MB, free: 10.25 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.06771, allocations: 20.86 kB / 194.8 MB, free: 10.23 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.06805, allocations: 76.14 kB / 194.9 MB, free: 10.16 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.06946, allocations: 1.272 MB / 196.1 MB, free: 8.754 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.06975, allocations: 32.23 kB / 196.2 MB, free: 8.723 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.06979, allocations: 8 kB / 196.2 MB, free: 8.715 MB / 170.7 MB Warning: Assuming fixed start value for the following 4 variables: loadInertia.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: 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 (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.0003326/0.07014, allocations: 174.8 kB / 196.3 MB, free: 8.535 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.976e-05/0.07023, allocations: 27.62 kB / 196.4 MB, free: 8.508 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.07032, allocations: 34.2 kB / 196.4 MB, free: 8.473 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.701e-06/0.07033, allocations: 3.938 kB / 196.4 MB, free: 8.469 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.712e-06/0.07035, allocations: 4 kB / 196.4 MB, free: 8.465 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.174e-06/0.07036, allocations: 0 / 196.4 MB, free: 8.465 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.07185, allocations: 0.7051 MB / 197.1 MB, free: 7.695 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.07188, allocations: 7.984 kB / 197.1 MB, free: 7.688 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/0.07224, allocations: 56.03 kB / 197.2 MB, free: 7.633 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001182/0.07238, allocations: 16.86 kB / 197.2 MB, free: 7.613 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.07242, allocations: 4 kB / 197.2 MB, free: 7.609 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00137/0.0738, allocations: 1.289 MB / 198.5 MB, free: 6.191 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.828e-06/0.07382, allocations: 0 / 198.5 MB, free: 6.191 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.07485, allocations: 453.7 kB / 198.9 MB, free: 5.723 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.07503, allocations: 116.8 kB / 199 MB, free: 5.59 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.56e-05/0.0751, allocations: 11.95 kB / 199.1 MB, free: 5.578 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.07536, allocations: 15.98 kB / 199.1 MB, free: 5.562 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.07544, allocations: 15.98 kB / 199.1 MB, free: 5.547 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.07547, allocations: 7.938 kB / 199.1 MB, free: 5.539 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002824/0.07576, allocations: 198 kB / 199.3 MB, free: 5.344 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.07578, allocations: 7.938 kB / 199.3 MB, free: 5.336 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0005306/0.07632, allocations: 72 kB / 199.4 MB, free: 5.266 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * 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.0001446/0.07647, allocations: 107.2 kB / 199.5 MB, free: 5.148 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0008862/0.07737, allocations: 329.4 kB / 199.8 MB, free: 4.816 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.986e-06/0.0774, allocations: 0 / 199.8 MB, free: 4.816 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.07786, allocations: 226.1 kB / 200 MB, free: 4.586 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.0783, allocations: 40.81 kB / 200 MB, free: 4.543 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.08026, allocations: 1.113 MB / 201.2 MB, free: 3.395 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.08082, allocations: 0.8103 MB / 202 MB, free: 2.559 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.257e-05/0.08093, allocations: 23.44 kB / 202 MB, free: 2.535 MB / 170.7 MB Notification: Performance of SimCode: time 1.556e-06/0.08094, allocations: 0 / 202 MB, free: 2.535 MB / 170.7 MB Notification: Performance of Templates: time 0.124/0.2049, allocations: 5.082 MB / 207.1 MB, free: 22.95 MB / 170.7 MB