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/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.178/1.178, allocations: 111.3 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.687e-05/1.698e-05, allocations: 4 kB / 148.1 MB, free: 6.234 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04611/0.04615, allocations: 25.17 MB / 173.3 MB, free: 13.02 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.2252, allocations: 38.12 MB / 211.4 MB, free: 7.008 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/0.2255, allocations: 63.27 kB / 211.5 MB, free: 7.008 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02727/0.2528, allocations: 7.467 MB / 218.9 MB, free: 5.254 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.269e-06/0.2528, allocations: 0 / 218.9 MB, free: 5.254 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.9e-05/0.2528, allocations: 7.75 kB / 218.9 MB, free: 5.254 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.0008744/0.2537, allocations: 0.5856 MB / 219.5 MB, free: 4.773 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.2538, allocations: 11.41 kB / 219.5 MB, free: 4.773 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/0.2539, allocations: 46.61 kB / 219.6 MB, free: 4.746 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.2543, allocations: 308.2 kB / 219.9 MB, free: 4.488 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.2543, allocations: 11.5 kB / 219.9 MB, free: 4.488 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.944e-05/0.2544, allocations: 27.06 kB / 219.9 MB, free: 4.484 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004932/0.2549, allocations: 209.3 kB / 220.1 MB, free: 4.48 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/0.2556, allocations: 313 kB / 220.4 MB, free: 4.379 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.2556, allocations: 0 / 220.4 MB, free: 4.379 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.283e-05/0.2557, allocations: 3.953 kB / 220.4 MB, free: 4.375 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2557, allocations: 14.47 kB / 220.5 MB, free: 4.375 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002178/0.2579, allocations: 1.203 MB / 221.7 MB, free: 3.664 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.2583, allocations: 172.4 kB / 221.8 MB, free: 3.637 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.2586, allocations: 141.5 kB / 222 MB, free: 3.613 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.2586, allocations: 4.172 kB / 222 MB, free: 3.609 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.2586, allocations: 46.14 kB / 222 MB, free: 3.562 MB / 170.7 MB Notification: Performance of pre-optimization done (n=22): time 2.914e-06/0.2587, allocations: 0 / 222 MB, free: 3.562 MB / 170.7 MB Notification: Performance of matching and sorting (n=24): time 0.001314/0.26, allocations: 0.626 MB / 222.6 MB, free: 3.18 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.26, allocations: 77.11 kB / 222.7 MB, free: 3.086 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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/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/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/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/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/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.0003357/0.2604, allocations: 216 kB / 222.9 MB, free: 2.977 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.2604, allocations: 29.7 kB / 223 MB, free: 2.941 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.723e-05/0.2605, allocations: 283.5 kB / 223.2 MB, free: 2.707 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.2606, allocations: 81.94 kB / 223.3 MB, free: 2.648 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.2606, allocations: 0 / 223.3 MB, free: 2.648 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.624e-05/0.2607, allocations: 326.2 kB / 223.6 MB, free: 2.328 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.2608, allocations: 56.94 kB / 223.7 MB, free: 2.328 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.261, allocations: 112.1 kB / 223.8 MB, free: 2.266 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2612, allocations: 77.61 kB / 223.9 MB, free: 2.254 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.78e-06/0.2612, allocations: 0 / 223.9 MB, free: 2.254 MB / 170.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005991/0.2618, allocations: 280.3 kB / 224.1 MB, free: 2.156 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2619, allocations: 4.094 kB / 224.1 MB, free: 2.156 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.768e-06/0.2619, allocations: 0 / 224.1 MB, free: 2.156 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002553/0.2621, allocations: 56.58 kB / 224.2 MB, free: 2.133 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.2624, allocations: 58.81 kB / 224.3 MB, free: 2.117 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.2646, allocations: 2.669 MB / 226.9 MB, free: 15.55 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.2649, allocations: 19.7 kB / 226.9 MB, free: 15.55 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.265, allocations: 11.66 kB / 227 MB, free: 15.55 MB / 186.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.0001956/0.2652, allocations: 125.1 kB / 227.1 MB, free: 15.42 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.856e-05/0.2652, allocations: 23.47 kB / 227.1 MB, free: 15.41 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.218e-05/0.2653, allocations: 25.09 kB / 227.1 MB, free: 15.41 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-06/0.2653, allocations: 0 / 227.1 MB, free: 15.41 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-06/0.2654, allocations: 3.875 kB / 227.1 MB, free: 15.41 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.883e-06/0.2654, allocations: 3.984 kB / 227.1 MB, free: 15.4 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.2665, allocations: 0.6537 MB / 227.8 MB, free: 15 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.409e-06/0.2665, allocations: 8.016 kB / 227.8 MB, free: 15 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.2668, allocations: 42.72 kB / 227.8 MB, free: 14.99 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.2671, allocations: 57.77 kB / 227.9 MB, free: 14.96 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.2671, allocations: 7.625 kB / 227.9 MB, free: 14.96 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002704/0.2698, allocations: 2.66 MB / 230.6 MB, free: 12.41 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.368e-06/0.2699, allocations: 3.984 kB / 230.6 MB, free: 12.41 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.2707, allocations: 455.1 kB / 231 MB, free: 12.17 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.2709, allocations: 115.6 kB / 231.1 MB, free: 12.05 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.2709, allocations: 4.125 kB / 231.1 MB, free: 12.05 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.2713, allocations: 27.23 kB / 231.2 MB, free: 12.04 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.244e-05/0.2713, allocations: 19.25 kB / 231.2 MB, free: 12.04 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.2714, allocations: 7.562 kB / 231.2 MB, free: 12.04 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002122/0.2716, allocations: 163.3 kB / 231.3 MB, free: 11.95 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.2716, allocations: 0 / 231.3 MB, free: 11.95 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006476/0.2723, allocations: 73.25 kB / 231.4 MB, free: 11.94 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 () * 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.0001636/0.2724, allocations: 102.2 kB / 231.5 MB, free: 11.85 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0007479/0.2732, allocations: 409.4 kB / 231.9 MB, free: 11.61 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.45e-06/0.2732, allocations: 0 / 231.9 MB, free: 11.61 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004662/0.2737, allocations: 319 kB / 232.2 MB, free: 11.39 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.2742, allocations: 46.62 kB / 232.3 MB, free: 11.37 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.2755, allocations: 0.5839 MB / 232.9 MB, free: 10.98 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.2761, allocations: 0.7995 MB / 233.7 MB, free: 10.23 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.811e-05/0.2762, allocations: 18.97 kB / 233.7 MB, free: 10.22 MB / 186.7 MB Notification: Performance of SimCode: time 1.704e-06/0.2762, allocations: 0 / 233.7 MB, free: 10.22 MB / 186.7 MB Notification: Performance of Templates: time 0.01035/0.2866, allocations: 6.405 MB / 240.1 MB, free: 6.996 MB / 186.7 MB