Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 171.1 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 12 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08469/0.08509, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3898/0.475, allocations: 88.88 MB / 361.5 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/0.4754, allocations: 90.5 kB / 361.6 MB, free: 0.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1261/0.6015, allocations: 28.7 MB / 390.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6015, allocations: 0 / 390.3 MB, free: 8.535 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.537e-05/0.6016, allocations: 24 kB / 390.3 MB, free: 8.512 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.00351/0.6052, allocations: 1.281 MB / 391.6 MB, free: 7.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.6052, allocations: 12.03 kB / 391.6 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.6063, allocations: 190.3 kB / 391.8 MB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.6086, allocations: 0.8154 MB / 392.6 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.773e-05/0.6087, allocations: 75.81 kB / 392.7 MB, free: 6.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.609, allocations: 106.1 kB / 392.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002587/0.6116, allocations: 0.9305 MB / 393.7 MB, free: 5.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/0.6116, allocations: 3.938 kB / 393.7 MB, free: 5.613 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.6118, allocations: 46.31 kB / 393.8 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/0.6118, allocations: 24 kB / 393.8 MB, free: 5.578 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/0.6139, allocations: 0.66 MB / 394.5 MB, free: 5.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008333/0.6223, allocations: 3.96 MB / 398.4 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.6235, allocations: 460.6 kB / 398.9 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.6236, allocations: 7.938 kB / 398.9 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.6236, allocations: 42.56 kB / 398.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.617e-06/0.6237, allocations: 0 / 398.9 MB, free: 0.7188 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.004738/0.6284, allocations: 1.509 MB / 400.4 MB, free: 15.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/0.6285, allocations: 81.55 kB / 400.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.6302, allocations: 0.8019 MB / 401.3 MB, free: 14.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/0.6302, allocations: 41.7 kB / 401.4 MB, free: 14.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.6309, allocations: 0.5721 MB / 401.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.6311, allocations: 165.6 kB / 402.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.6311, allocations: 16 kB / 402.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6313, allocations: 337.9 kB / 402.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/0.6319, allocations: 173.9 kB / 402.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008808/0.6328, allocations: 484 kB / 403.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.6336, allocations: 260.6 kB / 403.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.6337, allocations: 4 kB / 403.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002372/0.6361, allocations: 0.8091 MB / 404.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.6361, allocations: 8 kB / 404.1 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.6361, allocations: 8 kB / 404.2 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000404/0.6366, allocations: 85.95 kB / 404.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.6376, allocations: 163.7 kB / 404.4 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00342/0.641, allocations: 2.927 MB / 407.3 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.6421, allocations: 43.89 kB / 407.4 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/0.6422, allocations: 35.95 kB / 407.4 MB, free: 7.684 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (87): * Single equations (assignments): 85 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007127/0.643, allocations: 269.5 kB / 407.7 MB, free: 7.41 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.6432, allocations: 90.95 kB / 407.8 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.6448, allocations: 0.5223 MB / 408.3 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.6449, allocations: 7.984 kB / 408.3 MB, free: 6.777 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6449, allocations: 4 kB / 408.3 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.6449, allocations: 0 / 408.3 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003572/0.6485, allocations: 1.474 MB / 409.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.6485, allocations: 0 / 409.8 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006515/0.6492, allocations: 84.12 kB / 409.8 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/0.6495, allocations: 73.81 kB / 409.9 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.6496, allocations: 12 kB / 409.9 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003331/0.6529, allocations: 2.92 MB / 412.9 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.842e-06/0.653, allocations: 4 kB / 412.9 MB, free: 1.852 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.6553, allocations: 0.8402 MB / 413.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.6558, allocations: 200 kB / 413.9 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/0.656, allocations: 8 kB / 413.9 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.6568, allocations: 43.92 kB / 413.9 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.6569, allocations: 39.89 kB / 414 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.657, allocations: 12 kB / 414 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001201/0.6582, allocations: 0.5497 MB / 414.5 MB, free: 100 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6582, allocations: 0 / 414.5 MB, free: 100 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001386/0.6596, allocations: 248 kB / 414.8 MB, free: 15.85 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,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 (41): * Single equations (assignments): 39 * 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%) 6,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006093/0.6602, allocations: 301.9 kB / 415.1 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.6622, allocations: 0.7265 MB / 415.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6622, allocations: 0.6875 kB / 415.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.6634, allocations: 477 kB / 416.3 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.665, allocations: 220.5 kB / 416.5 MB, free: 14.1 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004761/0.6698, allocations: 2.143 MB / 418.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.6707, allocations: 1.04 MB / 419.7 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008388/0.6715, allocations: 103.4 kB / 419.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.6718, allocations: 67.38 kB / 419.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6718, allocations: 0 / 419.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of Templates: time 0.2608/0.9326, allocations: 12.03 MB / 431.9 MB, free: 96.56 MB / 346.7 MB