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.042/1.042, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000262/0.0002622, allocations: 4 kB / 158.2 MB, free: 15.22 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04406/0.04435, allocations: 25.18 MB / 183.4 MB, free: 6 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCPM_Start): time 0.003934/0.04831, allocations: 2.533 MB / 186 MB, free: 3.461 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.04953, allocations: 0.6279 MB / 186.6 MB, free: 2.832 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.04975, allocations: 11.94 kB / 186.6 MB, free: 2.82 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 9.59e-05/0.04986, allocations: 39.67 kB / 186.6 MB, free: 2.781 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000364/0.05024, allocations: 131.6 kB / 186.8 MB, free: 2.652 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.05042, allocations: 67.86 kB / 186.8 MB, free: 2.586 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.05087, allocations: 291.4 kB / 187.1 MB, free: 2.301 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002802/0.05117, allocations: 132.5 kB / 187.2 MB, free: 2.168 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.05144, allocations: 135.5 kB / 187.4 MB, free: 2.035 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.05168, allocations: 147.3 kB / 187.5 MB, free: 1.891 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.108e-05/0.05175, allocations: 20 kB / 187.5 MB, free: 1.871 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.537e-05/0.05183, allocations: 20 kB / 187.6 MB, free: 1.852 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.05191, allocations: 63.75 kB / 187.6 MB, free: 1.789 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.05203, allocations: 97.52 kB / 187.7 MB, free: 1.688 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004866/0.05253, allocations: 386.8 kB / 188.1 MB, free: 1.309 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.947e-06/0.05255, allocations: 0 / 188.1 MB, free: 1.309 MB / 154.7 MB Notification: Performance of FrontEnd: time 1.946e-06/0.05256, allocations: 3.938 kB / 188.1 MB, free: 1.305 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.05259, allocations: 0 / 188.1 MB, free: 1.305 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001069/0.05367, allocations: 0.6044 MB / 188.7 MB, free: 0.6523 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.05371, allocations: 8.031 kB / 188.7 MB, free: 0.6445 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.315e-05/0.05382, allocations: 39.53 kB / 188.7 MB, free: 0.6055 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.05432, allocations: 296.3 kB / 189 MB, free: 280 kB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.05438, allocations: 32.94 kB / 189.1 MB, free: 244 kB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.246e-05/0.05447, allocations: 40 kB / 189.1 MB, free: 204 kB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008424/0.05533, allocations: 367.9 kB / 189.5 MB, free: 15.82 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.05537, allocations: 3.953 kB / 189.5 MB, free: 15.82 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.622e-05/0.05543, allocations: 20 kB / 189.5 MB, free: 15.8 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.331e-05/0.05546, allocations: 8 kB / 189.5 MB, free: 15.79 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.0562, allocations: 247.8 kB / 189.7 MB, free: 15.55 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.05845, allocations: 1.236 MB / 191 MB, free: 14.23 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.05894, allocations: 158.5 kB / 191.1 MB, free: 14.06 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.05898, allocations: 0 / 191.1 MB, free: 14.06 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.05902, allocations: 42.59 kB / 191.2 MB, free: 14.01 MB / 170.7 MB Notification: Performance of pre-optimization done (n=15): time 2.159e-06/0.05904, allocations: 0 / 191.2 MB, free: 14.01 MB / 170.7 MB Notification: Performance of matching and sorting (n=16): time 0.001849/0.06089, allocations: 0.7381 MB / 191.9 MB, free: 13.2 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.06097, allocations: 81.11 kB / 192 MB, free: 13.1 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: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.0004907/0.06148, allocations: 278.5 kB / 192.3 MB, free: 12.82 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.06152, allocations: 25.7 kB / 192.3 MB, free: 12.79 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.06173, allocations: 266.3 kB / 192.5 MB, free: 12.52 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.552e-05/0.06181, allocations: 63.11 kB / 192.6 MB, free: 12.46 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.06184, allocations: 4 kB / 192.6 MB, free: 12.46 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.06201, allocations: 322.8 kB / 192.9 MB, free: 12.13 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.06225, allocations: 60.2 kB / 193 MB, free: 12.07 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.06256, allocations: 146.7 kB / 193.1 MB, free: 11.89 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.06284, allocations: 89.3 kB / 193.2 MB, free: 11.81 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.955e-06/0.06286, allocations: 4 kB / 193.2 MB, free: 11.8 MB / 170.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007263/0.0636, allocations: 271.6 kB / 193.5 MB, free: 11.53 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.06364, allocations: 15.92 kB / 193.5 MB, free: 11.52 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.06366, allocations: 4 kB / 193.5 MB, free: 11.51 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.06382, allocations: 20.86 kB / 193.5 MB, free: 11.49 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.0641, allocations: 55.91 kB / 193.6 MB, free: 11.43 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.06546, allocations: 1.277 MB / 194.9 MB, free: 10.02 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.06572, allocations: 32.14 kB / 194.9 MB, free: 9.992 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.06576, allocations: 8 kB / 194.9 MB, free: 9.984 MB / 170.7 MB Warning: Assuming fixed start value for the following 3 variables: loadInertia.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: 11 * 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 (27): * Single equations (assignments): 26 * 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.0002914/0.06606, allocations: 178.1 kB / 195.1 MB, free: 9.801 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.913e-05/0.06614, allocations: 19.72 kB / 195.1 MB, free: 9.781 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.953e-05/0.06621, allocations: 34.17 kB / 195.1 MB, free: 9.75 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.06623, allocations: 0 / 195.1 MB, free: 9.75 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-06/0.06624, allocations: 0 / 195.1 MB, free: 9.75 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.717e-06/0.06625, allocations: 3.984 kB / 195.1 MB, free: 9.746 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.06753, allocations: 0.6297 MB / 195.8 MB, free: 9.051 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.954e-06/0.06755, allocations: 3.984 kB / 195.8 MB, free: 9.047 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002613/0.06783, allocations: 47.86 kB / 195.8 MB, free: 9 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/0.06795, allocations: 24.91 kB / 195.8 MB, free: 8.973 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.06799, allocations: 4 kB / 195.8 MB, free: 8.969 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.06928, allocations: 1.285 MB / 197.1 MB, free: 7.555 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-06/0.0693, allocations: 0 / 197.1 MB, free: 7.555 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/0.07019, allocations: 404.6 kB / 197.5 MB, free: 7.137 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.07036, allocations: 112.8 kB / 197.6 MB, free: 7.008 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.07042, allocations: 4 kB / 197.6 MB, free: 7.004 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.07067, allocations: 19.98 kB / 197.7 MB, free: 6.984 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.07079, allocations: 19.97 kB / 197.7 MB, free: 6.965 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.07082, allocations: 4 kB / 197.7 MB, free: 6.961 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002499/0.07108, allocations: 182 kB / 197.9 MB, free: 6.781 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.07109, allocations: 0 / 197.9 MB, free: 6.781 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0004827/0.07158, allocations: 64 kB / 197.9 MB, free: 6.719 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,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 (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.0001381/0.07173, allocations: 103.2 kB / 198 MB, free: 6.609 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0007755/0.07252, allocations: 299 kB / 198.3 MB, free: 6.301 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.362e-06/0.07254, allocations: 0 / 198.3 MB, free: 6.301 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004206/0.07297, allocations: 198.8 kB / 198.5 MB, free: 6.094 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.07337, allocations: 36.5 kB / 198.5 MB, free: 6.059 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.07499, allocations: 0.9526 MB / 199.5 MB, free: 5.062 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.07551, allocations: 0.7833 MB / 200.3 MB, free: 4.254 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.239e-05/0.0756, allocations: 23.44 kB / 200.3 MB, free: 4.23 MB / 170.7 MB Notification: Performance of SimCode: time 1.504e-06/0.07561, allocations: 0 / 200.3 MB, free: 4.23 MB / 170.7 MB Notification: Performance of Templates: time 0.1199/0.1955, allocations: 4.382 MB / 204.7 MB, free: 23.59 MB / 170.7 MB