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_Start.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_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 171.2 MB / 186.7 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 12 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/0.08664, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.4688, allocations: 88.09 MB / 360.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.4692, allocations: 88.14 kB / 360.8 MB, free: 1.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1195/0.5887, allocations: 28.23 MB / 389 MB, free: 9.758 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.5888, allocations: 3.938 kB / 389 MB, free: 9.754 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.402e-05/0.5889, allocations: 24 kB / 389.1 MB, free: 9.73 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003422/0.5923, allocations: 1.246 MB / 390.3 MB, free: 8.512 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.5924, allocations: 12.03 kB / 390.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/0.5934, allocations: 190.8 kB / 390.5 MB, free: 8.312 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/0.5955, allocations: 0.7993 MB / 391.3 MB, free: 7.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.702e-05/0.5956, allocations: 71.75 kB / 391.4 MB, free: 7.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.5958, allocations: 106 kB / 391.5 MB, free: 7.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.5982, allocations: 0.9189 MB / 392.4 MB, free: 6.898 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.5983, allocations: 3.984 kB / 392.4 MB, free: 6.895 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.5984, allocations: 43.62 kB / 392.4 MB, free: 6.883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.5984, allocations: 24 kB / 392.5 MB, free: 6.859 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.6004, allocations: 0.6442 MB / 393.1 MB, free: 6.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007769/0.6082, allocations: 3.916 MB / 397 MB, free: 2.676 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.6093, allocations: 462.9 kB / 397.5 MB, free: 2.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.012e-05/0.6094, allocations: 4 kB / 397.5 MB, free: 2.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.6095, allocations: 46.55 kB / 397.5 MB, free: 2.141 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.407e-06/0.6095, allocations: 0 / 397.5 MB, free: 2.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=47): time 0.004261/0.6137, allocations: 1.449 MB / 399 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/0.6138, allocations: 85.55 kB / 399.1 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.6155, allocations: 0.7861 MB / 399.8 MB, free: 15.72 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.6155, allocations: 33.7 kB / 399.9 MB, free: 15.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/0.6161, allocations: 0.5488 MB / 400.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001893/0.6163, allocations: 169.6 kB / 400.6 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.6164, allocations: 12 kB / 400.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.6165, allocations: 334 kB / 400.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.6171, allocations: 169.9 kB / 401.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008327/0.618, allocations: 464.1 kB / 401.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.6187, allocations: 256.6 kB / 401.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.6188, allocations: 7.938 kB / 401.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002149/0.6209, allocations: 0.7818 MB / 402.6 MB, free: 12.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.621, allocations: 8.625 kB / 402.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.621, allocations: 8 kB / 402.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000407/0.6214, allocations: 85.97 kB / 402.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009971/0.6224, allocations: 159.7 kB / 402.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003379/0.6258, allocations: 2.931 MB / 405.8 MB, free: 9.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.6268, allocations: 35.89 kB / 405.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.6269, allocations: 40 kB / 405.9 MB, free: 9.273 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 (86): * Single equations (assignments): 84 * 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.0006592/0.6275, allocations: 269.5 kB / 406.1 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.6277, allocations: 86.97 kB / 406.2 MB, free: 8.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.6293, allocations: 0.4987 MB / 406.7 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.6293, allocations: 4 kB / 406.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.6293, allocations: 3.938 kB / 406.7 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.6293, allocations: 3.984 kB / 406.7 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.6326, allocations: 1.427 MB / 408.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.6326, allocations: 0 / 408.1 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/0.6332, allocations: 79.84 kB / 408.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003384/0.6336, allocations: 69.89 kB / 408.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.6336, allocations: 16 kB / 408.3 MB, free: 6.703 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003301/0.637, allocations: 2.927 MB / 411.2 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.637, allocations: 0 / 411.2 MB, free: 3.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.6391, allocations: 0.7974 MB / 412 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.6396, allocations: 192.1 kB / 412.2 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.6398, allocations: 11.98 kB / 412.2 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007037/0.6405, allocations: 35.94 kB / 412.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.6406, allocations: 35.95 kB / 412.3 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.6407, allocations: 19.94 kB / 412.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.6419, allocations: 0.5303 MB / 412.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6419, allocations: 0 / 412.8 MB, free: 1.832 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001335/0.6432, allocations: 243.9 kB / 413.1 MB, free: 1.594 MB / 330.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 (40): * Single equations (assignments): 38 * 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.0006073/0.6439, allocations: 317.3 kB / 413.4 MB, free: 1.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.6457, allocations: 0.7075 MB / 414.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6457, allocations: 0 / 414.1 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.6468, allocations: 461.8 kB / 414.6 MB, free: 64 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001884/0.6487, allocations: 203.2 kB / 414.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.6534, allocations: 2.12 MB / 416.9 MB, free: 13.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008377/0.6543, allocations: 1.028 MB / 417.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007997/0.6551, allocations: 111.3 kB / 418 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.6553, allocations: 59.42 kB / 418.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6553, allocations: 3.938 kB / 418.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Templates: time 0.03728/0.6926, allocations: 11.91 MB / 430 MB, free: 0.6016 MB / 346.7 MB