Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 194.8 MB / 212.3 MB, free: 3.016 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004784, allocations: 12 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 44.5 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5137, allocations: 85.5 MB / 394.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.514, allocations: 76.64 kB / 394.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1058/0.6198, allocations: 33.97 MB / 428.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6199, allocations: 0 / 428.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.024e-05/0.6199, allocations: 11.72 kB / 428.5 MB, free: 4.98 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.002225/0.6222, allocations: 1.216 MB / 429.7 MB, free: 4.074 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.6222, allocations: 11.75 kB / 429.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.6224, allocations: 120.6 kB / 429.9 MB, free: 4.008 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.6238, allocations: 0.752 MB / 430.6 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.6238, allocations: 22.66 kB / 430.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.77e-05/0.6239, allocations: 26.12 kB / 430.7 MB, free: 3.492 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.6246, allocations: 315.1 kB / 431 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.6246, allocations: 0 / 431 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.154e-05/0.6247, allocations: 11.12 kB / 431 MB, free: 3.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.6247, allocations: 11.58 kB / 431 MB, free: 3.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005958/0.6253, allocations: 234.7 kB / 431.2 MB, free: 3.348 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.6277, allocations: 1.204 MB / 432.4 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.6282, allocations: 201.2 kB / 432.6 MB, free: 2.656 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/0.6433, allocations: 10.71 MB / 443.3 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.6434, allocations: 34.44 kB / 443.4 MB, free: 8.188 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.387e-06/0.6434, allocations: 0 / 443.4 MB, free: 8.188 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.002552/0.6459, allocations: 0.6476 MB / 444 MB, free: 7.891 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.202e-05/0.646, allocations: 77.11 kB / 444.1 MB, free: 7.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.6475, allocations: 0.7943 MB / 444.9 MB, free: 7.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.6476, allocations: 29.58 kB / 444.9 MB, free: 7.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003745/0.648, allocations: 422.3 kB / 445.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.6481, allocations: 74.66 kB / 445.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.6482, allocations: 3.75 kB / 445.4 MB, free: 7.191 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6483, allocations: 322.7 kB / 445.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.6486, allocations: 75.08 kB / 445.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.6489, allocations: 141.3 kB / 445.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.6492, allocations: 95.7 kB / 446 MB, free: 6.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6492, allocations: 0 / 446 MB, free: 6.617 MB / 330.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009288/0.6502, allocations: 314.6 kB / 446.3 MB, free: 6.379 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.6503, allocations: 15.92 kB / 446.3 MB, free: 6.363 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.828e-05/0.6503, allocations: 12 kB / 446.4 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005781/0.6509, allocations: 140.1 kB / 446.5 MB, free: 6.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.6513, allocations: 35.92 kB / 446.5 MB, free: 6.199 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.6523, allocations: 0.7132 MB / 447.2 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006313/0.653, allocations: 35.11 kB / 447.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.6531, allocations: 12 kB / 447.3 MB, free: 5.484 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.0005278/0.6536, allocations: 196.3 kB / 447.5 MB, free: 5.332 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.6539, allocations: 102.8 kB / 447.6 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.6555, allocations: 435.1 kB / 448 MB, free: 4.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.6555, allocations: 7.953 kB / 448 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6555, allocations: 0 / 448 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6556, allocations: 0 / 448 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.6566, allocations: 0.5042 MB / 448.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/0.6567, allocations: 15.98 kB / 448.5 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.657, allocations: 19.92 kB / 448.6 MB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005319/0.6575, allocations: 137.1 kB / 448.7 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.6576, allocations: 11.81 kB / 448.7 MB, free: 4.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009379/0.6585, allocations: 0.7078 MB / 449.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.6586, allocations: 0 / 449.4 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6597, allocations: 470 kB / 449.9 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003563/0.66, allocations: 174.8 kB / 450 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/0.6602, allocations: 7.016 kB / 450 MB, free: 3.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004162/0.6607, allocations: 15.31 kB / 450.1 MB, free: 3.031 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/0.6607, allocations: 11.98 kB / 450.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.716e-05/0.6608, allocations: 15.11 kB / 450.1 MB, free: 3.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00116/0.662, allocations: 0.531 MB / 450.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.662, allocations: 0 / 450.6 MB, free: 2.594 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001058/0.6631, allocations: 212.8 kB / 450.8 MB, free: 2.395 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.000764/0.6638, allocations: 326 kB / 451.1 MB, free: 2.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008904/0.6647, allocations: 283.1 kB / 451.4 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6648, allocations: 0 / 451.4 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.6652, allocations: 186.5 kB / 451.6 MB, free: 1.676 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008256/0.6661, allocations: 128.3 kB / 451.7 MB, free: 1.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002996/0.6691, allocations: 1.431 MB / 453.2 MB, free: 216 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/0.6698, allocations: 0.9568 MB / 454.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.67, allocations: 47.44 kB / 454.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.233e-06/0.67, allocations: 3.938 kB / 454.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of Templates: time 0.02876/0.6988, allocations: 13.6 MB / 467.8 MB, free: 1.754 MB / 346.7 MB