Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 1.626/1.626, allocations: 171.1 MB / 187.3 MB, free: 1.051 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003468, allocations: 8 kB / 233.8 MB, free: 3.07 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07716/0.07753, allocations: 38.77 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.4271, allocations: 80.54 MB / 353.1 MB, free: 9.555 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.4274, allocations: 79.66 kB / 353.2 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.124/0.5514, allocations: 34.09 MB / 387.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5515, allocations: 0 / 387.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.871e-05/0.5515, allocations: 12 kB / 387.3 MB, free: 12.18 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.003273/0.5548, allocations: 1.218 MB / 388.5 MB, free: 10.97 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.5549, allocations: 12.22 kB / 388.5 MB, free: 10.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.5551, allocations: 114.7 kB / 388.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.557, allocations: 0.7516 MB / 389.4 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.5571, allocations: 19.5 kB / 389.4 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.32e-05/0.5572, allocations: 26 kB / 389.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008099/0.558, allocations: 312.2 kB / 389.7 MB, free: 9.895 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.558, allocations: 8 kB / 389.7 MB, free: 9.887 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.552e-05/0.5581, allocations: 10.56 kB / 389.7 MB, free: 9.883 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.5581, allocations: 11.42 kB / 389.7 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.5588, allocations: 234.5 kB / 390 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003/0.5618, allocations: 1.22 MB / 391.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005794/0.5625, allocations: 198.6 kB / 391.4 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01707/0.5796, allocations: 10.71 MB / 402.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.5797, allocations: 38.56 kB / 402.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 2.876e-06/0.5797, allocations: 0 / 402.1 MB, free: 12.31 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002598/0.5823, allocations: 0.631 MB / 402.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.5824, allocations: 85.11 kB / 402.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.584, allocations: 0.8025 MB / 403.7 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.5841, allocations: 25.7 kB / 403.7 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004653/0.5845, allocations: 414.7 kB / 404.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.5847, allocations: 82.83 kB / 404.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.5847, allocations: 8 kB / 404.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5849, allocations: 314.8 kB / 404.5 MB, free: 9.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.5852, allocations: 72.2 kB / 404.5 MB, free: 9.812 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.5855, allocations: 149.7 kB / 404.7 MB, free: 9.633 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.5858, allocations: 96.69 kB / 404.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5858, allocations: 0 / 404.8 MB, free: 9.539 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009144/0.5868, allocations: 334.3 kB / 405.1 MB, free: 9.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.5868, allocations: 5.719 kB / 405.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-05/0.5869, allocations: 16 kB / 405.1 MB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005556/0.5874, allocations: 141 kB / 405.3 MB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.5877, allocations: 35.91 kB / 405.3 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000992/0.5887, allocations: 0.7112 MB / 406 MB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005612/0.5893, allocations: 27.91 kB / 406 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.153e-05/0.5894, allocations: 16 kB / 406.1 MB, free: 8.23 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.0004817/0.5899, allocations: 201.7 kB / 406.3 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.5901, allocations: 102.8 kB / 406.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.5916, allocations: 415.5 kB / 406.8 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.5916, allocations: 7.984 kB / 406.8 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5916, allocations: 4 kB / 406.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.5916, allocations: 0 / 406.8 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.5927, allocations: 0.5112 MB / 407.3 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.352e-05/0.5928, allocations: 12 kB / 407.3 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.593, allocations: 15.98 kB / 407.3 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.5935, allocations: 136.8 kB / 407.5 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.5935, allocations: 8 kB / 407.5 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000964/0.5945, allocations: 0.7146 MB / 408.2 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5945, allocations: 0 / 408.2 MB, free: 6.027 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5956, allocations: 476.1 kB / 408.6 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003267/0.596, allocations: 179.8 kB / 408.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.5961, allocations: 4 kB / 408.8 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.5966, allocations: 15.98 kB / 408.8 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.5967, allocations: 15.94 kB / 408.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.509e-05/0.5967, allocations: 12 kB / 408.9 MB, free: 5.301 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.5979, allocations: 0.5344 MB / 409.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5979, allocations: 0 / 409.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009794/0.5989, allocations: 215.7 kB / 409.6 MB, free: 4.547 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.0007544/0.5997, allocations: 315.3 kB / 409.9 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009491/0.6006, allocations: 275.2 kB / 410.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.6007, allocations: 0 / 410.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004783/0.6011, allocations: 183.8 kB / 410.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008447/0.602, allocations: 120.3 kB / 410.5 MB, free: 3.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.6052, allocations: 1.451 MB / 411.9 MB, free: 2.152 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.6059, allocations: 0.9607 MB / 412.9 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.6061, allocations: 47.42 kB / 412.9 MB, free: 1.117 MB / 330.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6061, allocations: 3.938 kB / 412.9 MB, free: 1.113 MB / 330.7 MB Notification: Performance of Templates: time 0.02943/0.6355, allocations: 13.59 MB / 426.5 MB, free: 3.531 MB / 346.7 MB