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.DCSE_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.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="Time|der.dcse.inertiaRotor.w.|dcse.inertiaRotor.phi|dcse.inertiaRotor.w|der.dcse.la.i.|dcse.la.i",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Machines.Examples.DCSE_Start") Notification: Performance of loadModel(Modelica): time 0.9373/0.9373, allocations: 111.2 MB / 124.2 MB, free: 11.14 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.333e-05, allocations: 4 kB / 154.3 MB, free: 13.13 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1374, allocations: 25.15 MB / 179.4 MB, free: 0.8086 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05633/0.1938, allocations: 38.78 MB / 218.2 MB, free: 10.32 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.194, allocations: 67.95 kB / 218.3 MB, free: 10.26 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02896/0.223, allocations: 7.535 MB / 225.8 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd: time 5.402e-06/0.223, allocations: 4 kB / 225.8 MB, free: 2.68 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.2231, allocations: 11.94 kB / 225.8 MB, free: 2.668 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001079/0.2242, allocations: 0.5802 MB / 226.4 MB, free: 2.043 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.2242, allocations: 8.031 kB / 226.4 MB, free: 2.035 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.2244, allocations: 51.39 kB / 226.5 MB, free: 1.984 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.2249, allocations: 302.3 kB / 226.8 MB, free: 1.648 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.2249, allocations: 24.78 kB / 226.8 MB, free: 1.625 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.531e-05/0.225, allocations: 36 kB / 226.8 MB, free: 1.59 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/0.2258, allocations: 370.9 kB / 227.2 MB, free: 1.215 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/0.2259, allocations: 4 kB / 227.2 MB, free: 1.211 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.2259, allocations: 16 kB / 227.2 MB, free: 1.195 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.226, allocations: 15.89 kB / 227.2 MB, free: 1.18 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005978/0.2266, allocations: 231.1 kB / 227.4 MB, free: 0.9531 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002616/0.2292, allocations: 1.282 MB / 228.7 MB, free: 15.59 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.2297, allocations: 187.1 kB / 228.9 MB, free: 15.39 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003846/0.2301, allocations: 145.2 kB / 229 MB, free: 15.25 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.2301, allocations: 4.141 kB / 229.1 MB, free: 15.25 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2302, allocations: 42.91 kB / 229.1 MB, free: 15.2 MB / 202.7 MB Notification: Performance of pre-optimization done (n=22): time 5.219e-06/0.2302, allocations: 0 / 229.1 MB, free: 15.2 MB / 202.7 MB Notification: Performance of matching and sorting (n=24): time 0.001573/0.2318, allocations: 0.6677 MB / 229.8 MB, free: 14.48 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.2319, allocations: 85 kB / 229.8 MB, free: 14.38 MB / 202.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:3115:9-3117:50:writable] Warning: Parameter dcse.Le has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0005) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Machines.mo:3112:9-3114:50:writable] Warning: Parameter dcse.Re has no value, and is fixed during initialization (fixed=true), using available start value (start=0.01) 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 dcse.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 dcse.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 dcse.wNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=147.6548547187203) 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 dcse.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 dcse.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 dcse.Js has no value, and is fixed during initialization (fixed=true), using available start value (start=dcse.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 dcse.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.0004571/0.2323, allocations: 248.9 kB / 230.1 MB, free: 14.13 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.2324, allocations: 33.7 kB / 230.1 MB, free: 14.09 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001891/0.2326, allocations: 274.3 kB / 230.4 MB, free: 13.82 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.244e-05/0.2327, allocations: 78.81 kB / 230.5 MB, free: 13.74 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.01e-05/0.2327, allocations: 8 kB / 230.5 MB, free: 13.73 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2329, allocations: 318.8 kB / 230.8 MB, free: 13.41 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.2331, allocations: 60.28 kB / 230.8 MB, free: 13.35 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.2333, allocations: 119.6 kB / 231 MB, free: 13.21 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.2335, allocations: 84.66 kB / 231 MB, free: 13.13 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-06/0.2335, allocations: 0 / 231 MB, free: 13.13 MB / 202.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007055/0.2343, allocations: 298.4 kB / 231.3 MB, free: 12.83 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2343, allocations: 8 kB / 231.3 MB, free: 12.82 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2343, allocations: 0 / 231.3 MB, free: 12.82 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002714/0.2346, allocations: 57.69 kB / 231.4 MB, free: 12.76 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.2349, allocations: 63.94 kB / 231.5 MB, free: 12.7 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002938/0.2379, allocations: 2.771 MB / 234.2 MB, free: 9.656 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.2382, allocations: 24.05 kB / 234.3 MB, free: 9.633 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.2382, allocations: 12 kB / 234.3 MB, free: 9.621 MB / 202.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" ) "Excitation flux" type: Real dcse.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: 6 * 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): 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001862/0.2384, allocations: 125.4 kB / 234.4 MB, free: 9.492 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.2385, allocations: 23.72 kB / 234.4 MB, free: 9.469 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.316e-05/0.2386, allocations: 29.97 kB / 234.4 MB, free: 9.441 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.459e-06/0.2386, allocations: 4 kB / 234.4 MB, free: 9.438 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.962e-06/0.2386, allocations: 4.125 kB / 234.4 MB, free: 9.434 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.2387, allocations: 11.94 kB / 234.5 MB, free: 9.422 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001349/0.24, allocations: 0.7252 MB / 235.2 MB, free: 8.629 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.301e-06/0.24, allocations: 8 kB / 235.2 MB, free: 8.621 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000326/0.2404, allocations: 43.91 kB / 235.2 MB, free: 8.578 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.2406, allocations: 57.69 kB / 235.3 MB, free: 8.516 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.2407, allocations: 8 kB / 235.3 MB, free: 8.508 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002805/0.2435, allocations: 2.767 MB / 238.1 MB, free: 5.469 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.919e-06/0.2435, allocations: 48 / 238.1 MB, free: 5.469 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/0.2444, allocations: 477.8 kB / 238.5 MB, free: 4.961 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.2446, allocations: 120.8 kB / 238.7 MB, free: 4.824 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.2447, allocations: 7.938 kB / 238.7 MB, free: 4.816 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.245, allocations: 31.94 kB / 238.7 MB, free: 4.785 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.2451, allocations: 19.97 kB / 238.7 MB, free: 4.766 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.2451, allocations: 8 kB / 238.7 MB, free: 4.758 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002544/0.2454, allocations: 187.1 kB / 238.9 MB, free: 4.574 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.2454, allocations: 0 / 238.9 MB, free: 4.574 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.000642/0.2461, allocations: 87.94 kB / 239 MB, free: 4.488 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (dcse.inertiaRotor.w,dcse.airGapDC.psi_e,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000162/0.2462, allocations: 109.1 kB / 239.1 MB, free: 4.375 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.0008374/0.2471, allocations: 421.1 kB / 239.5 MB, free: 3.938 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.2471, allocations: 0 / 239.5 MB, free: 3.938 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.2477, allocations: 340.6 kB / 239.8 MB, free: 3.582 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000492/0.2482, allocations: 51.44 kB / 239.9 MB, free: 3.535 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.2495, allocations: 0.625 MB / 240.5 MB, free: 2.883 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/0.25, allocations: 0.7908 MB / 241.3 MB, free: 2.066 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.938e-05/0.2502, allocations: 27.42 kB / 241.3 MB, free: 2.039 MB / 202.7 MB Notification: Performance of SimCode: time 2.041e-06/0.2502, allocations: 0 / 241.3 MB, free: 2.039 MB / 202.7 MB Notification: Performance of Templates: time 0.01069/0.2609, allocations: 6.542 MB / 247.9 MB, free: 11.49 MB / 218.7 MB