Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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_Modelica.Electrical.Analog.Examples.CauerLowPassSC") Notification: Performance of loadModel(Modelica): time 1.656/1.656, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004783, allocations: 15.98 kB / 233.9 MB, free: 2.391 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08032/0.08083, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassSC): time 0.01467/0.09555, allocations: 9.385 MB / 282 MB, free: 2.117 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006813/0.1024, allocations: 2.747 MB / 284.8 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.104, allocations: 43.94 kB / 284.8 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.1048, allocations: 309.7 kB / 285.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002329/0.1072, allocations: 0.74 MB / 285.9 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.1089, allocations: 471.5 kB / 286.3 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004121/0.1131, allocations: 1.916 MB / 288.2 MB, free: 11.89 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00207/0.1152, allocations: 0.9854 MB / 289.2 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.1169, allocations: 0.8915 MB / 290.1 MB, free: 9.977 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.1188, allocations: 1.019 MB / 291.1 MB, free: 8.953 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004219/0.1192, allocations: 148 kB / 291.3 MB, free: 8.809 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005622/0.1198, allocations: 148 kB / 291.4 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005023/0.1203, allocations: 418.4 kB / 291.8 MB, free: 8.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006783/0.121, allocations: 476.5 kB / 292.3 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003996/0.125, allocations: 2.781 MB / 295.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.125, allocations: 0 / 295.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.125, allocations: 0 / 295.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.065e-05/0.1251, allocations: 0 / 295.1 MB, free: 4.992 MB / 250.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.008705/0.1338, allocations: 2.467 MB / 297.5 MB, free: 2.445 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1339, allocations: 8.031 kB / 297.5 MB, free: 2.438 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008286/0.1348, allocations: 249.1 kB / 297.8 MB, free: 2.191 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/0.1374, allocations: 1.005 MB / 298.8 MB, free: 1.141 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001817/0.1376, allocations: 160.4 kB / 298.9 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005296/0.1381, allocations: 228 kB / 299.2 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2527/0.3909, allocations: 2.284 MB / 301.5 MB, free: 28.04 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.091e-05/0.391, allocations: 7.938 kB / 301.5 MB, free: 28.04 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/0.3913, allocations: 93.16 kB / 301.6 MB, free: 27.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.609e-05/0.3914, allocations: 55.56 kB / 301.6 MB, free: 27.96 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006398/0.3978, allocations: 1.696 MB / 303.3 MB, free: 27.25 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.419, allocations: 8.817 MB / 312.1 MB, free: 21.71 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006963/0.426, allocations: 2.108 MB / 314.2 MB, free: 20.6 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.4263, allocations: 21.44 kB / 314.2 MB, free: 20.6 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003635/0.43, allocations: 0.9234 MB / 315.2 MB, free: 20.04 MB / 250.7 MB Notification: Performance of pre-optimization done (n=207): time 7.935e-06/0.43, allocations: 0 / 315.2 MB, free: 20.04 MB / 250.7 MB Notification: Performance of matching and sorting (n=207): time 0.03038/0.4604, allocations: 5.353 MB / 320.5 MB, free: 16.58 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.4606, allocations: 78.31 kB / 320.6 MB, free: 16.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/0.4628, allocations: 0.9574 MB / 321.6 MB, free: 15.95 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004581/0.4633, allocations: 66.83 kB / 321.6 MB, free: 15.88 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009133/0.4642, allocations: 0.8662 MB / 322.5 MB, free: 15.12 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.4652, allocations: 0.6678 MB / 323.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.4655, allocations: 46.72 kB / 323.2 MB, free: 14.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.4657, allocations: 399.7 kB / 323.6 MB, free: 14.13 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00277/0.4685, allocations: 0.6734 MB / 324.3 MB, free: 13.79 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.4719, allocations: 1.356 MB / 325.6 MB, free: 12.54 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/0.4751, allocations: 0.7929 MB / 326.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.108e-05/0.4751, allocations: 3.969 kB / 326.4 MB, free: 12.12 MB / 250.7 MB Notification: Performance of matching and sorting (n=318) (initialization): time 0.01185/0.487, allocations: 3.095 MB / 329.5 MB, free: 9.012 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.4871, allocations: 12 kB / 329.5 MB, free: 9 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.04e-05/0.4871, allocations: 24 kB / 329.6 MB, free: 8.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007542/0.4947, allocations: 1.194 MB / 330.7 MB, free: 7.746 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002477/0.4972, allocations: 315.5 kB / 331.1 MB, free: 7.438 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03788/0.5351, allocations: 22.75 MB / 353.8 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.5379, allocations: 301.7 kB / 354.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002462/0.5381, allocations: 103.9 kB / 354.2 MB, free: 14.71 MB / 282.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.001312/0.5394, allocations: 466.6 kB / 354.7 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004481/0.5399, allocations: 166 kB / 354.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005531/0.5405, allocations: 204.2 kB / 355 MB, free: 13.86 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.967e-05/0.5405, allocations: 15.91 kB / 355 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5405, allocations: 0 / 355 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009713/0.5415, allocations: 426.5 kB / 355.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004346/0.542, allocations: 36 kB / 355.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.5437, allocations: 115.9 kB / 355.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006832/0.5444, allocations: 238.1 kB / 355.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01316/0.5576, allocations: 2.921 MB / 358.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008144/0.5658, allocations: 2.785 MB / 361.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002321/0.5681, allocations: 0.7262 MB / 362.3 MB, free: 6.598 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001287/0.5695, allocations: 0.6023 MB / 362.9 MB, free: 5.988 MB / 282.7 MB Notification: Performance of Backend: time 8.41e-07/0.5695, allocations: 0 / 362.9 MB, free: 5.988 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.009143/0.5786, allocations: 3.465 MB / 366.3 MB, free: 2.379 MB / 282.7 MB Notification: Performance of SimCode: time 0.01306/0.5918, allocations: 6.419 MB / 372.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of Templates: time 0.08257/0.6744, allocations: 27.6 MB / 400.4 MB, free: 328 kB / 314.7 MB