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.CauerLowPassAnalog.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.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadModel(Modelica): time 1.887/1.887, allocations: 194.8 MB / 211.6 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003642/0.0003641, allocations: 15.98 kB / 263.9 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08716, allocations: 44.5 MB / 308.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.005938/0.09316, allocations: 2.266 MB / 310.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.09556, allocations: 0.6401 MB / 311.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002796/0.09587, allocations: 4 kB / 311.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.09606, allocations: 35.69 kB / 311.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004952/0.09658, allocations: 111.7 kB / 311.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.09695, allocations: 51.95 kB / 311.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006842/0.09766, allocations: 247.8 kB / 311.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004341/0.09812, allocations: 94.44 kB / 311.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.09843, allocations: 107.6 kB / 311.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.09884, allocations: 127.4 kB / 312 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-05/0.09895, allocations: 16 kB / 312 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.455e-05/0.09907, allocations: 19.94 kB / 312.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.0992, allocations: 51.77 kB / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.0994, allocations: 81.58 kB / 312.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.1, allocations: 259.5 kB / 312.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.619e-06/0.1001, allocations: 0 / 312.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.1001, allocations: 0 / 312.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.1001, allocations: 0 / 312.4 MB, free: 12.91 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001696/0.1018, allocations: 0.5457 MB / 313 MB, free: 12.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.1019, allocations: 8.031 kB / 313 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.1021, allocations: 35.62 kB / 313 MB, free: 12.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006483/0.1028, allocations: 250.5 kB / 313.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.852e-05/0.1029, allocations: 20.56 kB / 313.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.103, allocations: 35.89 kB / 313.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.1042, allocations: 244.9 kB / 313.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.1042, allocations: 0 / 313.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/0.1043, allocations: 19.98 kB / 313.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.1044, allocations: 4 kB / 313.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009877/0.1054, allocations: 194.1 kB / 313.8 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.1092, allocations: 1.014 MB / 314.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009754/0.1102, allocations: 337.4 kB / 315.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1103, allocations: 192 / 315.1 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/0.1104, allocations: 34.75 kB / 315.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 3.927e-06/0.1104, allocations: 3.938 kB / 315.2 MB, free: 9.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=25): time 0.003543/0.1139, allocations: 0.7798 MB / 315.9 MB, free: 9.129 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.1141, allocations: 59.39 kB / 316 MB, free: 9.059 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.1146, allocations: 191.3 kB / 316.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.679e-05/0.1146, allocations: 29.7 kB / 316.2 MB, free: 8.824 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.1149, allocations: 234.6 kB / 316.4 MB, free: 8.594 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.1151, allocations: 82.75 kB / 316.5 MB, free: 8.512 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.1152, allocations: 8 kB / 316.5 MB, free: 8.504 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002584/0.1154, allocations: 318.8 kB / 316.8 MB, free: 8.184 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003945/0.1159, allocations: 80.53 kB / 316.9 MB, free: 8.105 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004414/0.1163, allocations: 102.7 kB / 317 MB, free: 8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.1168, allocations: 84 kB / 317.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.1168, allocations: 0 / 317.1 MB, free: 7.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001491/0.1183, allocations: 322 kB / 317.4 MB, free: 7.594 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.207e-05/0.1184, allocations: 4 kB / 317.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.1184, allocations: 0 / 317.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006219/0.1191, allocations: 92.78 kB / 317.5 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.1196, allocations: 47.91 kB / 317.6 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005145/0.1247, allocations: 1.917 MB / 319.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003447/0.1251, allocations: 8.031 kB / 319.5 MB, free: 5.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.492e-05/0.1252, allocations: 7.984 kB / 319.5 MB, free: 5.383 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * 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: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003639/0.1256, allocations: 145.8 kB / 319.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.1258, allocations: 27.72 kB / 319.7 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.1259, allocations: 25.88 kB / 319.7 MB, free: 5.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.1259, allocations: 7.984 kB / 319.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.1259, allocations: 0 / 319.7 MB, free: 5.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.126, allocations: 3.984 kB / 319.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.1289, allocations: 0.7528 MB / 320.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.108e-06/0.129, allocations: 0 / 320.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.1294, allocations: 44.03 kB / 320.5 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005085/0.13, allocations: 72.73 kB / 320.6 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.509e-05/0.1301, allocations: 8.375 kB / 320.6 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004564/0.1346, allocations: 1.811 MB / 322.4 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.169e-06/0.1347, allocations: 0 / 322.4 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.1365, allocations: 467.9 kB / 322.8 MB, free: 1.809 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.1368, allocations: 100.9 kB / 322.9 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.1369, allocations: 4 kB / 322.9 MB, free: 1.688 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.1373, allocations: 16 kB / 323 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.1375, allocations: 19.97 kB / 323 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.079e-05/0.1376, allocations: 4 kB / 323 MB, free: 1.648 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003284/0.1379, allocations: 147.4 kB / 323.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.128e-06/0.1379, allocations: 0 / 323.1 MB, free: 1.504 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.001285/0.1392, allocations: 80 kB / 323.2 MB, free: 1.426 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002718/0.1395, allocations: 111.2 kB / 323.3 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.1411, allocations: 366.4 kB / 323.7 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.755e-06/0.1412, allocations: 0 / 323.7 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.1423, allocations: 267 kB / 323.9 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.143, allocations: 31.98 kB / 324 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.1463, allocations: 0.9811 MB / 324.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007893/0.1471, allocations: 0.7753 MB / 325.7 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.1473, allocations: 16 kB / 325.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of SimCode: time 9.717e-06/0.1473, allocations: 4 kB / 325.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of Templates: time 0.01395/0.1613, allocations: 3.874 MB / 329.6 MB, free: 10.92 MB / 282.7 MB