Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|J2.D.v|RC.v|J1.D.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 1.596/1.596, allocations: 171.2 MB / 184.3 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.648e-05, allocations: 0 / 228.8 MB, free: 15.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.211, allocations: 38.77 MB / 267.6 MB, free: 9.457 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.3456, allocations: 80.46 MB / 348.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.3459, allocations: 75.97 kB / 348.1 MB, free: 8.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3173/0.6633, allocations: 34.07 MB / 382.2 MB, free: 64.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.317e-06/0.6633, allocations: 0 / 382.2 MB, free: 64.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.017e-05/0.6634, allocations: 12 kB / 382.2 MB, free: 64.09 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001723/0.6651, allocations: 1.03 MB / 383.2 MB, free: 63.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.6652, allocations: 20.02 kB / 383.3 MB, free: 62.99 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.6654, allocations: 110.7 kB / 383.4 MB, free: 62.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.6667, allocations: 0.7506 MB / 384.1 MB, free: 62.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.6667, allocations: 16.56 kB / 384.1 MB, free: 62.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.42e-05/0.6668, allocations: 31.88 kB / 384.2 MB, free: 62.03 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006155/0.6674, allocations: 295.7 kB / 384.5 MB, free: 61.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6675, allocations: 0 / 384.5 MB, free: 61.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/0.6675, allocations: 12 kB / 384.5 MB, free: 61.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.6676, allocations: 12 kB / 384.5 MB, free: 61.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.668, allocations: 218.2 kB / 384.7 MB, free: 61.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002211/0.6703, allocations: 1.211 MB / 385.9 MB, free: 60.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.6707, allocations: 186.6 kB / 386.1 MB, free: 60.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.6711, allocations: 225.3 kB / 386.3 MB, free: 59.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.6821, allocations: 10.78 MB / 397.1 MB, free: 47.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.6822, allocations: 38.56 kB / 397.1 MB, free: 47.13 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 4.182e-06/0.6822, allocations: 0 / 397.1 MB, free: 47.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=23): time 0.0008264/0.683, allocations: 345.3 kB / 397.5 MB, free: 46.78 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.6831, allocations: 85.05 kB / 397.5 MB, free: 46.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6841, allocations: 0.673 MB / 398.2 MB, free: 45.99 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.6842, allocations: 29.7 kB / 398.2 MB, free: 45.95 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002802/0.6845, allocations: 418.5 kB / 398.6 MB, free: 45.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.6845, allocations: 78.75 kB / 398.7 MB, free: 45.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.6846, allocations: 8 kB / 398.7 MB, free: 45.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.695e-05/0.6846, allocations: 322.8 kB / 399 MB, free: 45.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.6848, allocations: 64.5 kB / 399.1 MB, free: 45.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.685, allocations: 133.9 kB / 399.2 MB, free: 44.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.6852, allocations: 91.14 kB / 399.3 MB, free: 44.82 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6853, allocations: 0 / 399.3 MB, free: 44.82 MB / 298.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006399/0.6859, allocations: 294.2 kB / 399.6 MB, free: 44.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6859, allocations: 4 kB / 399.6 MB, free: 44.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.11e-05/0.686, allocations: 16 kB / 399.6 MB, free: 44.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004529/0.6865, allocations: 138.2 kB / 399.8 MB, free: 44.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.6867, allocations: 39.91 kB / 399.8 MB, free: 44.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006881/0.6874, allocations: 0.7145 MB / 400.5 MB, free: 43.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.6879, allocations: 31.77 kB / 400.6 MB, free: 43.56 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.688, allocations: 16.06 kB / 400.6 MB, free: 43.54 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 9.908e-05/0.6881, allocations: 116.9 kB / 400.7 MB, free: 43.42 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.6883, allocations: 102.8 kB / 400.8 MB, free: 43.32 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.6895, allocations: 411.2 kB / 401.2 MB, free: 42.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6895, allocations: 7.984 kB / 401.2 MB, free: 42.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.6895, allocations: 0 / 401.2 MB, free: 42.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.39e-06/0.6895, allocations: 3.953 kB / 401.2 MB, free: 42.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008516/0.6904, allocations: 0.5074 MB / 401.7 MB, free: 42.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/0.6904, allocations: 16 kB / 401.7 MB, free: 42.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.6906, allocations: 19.92 kB / 401.7 MB, free: 42.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003931/0.691, allocations: 132.8 kB / 401.9 MB, free: 42.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.6911, allocations: 15.92 kB / 401.9 MB, free: 42.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006791/0.6918, allocations: 0.7045 MB / 402.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.984e-06/0.6918, allocations: 0 / 402.6 MB, free: 41.43 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.6926, allocations: 453.2 kB / 403 MB, free: 40.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.6929, allocations: 175.8 kB / 403.2 MB, free: 40.78 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/0.6931, allocations: 8 kB / 403.2 MB, free: 40.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.6935, allocations: 15.98 kB / 403.2 MB, free: 40.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.6935, allocations: 15.94 kB / 403.2 MB, free: 40.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.6936, allocations: 8 kB / 403.3 MB, free: 40.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008595/0.6945, allocations: 0.5352 MB / 403.8 MB, free: 40.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.73e-07/0.6945, allocations: 0 / 403.8 MB, free: 40.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008078/0.6953, allocations: 207.8 kB / 404 MB, free: 39.98 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005649/0.6959, allocations: 323.3 kB / 404.3 MB, free: 39.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007159/0.6966, allocations: 258.6 kB / 404.6 MB, free: 39.39 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6966, allocations: 0 / 404.6 MB, free: 39.39 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003388/0.697, allocations: 175.9 kB / 404.7 MB, free: 39.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/0.6977, allocations: 122.3 kB / 404.9 MB, free: 39.09 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001842/0.6996, allocations: 0.8779 MB / 405.7 MB, free: 38.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.7, allocations: 0.9607 MB / 406.7 MB, free: 37.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.7001, allocations: 47.44 kB / 406.7 MB, free: 37.14 MB / 298.7 MB Notification: Performance of SimCode: time 1.825e-06/0.7001, allocations: 0 / 406.7 MB, free: 37.14 MB / 298.7 MB Notification: Performance of Templates: time 0.01999/0.7201, allocations: 13.58 MB / 420.3 MB, free: 23.57 MB / 298.7 MB