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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.665/1.665, allocations: 171.3 MB / 179.2 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.819e-05/1.83e-05, allocations: 4 kB / 222.5 MB, free: 4.746 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2519, allocations: 38.77 MB / 261.3 MB, free: 12.99 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.409, allocations: 79.79 MB / 341.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.4093, allocations: 75.95 kB / 341.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2904/0.6997, allocations: 32.78 MB / 373.9 MB, free: 81.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.55e-06/0.6998, allocations: 2.906 kB / 373.9 MB, free: 81.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.465e-05/0.6998, allocations: 13.62 kB / 374 MB, free: 81.67 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.001577/0.7014, allocations: 1.034 MB / 375 MB, free: 81.05 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.7015, allocations: 11.53 kB / 375 MB, free: 81.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.7017, allocations: 113.6 kB / 375.1 MB, free: 81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.703, allocations: 0.7463 MB / 375.9 MB, free: 80.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.703, allocations: 11.44 kB / 375.9 MB, free: 80.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.819e-05/0.7031, allocations: 18.8 kB / 375.9 MB, free: 80.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004692/0.7036, allocations: 203.3 kB / 376.1 MB, free: 80.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004715/0.7041, allocations: 261.4 kB / 376.3 MB, free: 80.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.7041, allocations: 0 / 376.3 MB, free: 80.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.562e-05/0.7041, allocations: 3.562 kB / 376.3 MB, free: 80.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.7042, allocations: 11 kB / 376.4 MB, free: 80.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002207/0.7064, allocations: 1.138 MB / 377.5 MB, free: 80.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003569/0.7068, allocations: 187.1 kB / 377.7 MB, free: 80.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.7071, allocations: 213.5 kB / 377.9 MB, free: 80.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.7182, allocations: 10.77 MB / 388.7 MB, free: 70.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.7183, allocations: 33.62 kB / 388.7 MB, free: 70.62 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.424e-06/0.7183, allocations: 3.844 kB / 388.7 MB, free: 70.62 MB / 314.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007876/0.7191, allocations: 324.3 kB / 389 MB, free: 70.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.7192, allocations: 87.67 kB / 389.1 MB, free: 70.43 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.72, allocations: 0.605 MB / 389.7 MB, free: 70.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.7201, allocations: 29.67 kB / 389.7 MB, free: 70.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.7204, allocations: 414.6 kB / 390.1 MB, free: 70.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.701e-05/0.7204, allocations: 72.34 kB / 390.2 MB, free: 70.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.7205, allocations: 0 / 390.2 MB, free: 70.02 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.7205, allocations: 321.2 kB / 390.5 MB, free: 69.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.7207, allocations: 59.27 kB / 390.6 MB, free: 69.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.7209, allocations: 135.7 kB / 390.7 MB, free: 69.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.7211, allocations: 80.78 kB / 390.8 MB, free: 69.6 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.7211, allocations: 0 / 390.8 MB, free: 69.6 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006204/0.7218, allocations: 277.4 kB / 391.1 MB, free: 69.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7218, allocations: 8.594 kB / 391.1 MB, free: 69.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.695e-05/0.7218, allocations: 14.12 kB / 391.1 MB, free: 69.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004263/0.7223, allocations: 140.2 kB / 391.2 MB, free: 69.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.7225, allocations: 31.95 kB / 391.2 MB, free: 69.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006793/0.7232, allocations: 0.7232 MB / 392 MB, free: 69.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.7237, allocations: 31.22 kB / 392 MB, free: 69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.951e-05/0.7238, allocations: 12.88 kB / 392 MB, free: 69 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: J1.Dinternal:VARIABLE(unit = "V" ) type: Real 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 () * 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.0001355/0.7239, allocations: 110.5 kB / 392.1 MB, free: 68.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.7241, allocations: 101.5 kB / 392.2 MB, free: 68.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.7252, allocations: 401 kB / 392.6 MB, free: 68.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.246e-06/0.7252, allocations: 0 / 392.6 MB, free: 68.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.575e-06/0.7252, allocations: 0 / 392.6 MB, free: 68.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.119e-06/0.7252, allocations: 3.594 kB / 392.6 MB, free: 68.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.726, allocations: 471 kB / 393.1 MB, free: 68.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/0.726, allocations: 14.3 kB / 393.1 MB, free: 68.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.7262, allocations: 23.45 kB / 393.1 MB, free: 68.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003621/0.7266, allocations: 130.9 kB / 393.2 MB, free: 68.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.7266, allocations: 3.656 kB / 393.2 MB, free: 68.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000677/0.7273, allocations: 0.7225 MB / 394 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7273, allocations: 3.953 kB / 394 MB, free: 68.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.7281, allocations: 447.1 kB / 394.4 MB, free: 67.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.7283, allocations: 173.1 kB / 394.6 MB, free: 67.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.7285, allocations: 0 / 394.6 MB, free: 67.72 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.7288, allocations: 6.969 kB / 394.6 MB, free: 67.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.7289, allocations: 17.81 kB / 394.6 MB, free: 67.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.729, allocations: 6.969 kB / 394.6 MB, free: 67.72 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006764/0.7297, allocations: 477.2 kB / 395.1 MB, free: 67.61 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.7297, allocations: 8.562 kB / 395.1 MB, free: 67.61 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007977/0.7305, allocations: 202.3 kB / 395.3 MB, free: 67.58 MB / 314.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 () * 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.0005575/0.7311, allocations: 330 kB / 395.6 MB, free: 67.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.7316, allocations: 247.3 kB / 395.8 MB, free: 67.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.42e-06/0.7317, allocations: 0 / 395.8 MB, free: 67.41 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.732, allocations: 172.5 kB / 396 MB, free: 67.34 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.7326, allocations: 114.3 kB / 396.1 MB, free: 67.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.7344, allocations: 0.8552 MB / 397 MB, free: 67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.7348, allocations: 0.9624 MB / 397.9 MB, free: 66.29 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.7349, allocations: 44.12 kB / 398 MB, free: 66.29 MB / 314.7 MB Notification: Performance of SimCode: time 1.749e-06/0.7349, allocations: 0 / 398 MB, free: 66.29 MB / 314.7 MB Notification: Performance of Templates: time 0.0191/0.754, allocations: 13.52 MB / 411.5 MB, free: 60.64 MB / 314.7 MB