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.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Capacitor1.v|Capacitor2.v|Inductor2.i|Inductor3.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 194.8 MB / 211.7 MB, free: 2.879 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003612, allocations: 8 kB / 264.5 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1265, allocations: 44.51 MB / 309.1 MB, free: 344 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4561/0.5826, allocations: 74.73 MB / 383.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004533/0.5831, allocations: 76.91 kB / 383.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03763/0.6208, allocations: 8.753 MB / 392.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6209, allocations: 0 / 392.6 MB, free: 14.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.096e-05/0.6209, allocations: 15.72 kB / 392.6 MB, free: 14.27 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001766/0.6227, allocations: 0.8104 MB / 393.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.6228, allocations: 7.719 kB / 393.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.6229, allocations: 73.23 kB / 393.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005878/0.6235, allocations: 363.9 kB / 393.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.6236, allocations: 41.81 kB / 393.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.6237, allocations: 48.84 kB / 394 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6249, allocations: 0.5485 MB / 394.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.625, allocations: 0 / 394.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-05/0.625, allocations: 18.78 kB / 394.5 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.6251, allocations: 15.58 kB / 394.5 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.6263, allocations: 465 kB / 395 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.6301, allocations: 2.076 MB / 397.1 MB, free: 12.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6314, allocations: 0.6329 MB / 397.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.153e-05/0.6314, allocations: 4.344 kB / 397.7 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6315, allocations: 38.75 kB / 397.7 MB, free: 12.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 3.406e-06/0.6315, allocations: 3.938 kB / 397.8 MB, free: 12.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.006115/0.6376, allocations: 1.988 MB / 399.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.6377, allocations: 63.38 kB / 399.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.6382, allocations: 357.5 kB / 400.2 MB, free: 11.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.6382, allocations: 38.33 kB / 400.2 MB, free: 11.21 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.6384, allocations: 226.8 kB / 400.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.6386, allocations: 205 kB / 400.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.6386, allocations: 13 kB / 400.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.6387, allocations: 353.5 kB / 401 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005385/0.6393, allocations: 173.1 kB / 401.1 MB, free: 10.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.6398, allocations: 215.7 kB / 401.3 MB, free: 10.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005411/0.6404, allocations: 186.5 kB / 401.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6404, allocations: 0 / 401.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001882/0.6423, allocations: 0.6728 MB / 402.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.6423, allocations: 7.75 kB / 402.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.6424, allocations: 0 / 402.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.6436, allocations: 255.7 kB / 402.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.6442, allocations: 62.86 kB / 402.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007848/0.652, allocations: 6.846 MB / 409.4 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.6527, allocations: 22.28 kB / 409.4 MB, free: 4.973 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.6527, allocations: 18.19 kB / 409.4 MB, free: 4.973 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003422/0.6531, allocations: 175.8 kB / 409.6 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.6532, allocations: 50.48 kB / 409.6 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.6534, allocations: 67.91 kB / 409.7 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6534, allocations: 3.875 kB / 409.7 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.6534, allocations: 3.875 kB / 409.7 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.6534, allocations: 3.141 kB / 409.7 MB, free: 4.812 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.6564, allocations: 1.356 MB / 411.1 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.6564, allocations: 0 / 411.1 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.6569, allocations: 61.86 kB / 411.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.658, allocations: 256.3 kB / 411.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.658, allocations: 11.06 kB / 411.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008607/0.6666, allocations: 6.836 MB / 418.2 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6667, allocations: 4.062 kB / 418.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.6694, allocations: 1.036 MB / 419.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.6697, allocations: 157.6 kB / 419.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.6698, allocations: 11.19 kB / 419.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000444/0.6703, allocations: 30.73 kB / 419.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.6705, allocations: 54.83 kB / 419.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.06e-05/0.6706, allocations: 14.94 kB / 419.5 MB, free: 14.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004039/0.671, allocations: 255.9 kB / 419.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.671, allocations: 0 / 419.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001235/0.6722, allocations: 172.6 kB / 419.9 MB, free: 14.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002303/0.6725, allocations: 121.2 kB / 420.1 MB, free: 14.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.6748, allocations: 1.043 MB / 421.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.6748, allocations: 4 kB / 421.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/0.6765, allocations: 0.8431 MB / 421.9 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006684/0.6772, allocations: 73.25 kB / 422 MB, free: 13.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.6805, allocations: 1.527 MB / 423.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008352/0.6814, allocations: 0.8908 MB / 424.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.6821, allocations: 43.03 kB / 424.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001954/0.6823, allocations: 30.67 kB / 424.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.984e-06/0.6823, allocations: 0 / 424.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of Templates: time 0.02283/0.7052, allocations: 7.885 MB / 432.4 MB, free: 7.387 MB / 330.7 MB