Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.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_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 186.7 MB, free: 1.027 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 12 kB / 233.9 MB, free: 2.371 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08462, allocations: 38.77 MB / 272.6 MB, free: 11.53 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.4747, allocations: 80.55 MB / 353.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/0.4752, allocations: 72.34 kB / 353.2 MB, free: 8.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1869/0.6621, allocations: 34.09 MB / 387.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.6622, allocations: 0 / 387.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.685e-05/0.6622, allocations: 16 kB / 387.4 MB, free: 11.57 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.003278/0.6655, allocations: 1.217 MB / 388.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.6656, allocations: 12.03 kB / 388.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002877/0.6659, allocations: 114.6 kB / 388.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.6679, allocations: 0.7544 MB / 389.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.668, allocations: 23.81 kB / 389.5 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.392e-05/0.6681, allocations: 23.81 kB / 389.5 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.6689, allocations: 318.3 kB / 389.8 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.669, allocations: 0 / 389.8 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.297e-05/0.6691, allocations: 7.625 kB / 389.8 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.6691, allocations: 8 kB / 389.8 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.6698, allocations: 242.4 kB / 390.1 MB, free: 9.113 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002874/0.6727, allocations: 1.212 MB / 391.3 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/0.6734, allocations: 204.2 kB / 391.5 MB, free: 7.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/0.6939, allocations: 10.72 MB / 402.2 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/0.6941, allocations: 30.56 kB / 402.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 7.805e-06/0.6941, allocations: 4 kB / 402.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.003979/0.6981, allocations: 0.631 MB / 402.9 MB, free: 11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/0.6983, allocations: 77.11 kB / 402.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.7007, allocations: 0.8064 MB / 403.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.574e-05/0.7008, allocations: 33.7 kB / 403.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007531/0.7016, allocations: 428.7 kB / 404.2 MB, free: 9.617 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.7018, allocations: 82.84 kB / 404.3 MB, free: 9.535 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.7018, allocations: 4 kB / 404.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.702, allocations: 318 kB / 404.6 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003999/0.7025, allocations: 64.2 kB / 404.6 MB, free: 9.152 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/0.7029, allocations: 157.7 kB / 404.8 MB, free: 8.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004293/0.7034, allocations: 96.25 kB / 404.9 MB, free: 8.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.7034, allocations: 0 / 404.9 MB, free: 8.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001716/0.7051, allocations: 417.5 kB / 405.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/0.7052, allocations: 4 kB / 405.3 MB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.989e-05/0.7053, allocations: 16 kB / 405.3 MB, free: 8.438 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007284/0.706, allocations: 134.5 kB / 405.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004086/0.7065, allocations: 44.03 kB / 405.5 MB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/0.7079, allocations: 0.7084 MB / 406.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.7088, allocations: 19.75 kB / 406.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.708e-05/0.7089, allocations: 19.98 kB / 406.2 MB, free: 7.488 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.0006685/0.7096, allocations: 201.8 kB / 406.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003538/0.71, allocations: 102.8 kB / 406.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.7121, allocations: 427.6 kB / 407 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.7122, allocations: 0 / 407 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.7122, allocations: 0 / 407 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7122, allocations: 0 / 407 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.7137, allocations: 0.5112 MB / 407.5 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.817e-05/0.7138, allocations: 12 kB / 407.5 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/0.714, allocations: 23.98 kB / 407.5 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.7146, allocations: 138.9 kB / 407.6 MB, free: 6.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.7146, allocations: 11.98 kB / 407.7 MB, free: 6.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.7157, allocations: 0.7111 MB / 408.4 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.7158, allocations: 7.938 kB / 408.4 MB, free: 5.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.7171, allocations: 468.1 kB / 408.8 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.7176, allocations: 171.9 kB / 409 MB, free: 4.605 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.7178, allocations: 4 kB / 409 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005418/0.7183, allocations: 11.98 kB / 409 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.7185, allocations: 19.94 kB / 409 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-05/0.7185, allocations: 8 kB / 409 MB, free: 4.562 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001406/0.7199, allocations: 0.5461 MB / 409.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.72, allocations: 0 / 409.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001232/0.7212, allocations: 207.7 kB / 409.8 MB, free: 3.805 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.000901/0.7222, allocations: 319.3 kB / 410.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.7232, allocations: 279.8 kB / 410.4 MB, free: 3.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7233, allocations: 0 / 410.4 MB, free: 3.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005062/0.7238, allocations: 179.3 kB / 410.5 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.0009355/0.7247, allocations: 128.3 kB / 410.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.7283, allocations: 1.411 MB / 412.1 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.7291, allocations: 0.9607 MB / 413 MB, free: 464 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006067/0.7297, allocations: 97.95 kB / 413.1 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.7299, allocations: 43.44 kB / 413.2 MB, free: 320 kB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.7299, allocations: 0 / 413.2 MB, free: 320 kB / 330.7 MB Notification: Performance of Templates: time 0.03049/0.7604, allocations: 8.662 MB / 421.8 MB, free: 7.676 MB / 346.7 MB