Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcse.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start") Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003622, allocations: 12 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1015, allocations: 44.5 MB / 309.1 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5021/0.6037, allocations: 93.2 MB / 402.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.604, allocations: 88.2 kB / 402.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1244/0.7285, allocations: 28.1 MB / 430.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.7285, allocations: 0 / 430.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.635e-05/0.7286, allocations: 19.44 kB / 430.5 MB, free: 4.488 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.003326/0.7319, allocations: 1.258 MB / 431.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.732, allocations: 7.75 kB / 431.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001189/0.7332, allocations: 188.7 kB / 431.9 MB, free: 3.445 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.7356, allocations: 0.797 MB / 432.7 MB, free: 2.797 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.7357, allocations: 76.62 kB / 432.8 MB, free: 2.75 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.7359, allocations: 97.12 kB / 432.9 MB, free: 2.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002302/0.7382, allocations: 0.929 MB / 433.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/0.7383, allocations: 7.906 kB / 433.8 MB, free: 2.035 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.7384, allocations: 38.38 kB / 433.8 MB, free: 2.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.7385, allocations: 24 kB / 433.9 MB, free: 2.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001866/0.7403, allocations: 0.6395 MB / 434.5 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008023/0.7484, allocations: 3.923 MB / 438.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.7496, allocations: 454.4 kB / 438.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.7496, allocations: 4 kB / 438.9 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.7497, allocations: 41.92 kB / 438.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.086e-06/0.7497, allocations: 0 / 438.9 MB, free: 13.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.004356/0.7541, allocations: 1.451 MB / 440.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.7542, allocations: 85.48 kB / 440.5 MB, free: 12.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.7561, allocations: 0.7879 MB / 441.2 MB, free: 12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/0.7562, allocations: 36.58 kB / 441.3 MB, free: 11.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/0.757, allocations: 0.5502 MB / 441.8 MB, free: 11.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.7573, allocations: 171 kB / 442 MB, free: 11.43 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/0.7573, allocations: 13.62 kB / 442 MB, free: 11.43 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.7576, allocations: 339.3 kB / 442.3 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008392/0.7584, allocations: 171.5 kB / 442.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.7596, allocations: 464.2 kB / 443 MB, free: 10.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.7607, allocations: 241.8 kB / 443.2 MB, free: 10.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/0.7607, allocations: 4 kB / 443.2 MB, free: 10.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003209/0.764, allocations: 0.7834 MB / 444 MB, free: 9.711 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.764, allocations: 12 kB / 444 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.7641, allocations: 8 kB / 444 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.7647, allocations: 85.23 kB / 444.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.7663, allocations: 155.5 kB / 444.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/0.7709, allocations: 2.926 MB / 447.2 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.772, allocations: 47.58 kB / 447.2 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.7721, allocations: 35.56 kB / 447.2 MB, free: 6.449 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.0007107/0.7728, allocations: 257.8 kB / 447.5 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001984/0.773, allocations: 86.97 kB / 447.6 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.7746, allocations: 0.5045 MB / 448.1 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.7746, allocations: 7.938 kB / 448.1 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7746, allocations: 4 kB / 448.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.7746, allocations: 4 kB / 448.1 MB, free: 5.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.7782, allocations: 1.422 MB / 449.5 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.7782, allocations: 4 kB / 449.5 MB, free: 4.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.7789, allocations: 79.48 kB / 449.6 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003474/0.7792, allocations: 76.27 kB / 449.7 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.086e-05/0.7793, allocations: 13.08 kB / 449.7 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.7827, allocations: 2.92 MB / 452.6 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.7828, allocations: 4.031 kB / 452.6 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/0.785, allocations: 0.7894 MB / 453.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.7856, allocations: 207.9 kB / 453.6 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/0.7858, allocations: 11.94 kB / 453.6 MB, free: 472 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.7865, allocations: 35.98 kB / 453.7 MB, free: 436 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.7866, allocations: 31.95 kB / 453.7 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.7867, allocations: 12 kB / 453.7 MB, free: 392 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001217/0.7879, allocations: 0.5342 MB / 454.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7879, allocations: 4 kB / 454.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001544/0.7895, allocations: 243.9 kB / 454.5 MB, free: 15.61 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 (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.0006643/0.7902, allocations: 305.7 kB / 454.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.7922, allocations: 0.7088 MB / 455.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.7923, allocations: 0 / 455.5 MB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.7935, allocations: 466.8 kB / 455.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.7954, allocations: 207.8 kB / 456.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/0.8022, allocations: 2.101 MB / 458.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.8036, allocations: 1.032 MB / 459.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001253/0.8048, allocations: 107.3 kB / 459.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.8052, allocations: 55.44 kB / 459.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of SimCode: time 1.714e-06/0.8052, allocations: 0 / 459.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of Templates: time 0.055/0.8602, allocations: 11.93 MB / 471.4 MB, free: 14.67 MB / 362.7 MB