Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_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_cpp_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 194.8 MB / 212.3 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 11.98 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0945/0.09487, allocations: 44.5 MB / 309 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.4954, allocations: 74.73 MB / 383.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.4958, allocations: 76.66 kB / 383.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03588/0.5317, allocations: 8.756 MB / 392.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.5317, allocations: 0 / 392.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.102e-05/0.5317, allocations: 11.59 kB / 392.5 MB, free: 13.78 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.001951/0.5337, allocations: 0.8124 MB / 393.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5338, allocations: 7.75 kB / 393.4 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.534, allocations: 74.34 kB / 393.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006266/0.5346, allocations: 367.3 kB / 393.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.5347, allocations: 38.59 kB / 393.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5348, allocations: 54.44 kB / 393.9 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.5361, allocations: 0.5476 MB / 394.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.357e-05/0.5362, allocations: 3.938 kB / 394.4 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/0.5363, allocations: 26.27 kB / 394.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.5363, allocations: 15.33 kB / 394.5 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.5376, allocations: 464.8 kB / 394.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/0.5417, allocations: 2.061 MB / 397 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.5431, allocations: 0.6319 MB / 397.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/0.5432, allocations: 12.28 kB / 397.6 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.5432, allocations: 34.56 kB / 397.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 4.308e-06/0.5432, allocations: 0 / 397.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.006394/0.5496, allocations: 1.99 MB / 399.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.5497, allocations: 55.94 kB / 399.7 MB, free: 10.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.5502, allocations: 360.8 kB / 400.1 MB, free: 10.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.934e-05/0.5503, allocations: 33.02 kB / 400.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.5504, allocations: 274.9 kB / 400.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.5506, allocations: 202.6 kB / 400.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.5507, allocations: 13.62 kB / 400.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/0.5507, allocations: 330.6 kB / 400.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/0.5513, allocations: 171.8 kB / 401.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006014/0.5519, allocations: 216.7 kB / 401.3 MB, free: 10.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.5525, allocations: 187.5 kB / 401.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5525, allocations: 0 / 401.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001857/0.5544, allocations: 0.6538 MB / 402.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5545, allocations: 7.75 kB / 402.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.5545, allocations: 0 / 402.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.5556, allocations: 256.3 kB / 402.4 MB, free: 9.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/0.5562, allocations: 67.41 kB / 402.4 MB, free: 9.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008/0.5642, allocations: 6.832 MB / 409.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.5648, allocations: 22.58 kB / 409.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-05/0.5649, allocations: 16.97 kB / 409.3 MB, free: 4.43 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.0003516/0.5653, allocations: 171.5 kB / 409.5 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.5654, allocations: 54.59 kB / 409.5 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.5656, allocations: 73.19 kB / 409.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5656, allocations: 3.906 kB / 409.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.5656, allocations: 3.844 kB / 409.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5656, allocations: 2.859 kB / 409.6 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/0.569, allocations: 1.352 MB / 411 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.5691, allocations: 3.938 kB / 411 MB, free: 19.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.5696, allocations: 67.28 kB / 411 MB, free: 19.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.5707, allocations: 261 kB / 411.3 MB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.5708, allocations: 10.62 kB / 411.3 MB, free: 19.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008818/0.5796, allocations: 6.825 MB / 418.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5797, allocations: 0 / 418.1 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002733/0.5824, allocations: 1.046 MB / 419.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003252/0.5828, allocations: 154.7 kB / 419.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.5829, allocations: 14.34 kB / 419.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.5834, allocations: 16.58 kB / 419.4 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/0.5836, allocations: 63.09 kB / 419.4 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/0.5836, allocations: 19.34 kB / 419.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003816/0.584, allocations: 252.2 kB / 419.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.584, allocations: 0 / 419.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001138/0.5852, allocations: 177.4 kB / 419.9 MB, free: 13.94 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.0002152/0.5854, allocations: 120.2 kB / 420 MB, free: 13.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002346/0.5878, allocations: 1.044 MB / 421 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5878, allocations: 0 / 421 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.5895, allocations: 0.845 MB / 421.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006968/0.5902, allocations: 74.16 kB / 421.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.5937, allocations: 1.556 MB / 423.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/0.5944, allocations: 0.8898 MB / 424.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.5946, allocations: 30.78 kB / 424.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of SimCode: time 1.153e-06/0.5946, allocations: 3.938 kB / 424.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of Templates: time 0.02365/0.6183, allocations: 13.28 MB / 437.7 MB, free: 4.285 MB / 330.7 MB