Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz.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.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadModel(Modelica): time 2.309/2.309, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003691, allocations: 19.94 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.09854, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4217/0.5203, allocations: 82.12 MB / 391.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.5207, allocations: 79.95 kB / 391.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1474/0.6681, allocations: 36.63 MB / 427.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.6681, allocations: 0 / 427.9 MB, free: 5.699 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.424e-05/0.6682, allocations: 16.5 kB / 427.9 MB, free: 5.699 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.003028/0.6712, allocations: 1.394 MB / 429.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6713, allocations: 7.438 kB / 429.3 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002417/0.6715, allocations: 135.2 kB / 429.4 MB, free: 4.574 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.6731, allocations: 0.7234 MB / 430.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.6732, allocations: 19.88 kB / 430.2 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.279e-05/0.6733, allocations: 22.66 kB / 430.2 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.674, allocations: 309.1 kB / 430.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6741, allocations: 0 / 430.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.6741, allocations: 7.75 kB / 430.5 MB, free: 3.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.6742, allocations: 11.69 kB / 430.5 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.6748, allocations: 226.1 kB / 430.7 MB, free: 3.941 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.6776, allocations: 1.184 MB / 431.9 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.6783, allocations: 241.6 kB / 432.2 MB, free: 3.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/0.6801, allocations: 1.27 MB / 433.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.6801, allocations: 42.14 kB / 433.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.567e-06/0.6802, allocations: 0 / 433.5 MB, free: 1.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=39): time 0.004957/0.6851, allocations: 2.072 MB / 435.5 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.6852, allocations: 114.3 kB / 435.6 MB, free: 412 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.6866, allocations: 0.9171 MB / 436.6 MB, free: 108 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.854e-05/0.6867, allocations: 28.7 kB / 436.6 MB, free: 76 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003584/0.6871, allocations: 358.1 kB / 436.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.6873, allocations: 130.6 kB / 437.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.6873, allocations: 7.312 kB / 437.1 MB, free: 15.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6875, allocations: 320.8 kB / 437.4 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/0.6879, allocations: 121.3 kB / 437.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/0.6883, allocations: 156.1 kB / 437.7 MB, free: 15.37 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.6888, allocations: 179.1 kB / 437.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.6889, allocations: 0 / 437.8 MB, free: 15.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001615/0.6905, allocations: 0.532 MB / 438.4 MB, free: 14.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.72e-05/0.6906, allocations: 40.62 kB / 438.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-05/0.6906, allocations: 12 kB / 438.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003577/0.691, allocations: 71.55 kB / 438.5 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.6914, allocations: 39.86 kB / 438.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.695, allocations: 3.004 MB / 441.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006679/0.6957, allocations: 11.16 kB / 441.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.6958, allocations: 26.67 kB / 441.6 MB, free: 11.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006593/0.6965, allocations: 246.5 kB / 441.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.6968, allocations: 122.5 kB / 441.9 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.6994, allocations: 0.6898 MB / 442.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.6994, allocations: 4 kB / 442.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.986e-06/0.6994, allocations: 4 kB / 442.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.6995, allocations: 0 / 442.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.7008, allocations: 0.6113 MB / 443.2 MB, free: 10.22 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.878e-05/0.7009, allocations: 15.98 kB / 443.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003603/0.7013, allocations: 36.05 kB / 443.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000332/0.7017, allocations: 74.42 kB / 443.4 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.7017, allocations: 14.61 kB / 443.4 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.7054, allocations: 3.015 MB / 446.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7054, allocations: 0 / 446.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002383/0.7078, allocations: 0.851 MB / 447.2 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007197/0.7086, allocations: 287.5 kB / 447.5 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.7088, allocations: 4 kB / 447.5 MB, free: 5.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.7093, allocations: 16.06 kB / 447.5 MB, free: 5.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.7094, allocations: 35.91 kB / 447.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.7095, allocations: 16 kB / 447.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001307/0.7109, allocations: 0.6217 MB / 448.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7109, allocations: 0 / 448.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001355/0.7122, allocations: 247.8 kB / 448.5 MB, free: 4.883 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (D3.n.v,D2.pin) * 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 (22): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009707/0.7132, allocations: 409.8 kB / 448.9 MB, free: 4.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001771/0.715, allocations: 0.7649 MB / 449.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.715, allocations: 0 / 449.6 MB, free: 3.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.7161, allocations: 0.6137 MB / 450.2 MB, free: 3.008 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.7168, allocations: 94.61 kB / 450.3 MB, free: 2.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003878/0.7207, allocations: 1.852 MB / 452.2 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000845/0.7216, allocations: 1.019 MB / 453.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004939/0.7221, allocations: 68.58 kB / 453.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001718/0.7223, allocations: 35.44 kB / 453.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7223, allocations: 0 / 453.3 MB, free: 15.88 MB / 346.7 MB Notification: Performance of Templates: time 0.0297/0.752, allocations: 9.017 MB / 462.3 MB, free: 6.898 MB / 346.7 MB