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 1.173/1.173, allocations: 111.1 MB / 126.7 MB, free: 6.133 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002697, allocations: 8 kB / 158.2 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0467/0.047, allocations: 25.17 MB / 183.4 MB, free: 6.016 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCSE_Start): time 0.004387/0.05143, allocations: 2.674 MB / 186.1 MB, free: 3.332 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.05307, allocations: 0.6827 MB / 186.8 MB, free: 2.648 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002785/0.05339, allocations: 8 kB / 186.8 MB, free: 2.641 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001219/0.05353, allocations: 51.59 kB / 186.8 MB, free: 2.59 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.054, allocations: 155.5 kB / 187 MB, free: 2.438 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.05425, allocations: 67.92 kB / 187.1 MB, free: 2.371 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.000521/0.05478, allocations: 327.4 kB / 187.4 MB, free: 2.051 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.05512, allocations: 145.3 kB / 187.5 MB, free: 1.898 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003115/0.05545, allocations: 159.4 kB / 187.7 MB, free: 1.742 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.05574, allocations: 175.2 kB / 187.8 MB, free: 1.57 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 6.294e-05/0.05582, allocations: 24 kB / 187.9 MB, free: 1.547 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-05/0.0559, allocations: 20 kB / 187.9 MB, free: 1.527 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 8.522e-05/0.056, allocations: 63.75 kB / 187.9 MB, free: 1.465 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.05613, allocations: 105.5 kB / 188 MB, free: 1.355 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.05672, allocations: 430.7 kB / 188.5 MB, free: 0.9336 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.05674, allocations: 0 / 188.5 MB, free: 0.9336 MB / 154.7 MB Notification: Performance of FrontEnd: time 6.119e-06/0.05676, allocations: 4 kB / 188.5 MB, free: 0.9297 MB / 154.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.05678, allocations: 3.938 kB / 188.5 MB, free: 0.9258 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001262/0.05805, allocations: 0.6355 MB / 189.1 MB, free: 248 kB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.0581, allocations: 8.031 kB / 189.1 MB, free: 240 kB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.05823, allocations: 43.53 kB / 189.2 MB, free: 196 kB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.05883, allocations: 317.1 kB / 189.5 MB, free: 15.84 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.05888, allocations: 29 kB / 189.5 MB, free: 15.82 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.059, allocations: 39.91 kB / 189.5 MB, free: 15.78 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000968/0.05998, allocations: 417.5 kB / 189.9 MB, free: 15.34 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.06003, allocations: 0 / 189.9 MB, free: 15.34 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.06009, allocations: 16 kB / 190 MB, free: 15.32 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.669e-05/0.06012, allocations: 8 kB / 190 MB, free: 15.32 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.0609, allocations: 271.8 kB / 190.2 MB, free: 15.05 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.06361, allocations: 1.4 MB / 191.6 MB, free: 13.56 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005838/0.06424, allocations: 215 kB / 191.8 MB, free: 13.34 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.06429, allocations: 4.188 kB / 191.9 MB, free: 13.34 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.06434, allocations: 38.75 kB / 191.9 MB, free: 13.29 MB / 170.7 MB Notification: Performance of pre-optimization done (n=22): time 4.047e-06/0.06436, allocations: 4 kB / 191.9 MB, free: 13.29 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.002536/0.06691, allocations: 0.8822 MB / 192.8 MB, free: 12.33 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.06702, allocations: 85.09 kB / 192.9 MB, free: 12.23 MB / 170.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.0005056/0.06754, allocations: 262.5 kB / 193.1 MB, free: 11.96 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.748e-05/0.06759, allocations: 29.7 kB / 193.1 MB, free: 11.93 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.06781, allocations: 274.2 kB / 193.4 MB, free: 11.66 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.346e-05/0.06792, allocations: 82.75 kB / 193.5 MB, free: 11.57 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.06795, allocations: 8 kB / 193.5 MB, free: 11.57 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.06812, allocations: 318.8 kB / 193.8 MB, free: 11.25 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.0684, allocations: 84.23 kB / 193.9 MB, free: 11.16 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003252/0.06874, allocations: 136.2 kB / 194 MB, free: 11 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.06906, allocations: 99.94 kB / 194.1 MB, free: 10.91 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.322e-06/0.06907, allocations: 0 / 194.1 MB, free: 10.91 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009113/0.07, allocations: 330.8 kB / 194.4 MB, free: 10.57 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.07004, allocations: 8 kB / 194.5 MB, free: 10.56 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.07006, allocations: 224 / 194.5 MB, free: 10.56 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002989/0.07038, allocations: 73.56 kB / 194.5 MB, free: 10.48 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/0.07068, allocations: 47.97 kB / 194.6 MB, free: 10.44 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003226/0.07393, allocations: 2.81 MB / 197.4 MB, free: 7.355 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.07427, allocations: 23.98 kB / 197.4 MB, free: 7.332 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.07432, allocations: 12 kB / 197.4 MB, free: 7.32 MB / 170.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: 8 * 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.0003454/0.07468, allocations: 161.5 kB / 197.6 MB, free: 7.156 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.07477, allocations: 27.62 kB / 197.6 MB, free: 7.129 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.002e-05/0.07485, allocations: 34.12 kB / 197.6 MB, free: 7.102 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.525e-06/0.07487, allocations: 4 kB / 197.6 MB, free: 7.098 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.979e-06/0.07488, allocations: 0 / 197.6 MB, free: 7.098 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.88e-06/0.0749, allocations: 7.922 kB / 197.6 MB, free: 7.09 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.07656, allocations: 0.7631 MB / 198.4 MB, free: 6.258 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.348e-06/0.0766, allocations: 0 / 198.4 MB, free: 6.258 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.07692, allocations: 47.97 kB / 198.5 MB, free: 6.211 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.07719, allocations: 57.69 kB / 198.5 MB, free: 6.148 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.07724, allocations: 4 kB / 198.5 MB, free: 6.145 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/0.08039, allocations: 2.802 MB / 201.3 MB, free: 3.066 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.492e-06/0.08043, allocations: 0 / 201.3 MB, free: 3.066 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.08164, allocations: 0.4926 MB / 201.8 MB, free: 2.547 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.08186, allocations: 120.8 kB / 201.9 MB, free: 2.41 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.306e-05/0.08193, allocations: 8 kB / 201.9 MB, free: 2.402 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.08221, allocations: 19.98 kB / 202 MB, free: 2.383 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.08231, allocations: 23.92 kB / 202 MB, free: 2.359 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.08234, allocations: 8 kB / 202 MB, free: 2.352 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002552/0.08261, allocations: 178 kB / 202.2 MB, free: 2.18 MB / 170.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.08262, allocations: 0 / 202.2 MB, free: 2.18 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006531/0.08328, allocations: 76 kB / 202.2 MB, free: 2.105 MB / 170.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.0001572/0.08345, allocations: 107.2 kB / 202.3 MB, free: 1.992 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.08459, allocations: 465.1 kB / 202.8 MB, free: 1.512 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 6.915e-06/0.08462, allocations: 8.375 kB / 202.8 MB, free: 1.504 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006699/0.0853, allocations: 358.1 kB / 203.2 MB, free: 1.129 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000504/0.08583, allocations: 47.69 kB / 203.2 MB, free: 1.086 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.08776, allocations: 1.021 MB / 204.2 MB, free: 28 kB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1155/0.2033, allocations: 0.796 MB / 205 MB, free: 21.61 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2034, allocations: 23 kB / 205 MB, free: 21.6 MB / 170.7 MB Notification: Performance of SimCode: time 1.761e-06/0.2034, allocations: 0 / 205 MB, free: 21.6 MB / 170.7 MB Notification: Performance of Templates: time 0.01088/0.2143, allocations: 6.402 MB / 211.4 MB, free: 19.96 MB / 170.7 MB