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.9877/0.9877, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000525/0.0005251, allocations: 4 kB / 158.3 MB, free: 15.19 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07027/0.07083, allocations: 25.17 MB / 183.5 MB, free: 5.984 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/0.3679, allocations: 38.87 MB / 222.4 MB, free: 5.25 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.3682, allocations: 61.47 kB / 222.4 MB, free: 5.242 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03876/0.407, allocations: 7.529 MB / 230 MB, free: 1.168 MB / 170.7 MB Notification: Performance of FrontEnd: time 3.009e-06/0.4071, allocations: 0 / 230 MB, free: 1.168 MB / 170.7 MB Notification: Performance of Transformations before backend: time 3.584e-05/0.4071, allocations: 8 kB / 230 MB, free: 1.16 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001482/0.4086, allocations: 0.6269 MB / 230.6 MB, free: 0.5078 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4087, allocations: 8.031 kB / 230.6 MB, free: 0.5 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.4089, allocations: 55.39 kB / 230.7 MB, free: 456 kB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/0.4095, allocations: 294.4 kB / 230.9 MB, free: 160 kB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.525e-05/0.4096, allocations: 31.94 kB / 231 MB, free: 140 kB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.4097, allocations: 38.44 kB / 231 MB, free: 116 kB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.411, allocations: 388.2 kB / 231.4 MB, free: 15.84 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.4111, allocations: 0 / 231.4 MB, free: 15.84 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.332e-05/0.4112, allocations: 17.72 kB / 231.4 MB, free: 15.83 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.4112, allocations: 15.95 kB / 231.4 MB, free: 15.82 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/0.4125, allocations: 274.8 kB / 231.7 MB, free: 15.63 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004102/0.4166, allocations: 1.287 MB / 233 MB, free: 14.54 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.4173, allocations: 215.6 kB / 233.2 MB, free: 14.39 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.4174, allocations: 8.172 kB / 233.2 MB, free: 14.39 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/0.4174, allocations: 34.7 kB / 233.2 MB, free: 14.34 MB / 186.7 MB Notification: Performance of pre-optimization done (n=22): time 4.609e-06/0.4175, allocations: 0 / 233.2 MB, free: 14.34 MB / 186.7 MB Notification: Performance of matching and sorting (n=24): time 0.003726/0.4212, allocations: 0.8923 MB / 234.1 MB, free: 13.54 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/0.4213, allocations: 85.06 kB / 234.2 MB, free: 13.44 MB / 186.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.0007521/0.4221, allocations: 247.2 kB / 234.5 MB, free: 13.23 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.4222, allocations: 29.7 kB / 234.5 MB, free: 13.19 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.4225, allocations: 273.1 kB / 234.8 MB, free: 12.95 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.4226, allocations: 82.31 kB / 234.8 MB, free: 12.88 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.4226, allocations: 3.875 kB / 234.8 MB, free: 12.88 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.4229, allocations: 330.2 kB / 235.2 MB, free: 12.56 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004368/0.4233, allocations: 79.17 kB / 235.2 MB, free: 12.5 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.4239, allocations: 137.2 kB / 235.4 MB, free: 12.38 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.4244, allocations: 114.5 kB / 235.5 MB, free: 12.31 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.366e-06/0.4244, allocations: 0 / 235.5 MB, free: 12.31 MB / 186.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001476/0.4259, allocations: 326.7 kB / 235.8 MB, free: 12.06 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.426, allocations: 8 kB / 235.8 MB, free: 12.05 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.426, allocations: 0 / 235.8 MB, free: 12.05 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/0.4264, allocations: 57.31 kB / 235.9 MB, free: 12 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.4269, allocations: 63.69 kB / 235.9 MB, free: 11.94 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004452/0.4314, allocations: 2.795 MB / 238.7 MB, free: 9.051 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/0.432, allocations: 23.98 kB / 238.7 MB, free: 9.031 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.972e-05/0.4321, allocations: 15.92 kB / 238.8 MB, free: 9.02 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: quadraticLoadTorque.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real dcse.airGapDC.psi_e:VARIABLE(unit = "Wb" fixed = true ) "Excitation flux" type: Real dcse.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: 6 * 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 (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.0004854/0.4326, allocations: 161.3 kB / 238.9 MB, free: 8.879 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.4327, allocations: 27.72 kB / 238.9 MB, free: 8.852 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4328, allocations: 29.42 kB / 239 MB, free: 8.836 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.239e-06/0.4329, allocations: 4 kB / 239 MB, free: 8.832 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.4329, allocations: 0 / 239 MB, free: 8.832 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.436e-05/0.4329, allocations: 3.953 kB / 239 MB, free: 8.828 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.4354, allocations: 0.7702 MB / 239.8 MB, free: 8.156 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.2e-06/0.4354, allocations: 0 / 239.8 MB, free: 8.156 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005243/0.436, allocations: 44.09 kB / 239.8 MB, free: 8.113 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003652/0.4364, allocations: 66.94 kB / 239.9 MB, free: 8.055 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.4364, allocations: 3.188 kB / 239.9 MB, free: 8.055 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004325/0.4408, allocations: 2.804 MB / 242.7 MB, free: 5.152 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.779e-06/0.4408, allocations: 4.156 kB / 242.7 MB, free: 5.148 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.4427, allocations: 0.5091 MB / 243.2 MB, free: 4.707 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.443, allocations: 121.5 kB / 243.3 MB, free: 4.582 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.611e-05/0.4431, allocations: 7.047 kB / 243.3 MB, free: 4.578 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.4437, allocations: 31.06 kB / 243.3 MB, free: 4.551 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.907e-05/0.4438, allocations: 19.41 kB / 243.4 MB, free: 4.535 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.4439, allocations: 7.25 kB / 243.4 MB, free: 4.531 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0004225/0.4443, allocations: 184.7 kB / 243.5 MB, free: 4.383 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.4443, allocations: 4 kB / 243.5 MB, free: 4.379 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.001241/0.4456, allocations: 82.19 kB / 243.6 MB, free: 4.309 MB / 186.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 () * Number of clocked 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.0002523/0.4459, allocations: 110.4 kB / 243.7 MB, free: 4.191 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.4476, allocations: 471 kB / 244.2 MB, free: 3.773 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.469e-06/0.4476, allocations: 4 kB / 244.2 MB, free: 3.77 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.4487, allocations: 352 kB / 244.5 MB, free: 3.438 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.4496, allocations: 46.41 kB / 244.6 MB, free: 3.406 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.4525, allocations: 1.032 MB / 245.6 MB, free: 2.402 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.4533, allocations: 0.7986 MB / 246.4 MB, free: 1.578 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.4534, allocations: 23.44 kB / 246.4 MB, free: 1.555 MB / 186.7 MB Notification: Performance of SimCode: time 2.055e-06/0.4535, allocations: 0 / 246.4 MB, free: 1.555 MB / 186.7 MB Notification: Performance of Templates: time 0.02029/0.4738, allocations: 6.537 MB / 253 MB, free: 11.07 MB / 202.7 MB