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.049/1.049, allocations: 111.2 MB / 124.2 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.068e-05/2.079e-05, allocations: 0 / 154.3 MB, free: 13.16 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 25.16 MB / 179.4 MB, free: 0.7852 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05785/0.194, allocations: 38.41 MB / 217.8 MB, free: 10.67 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.1943, allocations: 67.97 kB / 217.9 MB, free: 10.6 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02497/0.2193, allocations: 6.334 MB / 224.2 MB, free: 4.238 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.725e-06/0.2193, allocations: 0 / 224.2 MB, free: 4.238 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.527e-05/0.2194, allocations: 8 kB / 224.3 MB, free: 4.23 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001016/0.2204, allocations: 0.5646 MB / 224.8 MB, free: 3.621 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2205, allocations: 12.03 kB / 224.8 MB, free: 3.609 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2206, allocations: 43.47 kB / 224.9 MB, free: 3.566 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.2211, allocations: 279.4 kB / 225.1 MB, free: 3.254 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.2211, allocations: 20.78 kB / 225.2 MB, free: 3.234 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.211e-05/0.2212, allocations: 36 kB / 225.2 MB, free: 3.199 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007509/0.222, allocations: 338.9 kB / 225.5 MB, free: 2.855 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.222, allocations: 0 / 225.5 MB, free: 2.855 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.566e-05/0.2221, allocations: 16 kB / 225.5 MB, free: 2.84 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.2221, allocations: 11.95 kB / 225.6 MB, free: 2.828 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.2227, allocations: 203.1 kB / 225.8 MB, free: 2.629 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/0.2252, allocations: 1.227 MB / 227 MB, free: 1.312 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/0.2256, allocations: 126.6 kB / 227.1 MB, free: 1.18 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.2257, allocations: 60.84 kB / 227.2 MB, free: 1.117 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.2258, allocations: 3.984 kB / 227.2 MB, free: 1.113 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.2258, allocations: 38.52 kB / 227.2 MB, free: 1.066 MB / 186.7 MB Notification: Performance of pre-optimization done (n=15): time 2.815e-06/0.2258, allocations: 8 kB / 227.2 MB, free: 1.059 MB / 186.7 MB Notification: Performance of matching and sorting (n=16): time 0.001151/0.227, allocations: 0.4938 MB / 227.7 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.2271, allocations: 77.11 kB / 227.8 MB, free: 428 kB / 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.0004664/0.2276, allocations: 248.6 kB / 228 MB, free: 176 kB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.2276, allocations: 33.7 kB / 228.1 MB, free: 136 kB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.2278, allocations: 274 kB / 228.3 MB, free: 15.86 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.267e-05/0.2279, allocations: 55.2 kB / 228.4 MB, free: 15.81 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.385e-05/0.2279, allocations: 4 kB / 228.4 MB, free: 15.8 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.2281, allocations: 318.8 kB / 228.7 MB, free: 15.48 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2283, allocations: 48 kB / 228.7 MB, free: 15.44 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002097/0.2285, allocations: 129.5 kB / 228.9 MB, free: 15.28 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.2287, allocations: 59.97 kB / 228.9 MB, free: 15.22 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.677e-06/0.2287, allocations: 8 kB / 228.9 MB, free: 15.21 MB / 202.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005712/0.2293, allocations: 239 kB / 229.2 MB, free: 14.97 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.2293, allocations: 4 kB / 229.2 MB, free: 14.96 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.723e-06/0.2293, allocations: 4 kB / 229.2 MB, free: 14.96 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001649/0.2295, allocations: 25.12 kB / 229.2 MB, free: 14.93 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003195/0.2298, allocations: 59.91 kB / 229.3 MB, free: 14.88 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.2313, allocations: 1.277 MB / 230.5 MB, free: 13.46 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/0.2316, allocations: 24.02 kB / 230.6 MB, free: 13.44 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.2316, allocations: 8 kB / 230.6 MB, free: 13.43 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: dcpm.inertiaRotor.phi:VARIABLE(unit = "rad" ) "Absolute rotation angle of component" type: Real dcpm.la.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real dcpm.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: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001916/0.2318, allocations: 133.4 kB / 230.7 MB, free: 13.3 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.117e-05/0.2319, allocations: 19.72 kB / 230.7 MB, free: 13.28 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/0.232, allocations: 29.95 kB / 230.7 MB, free: 13.25 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.23e-06/0.232, allocations: 0 / 230.7 MB, free: 13.25 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.861e-06/0.232, allocations: 0 / 230.7 MB, free: 13.25 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.154e-06/0.232, allocations: 0 / 230.7 MB, free: 13.25 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.2331, allocations: 0.5984 MB / 231.3 MB, free: 12.59 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.102e-06/0.2331, allocations: 3.938 kB / 231.4 MB, free: 12.58 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.2335, allocations: 39.97 kB / 231.4 MB, free: 12.54 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001191/0.2336, allocations: 24.84 kB / 231.4 MB, free: 12.52 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.2336, allocations: 4 kB / 231.4 MB, free: 12.51 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/0.2349, allocations: 1.276 MB / 232.7 MB, free: 11.11 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.54e-06/0.235, allocations: 3.953 kB / 232.7 MB, free: 11.1 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.2356, allocations: 357.3 kB / 233 MB, free: 10.71 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.2358, allocations: 112.9 kB / 233.2 MB, free: 10.59 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.2358, allocations: 4 kB / 233.2 MB, free: 10.58 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002792/0.2361, allocations: 31.97 kB / 233.2 MB, free: 10.55 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.2362, allocations: 7.984 kB / 233.2 MB, free: 10.54 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.2362, allocations: 8 kB / 233.2 MB, free: 10.54 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002728/0.2365, allocations: 187.1 kB / 233.4 MB, free: 10.35 MB / 202.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.2365, allocations: 0 / 233.4 MB, free: 10.35 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0005045/0.237, allocations: 64 kB / 233.5 MB, free: 10.29 MB / 202.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 () * 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.0001662/0.2372, allocations: 111.2 kB / 233.6 MB, free: 10.16 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.2378, allocations: 251.4 kB / 233.8 MB, free: 9.906 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.421e-06/0.2378, allocations: 3.938 kB / 233.8 MB, free: 9.902 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.2382, allocations: 179.2 kB / 234 MB, free: 9.715 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/0.2386, allocations: 40.5 kB / 234 MB, free: 9.676 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2398, allocations: 0.5474 MB / 234.6 MB, free: 9.098 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005117/0.2404, allocations: 0.7833 MB / 235.4 MB, free: 8.289 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.2405, allocations: 19.44 kB / 235.4 MB, free: 8.27 MB / 202.7 MB Notification: Performance of SimCode: time 1.75e-06/0.2405, allocations: 4 kB / 235.4 MB, free: 8.266 MB / 202.7 MB Notification: Performance of Templates: time 0.00871/0.2492, allocations: 4.474 MB / 239.9 MB, free: 3.793 MB / 202.7 MB