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.562/1.562, allocations: 171.2 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.000361, allocations: 8 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07099/0.07137, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2962/0.3676, allocations: 80.55 MB / 352.6 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.3679, allocations: 76.09 kB / 352.6 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1111/0.479, allocations: 34.09 MB / 386.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.447e-06/0.4791, allocations: 4.188 kB / 386.7 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.4791, allocations: 12 kB / 386.7 MB, free: 12.15 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.002309/0.4814, allocations: 1.222 MB / 388 MB, free: 10.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4815, allocations: 12.02 kB / 388 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001852/0.4817, allocations: 110.7 kB / 388.1 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.4832, allocations: 0.7531 MB / 388.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.4832, allocations: 22.75 kB / 388.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.9e-05/0.4833, allocations: 22.75 kB / 388.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.484, allocations: 311.1 kB / 389.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.484, allocations: 0 / 389.2 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.4841, allocations: 13.62 kB / 389.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.4841, allocations: 4 kB / 389.2 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005722/0.4847, allocations: 242 kB / 389.4 MB, free: 9.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002342/0.487, allocations: 1.213 MB / 390.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.4875, allocations: 202.2 kB / 390.8 MB, free: 8.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01465/0.5022, allocations: 10.71 MB / 401.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.5023, allocations: 34.56 kB / 401.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.352e-06/0.5023, allocations: 0 / 401.6 MB, free: 12.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.00208/0.5044, allocations: 0.6387 MB / 402.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.5045, allocations: 81.11 kB / 402.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001274/0.5058, allocations: 0.6838 MB / 403 MB, free: 10.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.5058, allocations: 33.7 kB / 403 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.5063, allocations: 414.7 kB / 403.4 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.406e-05/0.5064, allocations: 82.84 kB / 403.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.5064, allocations: 4 kB / 403.5 MB, free: 10.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.5066, allocations: 322.8 kB / 403.8 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.5068, allocations: 68.14 kB / 403.9 MB, free: 9.844 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.5071, allocations: 149.9 kB / 404 MB, free: 9.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.5074, allocations: 84.75 kB / 404.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.928e-06/0.5074, allocations: 3.953 kB / 404.1 MB, free: 9.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008194/0.5083, allocations: 335.3 kB / 404.5 MB, free: 9.246 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5083, allocations: 8 kB / 404.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.889e-05/0.5083, allocations: 12 kB / 404.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/0.5088, allocations: 132.8 kB / 404.6 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.5091, allocations: 43.94 kB / 404.7 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009487/0.51, allocations: 0.7072 MB / 405.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.5106, allocations: 23.84 kB / 405.4 MB, free: 8.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.028e-05/0.5106, allocations: 19.98 kB / 405.4 MB, free: 8.277 MB / 330.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 () * Number of clocked 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 0.0004528/0.5111, allocations: 201.8 kB / 405.6 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.5113, allocations: 102.8 kB / 405.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.5126, allocations: 423.5 kB / 406.1 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.5126, allocations: 4 kB / 406.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.015e-06/0.5126, allocations: 0 / 406.1 MB, free: 7.539 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.921e-06/0.5127, allocations: 3.984 kB / 406.1 MB, free: 7.535 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009059/0.5136, allocations: 0.5112 MB / 406.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/0.5136, allocations: 16 kB / 406.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001561/0.5138, allocations: 19.98 kB / 406.7 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.5142, allocations: 136.7 kB / 406.8 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.5143, allocations: 15.98 kB / 406.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009554/0.5153, allocations: 0.7045 MB / 407.5 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.222e-06/0.5153, allocations: 4.031 kB / 407.5 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.5162, allocations: 468.1 kB / 408 MB, free: 5.578 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.5165, allocations: 175.8 kB / 408.2 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.5167, allocations: 4 kB / 408.2 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003597/0.517, allocations: 11.98 kB / 408.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.5171, allocations: 11.98 kB / 408.2 MB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.642e-05/0.5172, allocations: 15.95 kB / 408.2 MB, free: 5.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.5183, allocations: 0.5422 MB / 408.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.5183, allocations: 0 / 408.7 MB, free: 4.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008682/0.5192, allocations: 211.7 kB / 408.9 MB, free: 4.586 MB / 330.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 () * Number of clocked 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.0006524/0.5199, allocations: 319.2 kB / 409.3 MB, free: 4.266 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008146/0.5207, allocations: 282.3 kB / 409.5 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.55e-06/0.5207, allocations: 0 / 409.5 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004222/0.5212, allocations: 183.3 kB / 409.7 MB, free: 3.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/0.5219, allocations: 124.3 kB / 409.8 MB, free: 3.668 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.5247, allocations: 1.446 MB / 411.3 MB, free: 2.188 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/0.5254, allocations: 0.9607 MB / 412.2 MB, free: 1.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.5255, allocations: 43.44 kB / 412.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of SimCode: time 1.881e-06/0.5256, allocations: 0 / 412.3 MB, free: 1.156 MB / 330.7 MB Notification: Performance of Templates: time 0.02425/0.5498, allocations: 13.59 MB / 425.9 MB, free: 3.57 MB / 346.7 MB