Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.748/1.748, allocations: 171.1 MB / 187.3 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 11.98 kB / 233.8 MB, free: 0.9688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.07986, allocations: 38.77 MB / 272.5 MB, free: 10.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3958/0.4757, allocations: 71.11 MB / 343.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.4761, allocations: 71.97 kB / 343.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.173/0.6492, allocations: 32.93 MB / 376.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.956e-06/0.6492, allocations: 0 / 376.7 MB, free: 10.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002159/0.6495, allocations: 44 kB / 376.7 MB, free: 10.84 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: 559 * Number of variables: 559 Notification: Performance of Generate backend data structure: time 0.01429/0.6638, allocations: 2.456 MB / 379.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.742e-05/0.6639, allocations: 8.031 kB / 379.2 MB, free: 8.289 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.6664, allocations: 249 kB / 379.4 MB, free: 8.043 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005904/0.6724, allocations: 0.9464 MB / 380.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007276/0.6732, allocations: 164.4 kB / 380.5 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/0.675, allocations: 227.8 kB / 380.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.687, allocations: 2.32 MB / 383.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.6872, allocations: 7.938 kB / 383.1 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007712/0.688, allocations: 92 kB / 383.2 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.6881, allocations: 56 kB / 383.2 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009795/0.6979, allocations: 1.707 MB / 384.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.7279, allocations: 8.688 MB / 393.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006473/0.7344, allocations: 2.083 MB / 395.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.7348, allocations: 22 kB / 395.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003258/0.738, allocations: 0.9134 MB / 396.6 MB, free: 6.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=207): time 6.402e-06/0.7381, allocations: 0 / 396.6 MB, free: 6.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=207): time 0.02539/0.7635, allocations: 5.356 MB / 402 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.7636, allocations: 85.41 kB / 402.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.7657, allocations: 0.9612 MB / 403 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004092/0.7662, allocations: 65.7 kB / 403.1 MB, free: 15.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008819/0.7671, allocations: 0.8099 MB / 403.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.7682, allocations: 0.6663 MB / 404.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.7684, allocations: 44 kB / 404.6 MB, free: 14.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002541/0.7686, allocations: 403.4 kB / 405 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002243/0.7709, allocations: 0.6371 MB / 405.6 MB, free: 13.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/0.7737, allocations: 1.198 MB / 406.8 MB, free: 11.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.7764, allocations: 0.7322 MB / 407.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-05/0.7765, allocations: 12 kB / 407.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.01109/0.7876, allocations: 2.86 MB / 410.4 MB, free: 7.949 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.7877, allocations: 15.98 kB / 410.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/0.7877, allocations: 16 kB / 410.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00649/0.7942, allocations: 1.186 MB / 411.7 MB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.7962, allocations: 275.6 kB / 411.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3742/1.17, allocations: 22.71 MB / 434.6 MB, free: 78.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/1.174, allocations: 274.5 kB / 434.9 MB, free: 78.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005041/1.175, allocations: 88.09 kB / 435 MB, free: 78.77 MB / 346.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 () * Number of clocked 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.002479/1.177, allocations: 455.5 kB / 435.4 MB, free: 78.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008716/1.178, allocations: 164.8 kB / 435.6 MB, free: 78.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001027/1.179, allocations: 200.6 kB / 435.8 MB, free: 78.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/1.179, allocations: 21.06 kB / 435.8 MB, free: 78.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001186/1.18, allocations: 17.55 kB / 435.8 MB, free: 78.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-05/1.18, allocations: 10.47 kB / 435.8 MB, free: 78.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/1.186, allocations: 1.899 MB / 437.7 MB, free: 78.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.585e-05/1.186, allocations: 0 / 437.7 MB, free: 78.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/1.188, allocations: 136.1 kB / 437.9 MB, free: 78.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009524/1.198, allocations: 1.162 MB / 439 MB, free: 78.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005189/1.198, allocations: 39.84 kB / 439.1 MB, free: 78.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0528/1.251, allocations: 22.74 MB / 461.8 MB, free: 59.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.251, allocations: 10.56 kB / 461.8 MB, free: 59.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/1.266, allocations: 3.476 MB / 465.3 MB, free: 58.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001753/1.268, allocations: 429.6 kB / 465.7 MB, free: 58.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006866/1.268, allocations: 37.53 kB / 465.7 MB, free: 58.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00285/1.271, allocations: 117.6 kB / 465.9 MB, free: 57.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/1.272, allocations: 207.3 kB / 466.1 MB, free: 57.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002702/1.273, allocations: 50.48 kB / 466.1 MB, free: 57.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001842/1.275, allocations: 0.6277 MB / 466.7 MB, free: 57.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.513e-06/1.275, allocations: 0 / 466.7 MB, free: 57.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006058/1.281, allocations: 0.7632 MB / 467.5 MB, free: 57.53 MB / 346.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 () * Number of clocked 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.0008496/1.282, allocations: 162.8 kB / 467.7 MB, free: 57.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01395/1.296, allocations: 3.923 MB / 471.6 MB, free: 54.99 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-05/1.296, allocations: 0.5625 kB / 471.6 MB, free: 54.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0103/1.306, allocations: 3.015 MB / 474.6 MB, free: 52.89 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/1.31, allocations: 348.5 kB / 474.9 MB, free: 52.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.326, allocations: 5.279 MB / 480.2 MB, free: 49.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/1.328, allocations: 1.485 MB / 481.7 MB, free: 48.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/1.329, allocations: 78.44 kB / 481.8 MB, free: 48.85 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/1.329, allocations: 3.938 kB / 481.8 MB, free: 48.84 MB / 346.7 MB Notification: Performance of Templates: time 0.384/1.713, allocations: 112.2 MB / 0.5801 GB, free: 92.6 MB / 362.7 MB