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.CauerLowPassSC.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.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.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 1.996/1.996, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005902/0.0005905, allocations: 12 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1172, allocations: 44.51 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.01336/0.1306, allocations: 9.39 MB / 317.7 MB, free: 7.605 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006415/0.1371, allocations: 2.759 MB / 320.5 MB, free: 4.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002124/0.1392, allocations: 43.94 kB / 320.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1404, allocations: 301.8 kB / 320.8 MB, free: 4.492 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002987/0.1434, allocations: 0.7478 MB / 321.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.1455, allocations: 479.3 kB / 322.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004356/0.1498, allocations: 1.916 MB / 324 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.1521, allocations: 0.9776 MB / 325 MB, free: 356 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.1538, allocations: 0.9031 MB / 325.9 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.1555, allocations: 1.007 MB / 326.9 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.156, allocations: 148 kB / 327 MB, free: 14.29 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005213/0.1565, allocations: 148 kB / 327.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.157, allocations: 418.4 kB / 327.6 MB, free: 13.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007937/0.1578, allocations: 476.5 kB / 328 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004072/0.1619, allocations: 2.789 MB / 330.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.262e-06/0.162, allocations: 4 kB / 330.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.162, allocations: 0 / 330.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.844e-05/0.162, allocations: 0 / 330.8 MB, free: 10.46 MB / 282.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.006402/0.1685, allocations: 2.452 MB / 333.3 MB, free: 7.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1685, allocations: 8.031 kB / 333.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007387/0.1693, allocations: 256.9 kB / 333.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.1716, allocations: 1.001 MB / 334.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.1718, allocations: 164.4 kB / 334.7 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005484/0.1724, allocations: 227.9 kB / 334.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/0.1784, allocations: 2.312 MB / 337.2 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-05/0.1785, allocations: 4 kB / 337.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.1788, allocations: 88 kB / 337.3 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-05/0.1789, allocations: 60 kB / 337.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005215/0.1841, allocations: 1.695 MB / 339.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01876/0.2029, allocations: 8.815 MB / 347.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005162/0.2081, allocations: 2.104 MB / 350 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.2083, allocations: 25.95 kB / 350 MB, free: 6.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002517/0.2108, allocations: 0.9328 MB / 350.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=207): time 6.727e-06/0.2109, allocations: 0 / 350.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=207): time 0.01789/0.2288, allocations: 5.333 MB / 356.3 MB, free: 208 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.561e-05/0.2289, allocations: 89.38 kB / 356.4 MB, free: 104 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.2307, allocations: 0.965 MB / 357.3 MB, free: 15.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002741/0.231, allocations: 69.7 kB / 357.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008584/0.2319, allocations: 0.8636 MB / 358.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009441/0.2329, allocations: 0.6739 MB / 358.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.233, allocations: 52 kB / 359 MB, free: 13.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002907/0.2334, allocations: 403.8 kB / 359.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00195/0.2353, allocations: 0.6765 MB / 360.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002707/0.238, allocations: 1.368 MB / 361.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002258/0.2403, allocations: 0.7868 MB / 362.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-05/0.2404, allocations: 8 kB / 362.2 MB, free: 9.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.00904/0.2494, allocations: 3.036 MB / 365.3 MB, free: 6.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.382e-05/0.2495, allocations: 12 kB / 365.3 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/0.2496, allocations: 24 kB / 365.3 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005127/0.2547, allocations: 1.185 MB / 366.5 MB, free: 5.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.2562, allocations: 319.4 kB / 366.8 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.236/0.4922, allocations: 22.75 MB / 389.5 MB, free: 44.37 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.4942, allocations: 297.5 kB / 389.8 MB, free: 44.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003074/0.4945, allocations: 99.19 kB / 389.9 MB, free: 44.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.R4.BooleanPulse1.pulsStart,R4.BooleanPulse1.pulsStart,R4.IdealCommutingSwitch1.control,$PRE.R5.BooleanPulse1.pulsStart,R5.BooleanPulse1.pulsStart,R5.IdealCommutingSwitch1.control,$PRE.R8.BooleanPulse1.pulsStart,R8.BooleanPulse1.pulsStart,R8.IdealCommutingSwitch1.control,$PRE.R9.BooleanPulse1.pulsStart,R9.BooleanPulse1.pulsStart,R9.IdealCommutingSwitch1.control,$PRE.R1.BooleanPulse1.pulsStart,R1.BooleanPulse1.pulsStart,R1.IdealCommutingSwitch1.control,$PRE.R2.BooleanPulse1.pulsStart,R2.BooleanPulse1.pulsStart,R2.IdealCommutingSwitch1.control,$PRE.R3.BooleanPulse1.pulsStart,R3.BooleanPulse1.pulsStart,R3.IdealCommutingSwitch1.control,$PRE.Rp1.BooleanPulse1.pulsStart,Rp1.BooleanPulse1.pulsStart,Rp1.IdealCommutingSwitch1.control,$PRE.R7.BooleanPulse1.pulsStart,R7.BooleanPulse1.pulsStart,R7.IdealCommutingSwitch1.control,$PRE.R10.BooleanPulse1.pulsStart,R10.BooleanPulse1.pulsStart,R10.IdealCommutingSwitch1.control,$PRE.R11.BooleanPulse1.pulsStart,R11.BooleanPulse1.pulsStart,R11.IdealCommutingSwitch1.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 187 * 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.001095/0.4956, allocations: 465.8 kB / 390.4 MB, free: 43.95 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/0.496, allocations: 160.9 kB / 390.5 MB, free: 43.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003834/0.4964, allocations: 207.9 kB / 390.7 MB, free: 43.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/0.4964, allocations: 19.38 kB / 390.8 MB, free: 43.7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.377e-05/0.4965, allocations: 17.16 kB / 390.8 MB, free: 43.7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.591e-05/0.4965, allocations: 13.81 kB / 390.8 MB, free: 43.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003261/0.4998, allocations: 1.911 MB / 392.7 MB, free: 42.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-05/0.4999, allocations: 0 / 392.7 MB, free: 42.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009246/0.5008, allocations: 143.9 kB / 392.8 MB, free: 42.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004529/0.5053, allocations: 1.164 MB / 394 MB, free: 42.32 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002682/0.5056, allocations: 41.81 kB / 394 MB, free: 42.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02728/0.5329, allocations: 22.73 MB / 416.8 MB, free: 22.83 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.007e-06/0.533, allocations: 0 / 416.8 MB, free: 22.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009378/0.5424, allocations: 3.524 MB / 420.3 MB, free: 20.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.5434, allocations: 426.6 kB / 420.7 MB, free: 20.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.5438, allocations: 39.98 kB / 420.8 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.5449, allocations: 111.9 kB / 420.9 MB, free: 20.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006086/0.5455, allocations: 217.6 kB / 421.1 MB, free: 20.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/0.5457, allocations: 57.3 kB / 421.1 MB, free: 20.06 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009749/0.5467, allocations: 0.5984 MB / 421.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.09e-07/0.5467, allocations: 0 / 421.7 MB, free: 19.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003446/0.5502, allocations: 0.7834 MB / 422.5 MB, free: 18.67 MB / 314.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.pulsStart,R4.IdealCommutingSwitch1.control,R5.BooleanPulse1.pulsStart,R5.IdealCommutingSwitch1.control,R8.BooleanPulse1.pulsStart,R8.IdealCommutingSwitch1.control,R9.BooleanPulse1.pulsStart,R9.IdealCommutingSwitch1.control,R1.BooleanPulse1.pulsStart,R1.IdealCommutingSwitch1.control,R2.BooleanPulse1.pulsStart,R2.IdealCommutingSwitch1.control,R3.BooleanPulse1.pulsStart,R3.IdealCommutingSwitch1.control,Rp1.BooleanPulse1.pulsStart,Rp1.IdealCommutingSwitch1.control,R7.BooleanPulse1.pulsStart,R7.IdealCommutingSwitch1.control,R10.BooleanPulse1.pulsStart,R10.IdealCommutingSwitch1.control,R11.BooleanPulse1.pulsStart,R11.IdealCommutingSwitch1.control) * 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.0003848/0.5506, allocations: 179 kB / 422.7 MB, free: 18.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00751/0.5581, allocations: 4.013 MB / 426.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.5582, allocations: 0.5625 kB / 426.7 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005249/0.5634, allocations: 3.026 MB / 429.7 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5653, allocations: 317.2 kB / 430 MB, free: 10.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009335/0.5747, allocations: 5.301 MB / 435.3 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/0.5761, allocations: 1.477 MB / 436.8 MB, free: 4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004022/0.5765, allocations: 87.42 kB / 436.9 MB, free: 3.914 MB / 314.7 MB Notification: Performance of SimCode: time 1.644e-06/0.5765, allocations: 3.938 kB / 436.9 MB, free: 3.91 MB / 314.7 MB Notification: Performance of Templates: time 0.3591/0.9357, allocations: 112 MB / 0.5361 GB, free: 115 MB / 394.7 MB