Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.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.Analog.Examples.OpAmps.HighPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.HighPass") Notification: Performance of loadModel(Modelica): time 2.234/2.234, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 8 kB / 264.5 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0971/0.0975, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6016, allocations: 74.69 MB / 383.7 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/0.602, allocations: 88.75 kB / 383.8 MB, free: 14.92 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02783/0.6299, allocations: 5.551 MB / 389.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.6299, allocations: 0 / 389.3 MB, free: 14.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.63, allocations: 3.969 kB / 389.3 MB, free: 14.25 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001343/0.6313, allocations: 0.6032 MB / 389.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.6314, allocations: 7.781 kB / 389.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.601e-05/0.6315, allocations: 35.19 kB / 390 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.6319, allocations: 270.6 kB / 390.2 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.6319, allocations: 21.97 kB / 390.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.632, allocations: 22.53 kB / 390.3 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008132/0.6328, allocations: 244 kB / 390.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6328, allocations: 0 / 390.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.6329, allocations: 13.5 kB / 390.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.6329, allocations: 4.562 kB / 390.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.6339, allocations: 246.8 kB / 390.8 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.6361, allocations: 0.9338 MB / 391.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008889/0.637, allocations: 215.8 kB / 391.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.202e-05/0.6371, allocations: 5.125 kB / 391.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006049/0.6377, allocations: 179.2 kB / 392.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/0.6377, allocations: 0 / 392.1 MB, free: 12.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.003009/0.6407, allocations: 0.572 MB / 392.7 MB, free: 12.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.6408, allocations: 110.1 kB / 392.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003984/0.6412, allocations: 265.8 kB / 393 MB, free: 12.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.772e-05/0.6413, allocations: 33.23 kB / 393.1 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.6414, allocations: 230.2 kB / 393.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.6415, allocations: 47.78 kB / 393.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.6415, allocations: 11.62 kB / 393.3 MB, free: 12.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.6416, allocations: 316.6 kB / 393.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.6421, allocations: 94.27 kB / 393.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004886/0.6426, allocations: 166.9 kB / 393.9 MB, free: 11.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.6431, allocations: 128.6 kB / 394 MB, free: 11.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6431, allocations: 0 / 394 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001629/0.6447, allocations: 401 kB / 394.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.279e-05/0.6448, allocations: 36.31 kB / 394.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.6448, allocations: 4.875 kB / 394.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.6456, allocations: 95.8 kB / 394.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004141/0.646, allocations: 56.95 kB / 394.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003321/0.6494, allocations: 1.78 MB / 396.4 MB, free: 10.25 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.65, allocations: 53.44 kB / 396.4 MB, free: 10.24 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.103e-05/0.65, allocations: 10.8 kB / 396.5 MB, free: 10.24 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.6503, allocations: 134.8 kB / 396.6 MB, free: 10.13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.6503, allocations: 23.38 kB / 396.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/0.6504, allocations: 23.19 kB / 396.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6504, allocations: 3.969 kB / 396.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6504, allocations: 3.938 kB / 396.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.6504, allocations: 7.953 kB / 396.6 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.6508, allocations: 303.1 kB / 396.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6508, allocations: 3.938 kB / 396.9 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.6511, allocations: 36.86 kB / 397 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006832/0.6518, allocations: 94.89 kB / 397.1 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.6519, allocations: 6.625 kB / 397.1 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002869/0.6547, allocations: 1.656 MB / 398.7 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.6548, allocations: 3.875 kB / 398.7 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.6569, allocations: 455.2 kB / 399.2 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.6571, allocations: 107.3 kB / 399.3 MB, free: 8.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.6572, allocations: 10.67 kB / 399.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.6576, allocations: 32.23 kB / 399.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.6578, allocations: 24.31 kB / 399.4 MB, free: 8.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.6578, allocations: 11.05 kB / 399.4 MB, free: 8.344 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002696/0.6581, allocations: 187.8 kB / 399.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6581, allocations: 0 / 399.6 MB, free: 8.266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005433/0.6586, allocations: 80.47 kB / 399.6 MB, free: 8.258 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001974/0.6589, allocations: 109.4 kB / 399.7 MB, free: 8.168 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.6602, allocations: 408.7 kB / 400.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6602, allocations: 0 / 400.1 MB, free: 7.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.6609, allocations: 238.4 kB / 400.4 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.6613, allocations: 36.31 kB / 400.4 MB, free: 7.855 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.6627, allocations: 0.6395 MB / 401 MB, free: 7.449 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.6629, allocations: 0.7634 MB / 401.8 MB, free: 6.746 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.6631, allocations: 19 kB / 401.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/0.6631, allocations: 0 / 401.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of Templates: time 0.00841/0.6715, allocations: 4.177 MB / 406 MB, free: 6.422 MB / 314.7 MB