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.CauerLowPassAnalog.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.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.958/1.958, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.000355, allocations: 8 kB / 264.5 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09151/0.09189, allocations: 44.49 MB / 309 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3942/0.4862, allocations: 72.94 MB / 381.9 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4865, allocations: 72.05 kB / 382 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02055/0.5071, allocations: 4.701 MB / 386.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5071, allocations: 0 / 386.7 MB, free: 14.17 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.5072, allocations: 9.094 kB / 386.7 MB, free: 14.17 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001174/0.5083, allocations: 0.5389 MB / 387.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.5084, allocations: 9.125 kB / 387.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.5086, allocations: 37.3 kB / 387.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003877/0.509, allocations: 245.6 kB / 387.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.509, allocations: 25.66 kB / 387.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.515e-05/0.5091, allocations: 32.5 kB / 387.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007141/0.5098, allocations: 248.2 kB / 387.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5099, allocations: 0.8906 kB / 387.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.5099, allocations: 9.531 kB / 387.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.5099, allocations: 6.094 kB / 387.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.5105, allocations: 191.3 kB / 388 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.513, allocations: 1.032 MB / 389 MB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.5136, allocations: 330.3 kB / 389.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.5137, allocations: 2.781 kB / 389.4 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.5137, allocations: 38.16 kB / 389.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.286e-06/0.5137, allocations: 0 / 389.4 MB, free: 12.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=25): time 0.002718/0.5165, allocations: 0.7979 MB / 390.2 MB, free: 12.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.5165, allocations: 55.42 kB / 390.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.5168, allocations: 185.2 kB / 390.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.5168, allocations: 32.67 kB / 390.5 MB, free: 12.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.281e-05/0.5169, allocations: 231.2 kB / 390.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.869e-05/0.517, allocations: 91.97 kB / 390.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.5171, allocations: 5.75 kB / 390.8 MB, free: 11.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.192e-05/0.5171, allocations: 321.7 kB / 391.1 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.5174, allocations: 78.38 kB / 391.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.5176, allocations: 101.7 kB / 391.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.5179, allocations: 84.59 kB / 391.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5179, allocations: 1.781 kB / 391.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008214/0.5187, allocations: 322.4 kB / 391.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5188, allocations: 5.625 kB / 391.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.5188, allocations: 3.938 kB / 391.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004109/0.5192, allocations: 90.88 kB / 391.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003343/0.5196, allocations: 43.69 kB / 391.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.5221, allocations: 1.918 MB / 393.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.5224, allocations: 8.984 kB / 393.7 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.5224, allocations: 3.688 kB / 393.8 MB, free: 10.1 MB / 314.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.000223/0.5227, allocations: 143.1 kB / 393.9 MB, free: 9.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5228, allocations: 24.92 kB / 393.9 MB, free: 9.969 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.5229, allocations: 26.42 kB / 393.9 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5229, allocations: 3.969 kB / 393.9 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.5229, allocations: 112 / 393.9 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.5229, allocations: 9.719 kB / 394 MB, free: 9.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.5245, allocations: 0.7484 MB / 394.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5246, allocations: 0 / 394.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.5249, allocations: 41.88 kB / 394.7 MB, free: 9.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003333/0.5253, allocations: 72.2 kB / 394.8 MB, free: 9.613 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.5253, allocations: 17.53 kB / 394.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002152/0.5275, allocations: 1.811 MB / 396.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5275, allocations: 0 / 396.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5285, allocations: 474.5 kB / 397.1 MB, free: 8.066 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.5287, allocations: 90.38 kB / 397.2 MB, free: 7.965 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.5287, allocations: 13.16 kB / 397.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.529, allocations: 17.22 kB / 397.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.799e-05/0.5291, allocations: 17.53 kB / 397.2 MB, free: 7.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.5292, allocations: 10.47 kB / 397.3 MB, free: 7.957 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.5293, allocations: 142.8 kB / 397.4 MB, free: 7.879 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5293, allocations: 0 / 397.4 MB, free: 7.879 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005989/0.5299, allocations: 80 kB / 397.5 MB, free: 7.879 MB / 314.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.0001591/0.5301, allocations: 113.2 kB / 397.6 MB, free: 7.789 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009746/0.5311, allocations: 362.3 kB / 397.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5311, allocations: 0 / 397.9 MB, free: 7.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.5318, allocations: 275.8 kB / 398.2 MB, free: 7.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004709/0.5323, allocations: 35.48 kB / 398.2 MB, free: 7.516 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.5341, allocations: 0.9749 MB / 399.2 MB, free: 6.879 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.5344, allocations: 0.7749 MB / 400 MB, free: 6.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.428e-05/0.5345, allocations: 19.06 kB / 400 MB, free: 6.172 MB / 314.7 MB Notification: Performance of SimCode: time 1.563e-06/0.5345, allocations: 0 / 400 MB, free: 6.172 MB / 314.7 MB Notification: Performance of Templates: time 0.008296/0.5428, allocations: 3.895 MB / 403.9 MB, free: 5.945 MB / 314.7 MB