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.Analog.Examples.CauerLowPassSC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassSC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C7.v|R1.Capacitor1.v|R10.Capacitor1.v|R11.Capacitor1.v|R2.Capacitor1.v|R3.Capacitor1.v|R4.Capacitor1.v|R5.Capacitor1.v|R7.Capacitor1.v|R8.Capacitor1.v|R9.Capacitor1.v|Rp1.Capacitor1.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 1.554/1.554, allocations: 171.2 MB / 184.2 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.461e-05, allocations: 4 kB / 228.8 MB, free: 15.33 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2021, allocations: 38.77 MB / 267.6 MB, free: 9.441 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1037/0.3058, allocations: 71.04 MB / 338.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.3061, allocations: 67.97 kB / 338.7 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2986/0.6047, allocations: 33 MB / 371.7 MB, free: 69.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.816e-06/0.6048, allocations: 0 / 371.7 MB, free: 69.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.236e-05/0.6049, allocations: 50.27 kB / 371.7 MB, free: 69.73 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.005136/0.61, allocations: 2.272 MB / 374 MB, free: 68.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6101, allocations: 11.56 kB / 374 MB, free: 68.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.6106, allocations: 252.1 kB / 374.3 MB, free: 68.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.6122, allocations: 0.9524 MB / 375.2 MB, free: 67.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.6123, allocations: 165.8 kB / 375.4 MB, free: 67.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003921/0.6127, allocations: 227.7 kB / 375.6 MB, free: 67.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004526/0.6173, allocations: 2.256 MB / 377.9 MB, free: 65.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-05/0.6174, allocations: 3.938 kB / 377.9 MB, free: 65.87 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002507/0.6176, allocations: 91.52 kB / 378 MB, free: 65.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.226e-05/0.6177, allocations: 63.88 kB / 378 MB, free: 65.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/0.6213, allocations: 1.643 MB / 379.7 MB, free: 64.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01258/0.6339, allocations: 8.683 MB / 388.3 MB, free: 55.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.6375, allocations: 2.051 MB / 390.4 MB, free: 53.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.6393, allocations: 1.02 MB / 391.4 MB, free: 52.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.6394, allocations: 18 kB / 391.4 MB, free: 52.24 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001658/0.6411, allocations: 0.8822 MB / 392.3 MB, free: 51.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=207): time 6.999e-06/0.6411, allocations: 0 / 392.3 MB, free: 51.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=207): time 0.005576/0.6467, allocations: 2.397 MB / 394.7 MB, free: 48.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/0.6468, allocations: 81.41 kB / 394.8 MB, free: 48.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.648, allocations: 0.8316 MB / 395.6 MB, free: 47.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.6482, allocations: 65.64 kB / 395.7 MB, free: 47.9 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004647/0.6487, allocations: 0.8131 MB / 396.5 MB, free: 47.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/0.6492, allocations: 0.6661 MB / 397.2 MB, free: 46.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.6493, allocations: 44 kB / 397.2 MB, free: 46.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6495, allocations: 403.4 kB / 397.6 MB, free: 45.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001335/0.6508, allocations: 0.6178 MB / 398.2 MB, free: 45.36 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.6524, allocations: 1.16 MB / 399.4 MB, free: 43.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.6539, allocations: 0.7241 MB / 400.1 MB, free: 43.24 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/0.6539, allocations: 8 kB / 400.1 MB, free: 43.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.006097/0.66, allocations: 2.804 MB / 402.9 MB, free: 40.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.6601, allocations: 12.78 kB / 402.9 MB, free: 40.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.298e-05/0.6601, allocations: 16 kB / 402.9 MB, free: 40.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004365/0.6645, allocations: 1.166 MB / 404.1 MB, free: 39.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.6657, allocations: 279.5 kB / 404.4 MB, free: 38.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02323/0.6889, allocations: 22.26 MB / 426.6 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/0.6909, allocations: 261.9 kB / 426.9 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/0.6911, allocations: 88 kB / 427 MB, free: 14.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 165 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004119/0.6915, allocations: 258.2 kB / 427.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.6918, allocations: 166 kB / 427.4 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003909/0.6922, allocations: 204.3 kB / 427.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/0.6922, allocations: 23.98 kB / 427.6 MB, free: 14.03 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-05/0.6923, allocations: 16 kB / 427.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.6923, allocations: 7.969 kB / 427.6 MB, free: 14.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/0.695, allocations: 1.896 MB / 429.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.6951, allocations: 0 / 429.5 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008758/0.6959, allocations: 135.8 kB / 429.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004083/0.7001, allocations: 1.146 MB / 430.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.7002, allocations: 39.98 kB / 430.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02746/0.7277, allocations: 22.24 MB / 453.1 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.722e-06/0.7277, allocations: 288 / 453.1 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008586/0.7363, allocations: 3.415 MB / 456.5 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/0.7374, allocations: 434.7 kB / 456.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002837/0.7377, allocations: 36 kB / 457 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.7389, allocations: 119.9 kB / 457.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006061/0.7395, allocations: 201.7 kB / 457.3 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001543/0.7397, allocations: 51.98 kB / 457.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001141/0.7408, allocations: 0.6073 MB / 458 MB, free: 13.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.21e-07/0.7408, allocations: 3.938 kB / 458 MB, free: 13.97 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002755/0.7436, allocations: 0.7679 MB / 458.7 MB, free: 13.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (C1.v,C2.v,C3.v,C4.v,C7.v,R4.Capacitor1.v,R5.Capacitor1.v,R8.Capacitor1.v,R9.Capacitor1.v,R1.Capacitor1.v,R2.Capacitor1.v,R3.Capacitor1.v,Rp1.Capacitor1.v,R7.Capacitor1.v,R10.Capacitor1.v,R11.Capacitor1.v) * Number of discrete variables: 33 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,R4.BooleanPulse1.y,R4.BooleanPulse1.pulsStart,R5.BooleanPulse1.y,R5.BooleanPulse1.pulsStart,R8.BooleanPulse1.y,R8.BooleanPulse1.pulsStart,R9.BooleanPulse1.y,R9.BooleanPulse1.pulsStart,R1.BooleanPulse1.y,R1.BooleanPulse1.pulsStart,R2.BooleanPulse1.y,R2.BooleanPulse1.pulsStart,R3.BooleanPulse1.y,R3.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.y,Rp1.BooleanPulse1.pulsStart,R7.BooleanPulse1.y,R7.BooleanPulse1.pulsStart,R10.BooleanPulse1.y,R10.BooleanPulse1.pulsStart,R11.BooleanPulse1.y,R11.BooleanPulse1.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 9,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7,(4,62.5%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003368/0.744, allocations: 165 kB / 458.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007459/0.7514, allocations: 3.818 MB / 462.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.717e-06/0.7515, allocations: 0.5625 kB / 462.7 MB, free: 9.062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00571/0.7572, allocations: 2.941 MB / 465.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/0.7593, allocations: 344.3 kB / 466 MB, free: 5.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.7674, allocations: 3.637 MB / 469.6 MB, free: 1.953 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/0.7691, allocations: 1.477 MB / 471.1 MB, free: 448 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.7695, allocations: 79.44 kB / 471.2 MB, free: 368 kB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.7695, allocations: 4 kB / 471.2 MB, free: 364 kB / 330.7 MB Notification: Performance of Templates: time 0.3356/1.105, allocations: 112.2 MB / 0.5697 GB, free: 18.52 MB / 346.7 MB