Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.963/1.963, allocations: 194.8 MB / 211.6 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005886/0.0005888, allocations: 8 kB / 263.9 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1207, allocations: 44.52 MB / 308.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.HighPass): time 0.005696/0.1265, allocations: 2.278 MB / 310.6 MB, free: 14.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.128, allocations: 0.6869 MB / 311.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001752/0.1282, allocations: 4 kB / 311.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.65e-05/0.1283, allocations: 35.75 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000303/0.1286, allocations: 103.7 kB / 311.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.1289, allocations: 59.86 kB / 311.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.1293, allocations: 243.4 kB / 311.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.1295, allocations: 65.27 kB / 311.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.1298, allocations: 123.5 kB / 312 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002281/0.13, allocations: 135.4 kB / 312.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.328e-05/0.1301, allocations: 16 kB / 312.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.029e-05/0.1302, allocations: 16 kB / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.028e-05/0.1302, allocations: 51.81 kB / 312.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.1304, allocations: 77.5 kB / 312.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003574/0.1307, allocations: 251.6 kB / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.84e-06/0.1308, allocations: 0 / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1308, allocations: 0 / 312.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.131e-06/0.1308, allocations: 0 / 312.5 MB, free: 12.87 MB / 266.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.001305/0.1321, allocations: 0.595 MB / 313.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.1322, allocations: 12.03 kB / 313.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.1323, allocations: 31.62 kB / 313.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.1327, allocations: 270.5 kB / 313.4 MB, free: 11.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.1328, allocations: 16.44 kB / 313.4 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.1329, allocations: 24 kB / 313.4 MB, free: 11.83 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007474/0.1336, allocations: 255.2 kB / 313.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1337, allocations: 0 / 313.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.1337, allocations: 11.94 kB / 313.7 MB, free: 11.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1338, allocations: 8 kB / 313.7 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.1346, allocations: 241.6 kB / 313.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002163/0.1368, allocations: 0.9088 MB / 314.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.1375, allocations: 214.3 kB / 315.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.837e-05/0.1376, allocations: 8 kB / 315.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.1381, allocations: 173.9 kB / 315.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 3.062e-06/0.1381, allocations: 0 / 315.2 MB, free: 9.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.002201/0.1403, allocations: 0.5614 MB / 315.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/0.1405, allocations: 106.8 kB / 315.9 MB, free: 9.199 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003899/0.1409, allocations: 266.6 kB / 316.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.1409, allocations: 33.7 kB / 316.2 MB, free: 8.895 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1411, allocations: 230.3 kB / 316.4 MB, free: 8.664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.1412, allocations: 51.3 kB / 316.5 MB, free: 8.613 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.1412, allocations: 4 kB / 316.5 MB, free: 8.609 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.1414, allocations: 326.8 kB / 316.8 MB, free: 8.281 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.1418, allocations: 91.94 kB / 316.9 MB, free: 8.191 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004142/0.1422, allocations: 159.7 kB / 317 MB, free: 8.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003909/0.1426, allocations: 129.7 kB / 317.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.91e-06/0.1426, allocations: 0 / 317.2 MB, free: 7.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001329/0.144, allocations: 410.8 kB / 317.6 MB, free: 7.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.144, allocations: 37.7 kB / 317.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1441, allocations: 0 / 317.6 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005599/0.1446, allocations: 96.75 kB / 317.7 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.145, allocations: 55.97 kB / 317.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003231/0.1482, allocations: 1.773 MB / 319.5 MB, free: 5.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.1487, allocations: 47.77 kB / 319.6 MB, free: 5.297 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.1487, allocations: 11.98 kB / 319.6 MB, free: 5.285 MB / 266.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.0002164/0.1489, allocations: 141.8 kB / 319.7 MB, free: 5.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.149, allocations: 23.72 kB / 319.7 MB, free: 5.113 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.1491, allocations: 29.83 kB / 319.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1491, allocations: 0 / 319.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.984e-06/0.1491, allocations: 0 / 319.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.602e-06/0.1491, allocations: 0 / 319.8 MB, free: 5.09 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.1495, allocations: 313.3 kB / 320.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-06/0.1496, allocations: 0 / 320.1 MB, free: 4.734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.1499, allocations: 36.16 kB / 320.1 MB, free: 4.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004888/0.1504, allocations: 96.78 kB / 320.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.1504, allocations: 0 / 320.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.1532, allocations: 1.673 MB / 321.9 MB, free: 2.789 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.521e-06/0.1533, allocations: 3.938 kB / 321.9 MB, free: 2.785 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001534/0.1548, allocations: 453.8 kB / 322.3 MB, free: 2.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1549, allocations: 108.8 kB / 322.4 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.575e-05/0.155, allocations: 7.953 kB / 322.4 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.1553, allocations: 31.97 kB / 322.5 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.526e-05/0.1554, allocations: 19.97 kB / 322.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.1554, allocations: 4 kB / 322.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.1557, allocations: 190 kB / 322.7 MB, free: 1.949 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.1557, allocations: 4 kB / 322.7 MB, free: 1.945 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005379/0.1563, allocations: 79.84 kB / 322.8 MB, free: 1.867 MB / 266.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.0001565/0.1565, allocations: 103.2 kB / 322.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1575, allocations: 401.8 kB / 323.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.37e-06/0.1576, allocations: 384 / 323.3 MB, free: 1.34 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005305/0.1581, allocations: 234.5 kB / 323.5 MB, free: 1.098 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1585, allocations: 40.53 kB / 323.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.1598, allocations: 0.6407 MB / 324.2 MB, free: 388 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.1603, allocations: 0.7562 MB / 324.9 MB, free: 15.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.182e-05/0.1604, allocations: 23.44 kB / 324.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1604, allocations: 0 / 324.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of Templates: time 0.008322/0.1687, allocations: 4.176 MB / 329.1 MB, free: 11.39 MB / 282.7 MB