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.66/1.66, allocations: 171.2 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003644, allocations: 8 kB / 233.2 MB, free: 3.051 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06948/0.06988, allocations: 38.77 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005852/0.07578, allocations: 4.162 MB / 276.1 MB, free: 8.016 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.0879, allocations: 7.449 MB / 283.5 MB, free: 0.543 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006977/0.08864, allocations: 23.81 kB / 283.6 MB, free: 0.5195 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.08973, allocations: 302.6 kB / 283.9 MB, free: 228 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.09261, allocations: 0.7361 MB / 284.6 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.09444, allocations: 462.7 kB / 285 MB, free: 15.03 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003483/0.09796, allocations: 1.493 MB / 286.5 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000354/0.09835, allocations: 139 kB / 286.7 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004364/0.09881, allocations: 250.8 kB / 286.9 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004184/0.09924, allocations: 286.2 kB / 287.2 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.824e-05/0.09933, allocations: 19.94 kB / 287.2 MB, free: 12.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.1012, allocations: 0.5504 MB / 287.8 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001304/0.1014, allocations: 83.39 kB / 287.9 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.1017, allocations: 193.2 kB / 288 MB, free: 12.01 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.1031, allocations: 0.8531 MB / 288.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.389e-06/0.1031, allocations: 0 / 288.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.798e-06/0.1031, allocations: 0 / 288.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1032, allocations: 0 / 288.9 MB, free: 11.15 MB / 250.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.002074/0.1052, allocations: 1.151 MB / 290 MB, free: 9.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.1053, allocations: 8.031 kB / 290.1 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.1055, allocations: 110.7 kB / 290.2 MB, free: 9.832 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.1071, allocations: 0.8131 MB / 291 MB, free: 8.965 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.251e-05/0.1072, allocations: 16.56 kB / 291 MB, free: 8.949 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.918e-05/0.1072, allocations: 27.91 kB / 291 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007624/0.108, allocations: 303.7 kB / 291.3 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.1081, allocations: 7.984 kB / 291.3 MB, free: 8.605 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.1081, allocations: 8 kB / 291.3 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1081, allocations: 12 kB / 291.3 MB, free: 8.586 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005994/0.1088, allocations: 238.1 kB / 291.6 MB, free: 8.352 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.1112, allocations: 1.202 MB / 292.8 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004976/0.1117, allocations: 202.6 kB / 293 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1842/0.296, allocations: 8.597 MB / 301.6 MB, free: 29.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.2961, allocations: 37.69 kB / 301.6 MB, free: 29.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 4.167e-06/0.2961, allocations: 0 / 301.6 MB, free: 29.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.001984/0.2981, allocations: 0.6505 MB / 302.3 MB, free: 29.31 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.2981, allocations: 80.14 kB / 302.3 MB, free: 29.21 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.2994, allocations: 0.7955 MB / 303.1 MB, free: 29.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.2994, allocations: 29.48 kB / 303.2 MB, free: 29.04 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.2997, allocations: 422.6 kB / 303.6 MB, free: 28.68 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.2998, allocations: 77.41 kB / 303.6 MB, free: 28.62 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.2998, allocations: 5 kB / 303.7 MB, free: 28.62 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.2999, allocations: 320.7 kB / 304 MB, free: 28.3 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.3001, allocations: 73.34 kB / 304 MB, free: 28.28 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.3004, allocations: 145.8 kB / 304.2 MB, free: 28.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.3006, allocations: 97.73 kB / 304.3 MB, free: 28.12 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.3007, allocations: 1.188 kB / 304.3 MB, free: 28.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007981/0.3015, allocations: 313.2 kB / 304.6 MB, free: 27.99 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.3015, allocations: 6.953 kB / 304.6 MB, free: 27.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.112e-05/0.3016, allocations: 18.03 kB / 304.6 MB, free: 27.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004565/0.302, allocations: 141.9 kB / 304.7 MB, free: 27.95 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.3023, allocations: 39.94 kB / 304.8 MB, free: 27.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006914/0.303, allocations: 0.7029 MB / 305.5 MB, free: 27.36 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003619/0.3034, allocations: 35.19 kB / 305.5 MB, free: 27.34 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.3034, allocations: 16.17 kB / 305.5 MB, free: 27.34 MB / 250.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.0003075/0.3037, allocations: 194.3 kB / 305.7 MB, free: 27.17 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.3039, allocations: 103.6 kB / 305.8 MB, free: 27.12 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.3051, allocations: 421.6 kB / 306.2 MB, free: 26.95 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.12e-06/0.3051, allocations: 2.875 kB / 306.2 MB, free: 26.95 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.873e-06/0.3051, allocations: 4.5 kB / 306.2 MB, free: 26.95 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.234e-06/0.3052, allocations: 0 / 306.2 MB, free: 26.95 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.3059, allocations: 0.5034 MB / 306.8 MB, free: 26.64 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-05/0.306, allocations: 15.12 kB / 306.8 MB, free: 26.64 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001589/0.3062, allocations: 22.31 kB / 306.8 MB, free: 26.64 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/0.3066, allocations: 135 kB / 306.9 MB, free: 26.6 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.3066, allocations: 6.047 kB / 306.9 MB, free: 26.6 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000699/0.3073, allocations: 0.7083 MB / 307.6 MB, free: 26 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.407e-06/0.3074, allocations: 0 / 307.6 MB, free: 26 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.3082, allocations: 456.9 kB / 308.1 MB, free: 25.73 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002126/0.3084, allocations: 175.4 kB / 308.3 MB, free: 25.58 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3086, allocations: 10.58 kB / 308.3 MB, free: 25.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.3089, allocations: 7.609 kB / 308.3 MB, free: 25.57 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.309, allocations: 18.45 kB / 308.3 MB, free: 25.56 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.309, allocations: 9.469 kB / 308.3 MB, free: 25.56 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0008457/0.3099, allocations: 0.5355 MB / 308.8 MB, free: 25.32 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.94e-07/0.3099, allocations: 0 / 308.8 MB, free: 25.32 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007413/0.3106, allocations: 196.2 kB / 309 MB, free: 25.3 MB / 250.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.0005268/0.3112, allocations: 277.6 kB / 309.3 MB, free: 25.2 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007939/0.312, allocations: 290.2 kB / 309.6 MB, free: 25.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.884e-06/0.312, allocations: 0 / 309.6 MB, free: 25.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003817/0.3124, allocations: 178.3 kB / 309.8 MB, free: 24.97 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006392/0.3131, allocations: 127.9 kB / 309.9 MB, free: 24.91 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.3154, allocations: 1.445 MB / 311.3 MB, free: 24.05 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005141/0.3159, allocations: 0.9582 MB / 312.3 MB, free: 23.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.316, allocations: 51.84 kB / 312.3 MB, free: 23.34 MB / 250.7 MB Notification: Performance of SimCode: time 1.676e-06/0.3161, allocations: 0 / 312.3 MB, free: 23.34 MB / 250.7 MB Notification: Performance of Templates: time 0.01967/0.3357, allocations: 13.71 MB / 326 MB, free: 13.57 MB / 250.7 MB