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.911/1.911, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 8 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08107/0.08145, allocations: 44.51 MB / 308.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3735/0.455, allocations: 76.21 MB / 384.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4553, allocations: 68.81 kB / 384.7 MB, free: 18.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1092/0.5645, allocations: 32.26 MB / 417 MB, free: 11.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.021e-06/0.5646, allocations: 4 kB / 417 MB, free: 11.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.788e-05/0.5647, allocations: 45.97 kB / 417 MB, free: 11.29 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.005872/0.5706, allocations: 2.458 MB / 419.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5706, allocations: 7.75 kB / 419.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006658/0.5713, allocations: 245.7 kB / 419.7 MB, free: 9.691 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.5732, allocations: 0.9593 MB / 420.7 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.5733, allocations: 166.4 kB / 420.9 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003717/0.5737, allocations: 221.2 kB / 421.1 MB, free: 9.148 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005133/0.5788, allocations: 2.304 MB / 423.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.715e-05/0.5789, allocations: 0 / 423.4 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.5792, allocations: 93.06 kB / 423.5 MB, free: 8.395 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.5793, allocations: 57.14 kB / 423.5 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004345/0.5836, allocations: 1.712 MB / 425.2 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.5979, allocations: 8.697 MB / 433.9 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/0.6022, allocations: 2.087 MB / 436 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.6024, allocations: 17.5 kB / 436 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002051/0.6044, allocations: 0.9048 MB / 437 MB, free: 1.664 MB / 314.7 MB Notification: Performance of pre-optimization done (n=207): time 6.211e-06/0.6045, allocations: 0 / 437 MB, free: 1.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=207): time 0.01635/0.6208, allocations: 5.351 MB / 442.3 MB, free: 13.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.621, allocations: 85.39 kB / 442.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.6227, allocations: 0.8422 MB / 443.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002802/0.623, allocations: 69.7 kB / 443.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00079/0.6238, allocations: 0.817 MB / 444.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008384/0.6247, allocations: 0.6609 MB / 444.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.6248, allocations: 44 kB / 444.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002646/0.6251, allocations: 399.5 kB / 445.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.6269, allocations: 0.641 MB / 445.8 MB, free: 10.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/0.6292, allocations: 1.183 MB / 447 MB, free: 8.734 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001908/0.6311, allocations: 0.74 MB / 447.8 MB, free: 7.996 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.6311, allocations: 4 kB / 447.8 MB, free: 7.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=296) (initialization): time 0.007886/0.639, allocations: 2.864 MB / 450.6 MB, free: 5.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.6391, allocations: 12 kB / 450.7 MB, free: 5.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.385e-05/0.6392, allocations: 16 kB / 450.7 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005007/0.6442, allocations: 1.186 MB / 451.9 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.6455, allocations: 283.5 kB / 452.1 MB, free: 3.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0342/0.6797, allocations: 22.73 MB / 474.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002091/0.6819, allocations: 277.8 kB / 475.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002451/0.6822, allocations: 84 kB / 475.2 MB, free: 10.89 MB / 362.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.001277/0.6834, allocations: 446.8 kB / 475.6 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.6839, allocations: 166 kB / 475.8 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/0.6843, allocations: 196.2 kB / 476 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.6844, allocations: 23.98 kB / 476 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.816e-05/0.6844, allocations: 20 kB / 476 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/0.6845, allocations: 11.92 kB / 476.1 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.6881, allocations: 1.897 MB / 478 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.6881, allocations: 3.938 kB / 478 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009949/0.6891, allocations: 131.9 kB / 478.1 MB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004884/0.694, allocations: 1.166 MB / 479.3 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002449/0.6943, allocations: 36 kB / 479.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03456/0.7289, allocations: 22.74 MB / 0.4903 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.7289, allocations: 0 / 0.4903 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009642/0.7386, allocations: 3.478 MB / 0.4937 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.7398, allocations: 434.6 kB / 0.4941 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000334/0.7402, allocations: 35.98 kB / 0.4941 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.7414, allocations: 111.9 kB / 0.4942 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006496/0.742, allocations: 209.7 kB / 0.4944 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.7422, allocations: 51.98 kB / 0.4945 GB, free: 10.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.7435, allocations: 0.6218 MB / 0.4951 GB, free: 9.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.45e-07/0.7435, allocations: 0 / 0.4951 GB, free: 9.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003097/0.7466, allocations: 0.7563 MB / 0.4958 GB, free: 8.652 MB / 394.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.0003748/0.747, allocations: 175 kB / 0.496 GB, free: 8.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008281/0.7553, allocations: 3.921 MB / 0.4998 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.784e-06/0.7554, allocations: 0.5625 kB / 0.4998 GB, free: 4.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006165/0.7615, allocations: 3.022 MB / 0.5028 GB, free: 1.227 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.7637, allocations: 344.1 kB / 0.5031 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.7743, allocations: 5.27 MB / 0.5082 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00165/0.776, allocations: 1.485 MB / 0.5097 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.7764, allocations: 79.44 kB / 0.5098 GB, free: 9.988 MB / 410.7 MB Notification: Performance of SimCode: time 1.744e-06/0.7764, allocations: 0 / 0.5098 GB, free: 9.988 MB / 410.7 MB Notification: Performance of Templates: time 0.3254/1.102, allocations: 112.2 MB / 0.6193 GB, free: 43.55 MB / 410.7 MB