Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassSC.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.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_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.0005441, allocations: 16 kB / 264.6 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1086, allocations: 44.5 MB / 309.1 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.01467/0.1233, allocations: 9.382 MB / 318.4 MB, free: 6.953 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.1304, allocations: 2.767 MB / 321.2 MB, free: 4.172 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.1322, allocations: 47.94 kB / 321.3 MB, free: 4.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009208/0.1332, allocations: 305.7 kB / 321.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00287/0.1361, allocations: 0.7439 MB / 322.3 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1381, allocations: 475.4 kB / 322.8 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004729/0.1428, allocations: 1.92 MB / 324.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.1453, allocations: 0.9776 MB / 325.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/0.1472, allocations: 0.8915 MB / 326.6 MB, free: 14.79 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.1493, allocations: 1.019 MB / 327.6 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005633/0.1499, allocations: 148 kB / 327.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006533/0.1506, allocations: 148 kB / 327.9 MB, free: 13.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005125/0.1511, allocations: 422.4 kB / 328.3 MB, free: 13.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007126/0.1518, allocations: 480.4 kB / 328.7 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004054/0.1559, allocations: 2.777 MB / 331.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1559, allocations: 0 / 331.5 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1559, allocations: 4 kB / 331.5 MB, free: 9.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.995e-05/0.156, allocations: 0 / 331.5 MB, free: 9.797 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.008421/0.1644, allocations: 2.455 MB / 334 MB, free: 7.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1645, allocations: 12.03 kB / 334 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007119/0.1652, allocations: 253 kB / 334.2 MB, free: 6.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.1677, allocations: 0.9975 MB / 335.2 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.1679, allocations: 168.4 kB / 335.4 MB, free: 5.785 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005505/0.1685, allocations: 223.9 kB / 335.6 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006641/0.1751, allocations: 2.296 MB / 337.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.403e-05/0.1752, allocations: 3.938 kB / 337.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000306/0.1755, allocations: 96 kB / 338 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.908e-05/0.1756, allocations: 52 kB / 338.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005711/0.1813, allocations: 1.695 MB / 339.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.2031, allocations: 8.807 MB / 348.6 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005781/0.2089, allocations: 2.108 MB / 350.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/0.2092, allocations: 25.95 kB / 350.7 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002676/0.2118, allocations: 0.9288 MB / 351.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=207): time 5.04e-06/0.2119, allocations: 0 / 351.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=207): time 0.02395/0.2358, allocations: 5.34 MB / 357 MB, free: 15.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.092e-05/0.236, allocations: 77.41 kB / 357 MB, free: 15.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/0.2379, allocations: 0.961 MB / 358 MB, free: 14.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003691/0.2383, allocations: 61.7 kB / 358.1 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009301/0.2392, allocations: 0.8651 MB / 358.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.2402, allocations: 0.6778 MB / 359.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.2405, allocations: 52 kB / 359.7 MB, free: 12.81 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.2407, allocations: 399 kB / 360 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002293/0.243, allocations: 0.6765 MB / 360.7 MB, free: 11.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003053/0.2461, allocations: 1.356 MB / 362.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.2488, allocations: 0.7868 MB / 362.9 MB, free: 9.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.648e-05/0.2488, allocations: 8 kB / 362.9 MB, free: 9.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.01079/0.2596, allocations: 3.086 MB / 366 MB, free: 6.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.292e-05/0.2597, allocations: 16 kB / 366 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.89e-05/0.2598, allocations: 20 kB / 366 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/0.266, allocations: 1.189 MB / 367.2 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/0.268, allocations: 323.4 kB / 367.5 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2827/0.5508, allocations: 22.75 MB / 390.3 MB, free: 44.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/0.5543, allocations: 291.4 kB / 390.5 MB, free: 43.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003894/0.5547, allocations: 104.7 kB / 390.6 MB, free: 43.96 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.001682/0.5564, allocations: 464.8 kB / 391.1 MB, free: 43.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/0.5571, allocations: 167.7 kB / 391.3 MB, free: 43.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.5578, allocations: 201.9 kB / 391.5 MB, free: 43.4 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.122e-05/0.5579, allocations: 9.891 kB / 391.5 MB, free: 43.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.5579, allocations: 4.938 kB / 391.5 MB, free: 43.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.5592, allocations: 432.2 kB / 391.9 MB, free: 43.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005732/0.5598, allocations: 40.3 kB / 391.9 MB, free: 43.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002384/0.5622, allocations: 114.2 kB / 392 MB, free: 43.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000958/0.5632, allocations: 233.3 kB / 392.3 MB, free: 43.01 MB / 314.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01748/0.5807, allocations: 2.915 MB / 395.2 MB, free: 41.91 MB / 314.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009484/0.5903, allocations: 2.781 MB / 398 MB, free: 40.61 MB / 314.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002938/0.5933, allocations: 0.7247 MB / 398.7 MB, free: 40.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001533/0.5948, allocations: 0.6025 MB / 399.3 MB, free: 40.04 MB / 314.7 MB Notification: Performance of Backend: time 1.012e-06/0.5949, allocations: 0 / 399.3 MB, free: 40.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.01022/0.6051, allocations: 3.469 MB / 402.8 MB, free: 37.69 MB / 314.7 MB Notification: Performance of SimCode: time 0.01327/0.6184, allocations: 6.429 MB / 409.2 MB, free: 33.54 MB / 314.7 MB Notification: Performance of Templates: time 0.06917/0.6876, allocations: 27.6 MB / 436.8 MB, free: 5.977 MB / 314.7 MB