Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.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.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 15.92 kB / 264.5 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09439, allocations: 44.51 MB / 309.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5608/0.6552, allocations: 82.32 MB / 391.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.6556, allocations: 88.62 kB / 391.5 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08118/0.7368, allocations: 22.23 MB / 413.7 MB, free: 9.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.7368, allocations: 0 / 413.7 MB, free: 9.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.208e-05/0.7369, allocations: 31.06 kB / 413.7 MB, free: 9.102 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003842/0.7408, allocations: 1.208 MB / 414.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.7408, allocations: 7.875 kB / 414.9 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/0.7442, allocations: 378.5 kB / 415.3 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001225/0.7454, allocations: 0.5219 MB / 415.8 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.781e-05/0.7455, allocations: 76.52 kB / 415.9 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002118/0.7458, allocations: 111.5 kB / 416 MB, free: 7.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002771/0.7485, allocations: 1.047 MB / 417.1 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.408e-05/0.7486, allocations: 3.953 kB / 417.1 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.7488, allocations: 43.59 kB / 417.1 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.7488, allocations: 23.31 kB / 417.1 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.7516, allocations: 0.9295 MB / 418.1 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008318/0.76, allocations: 3.779 MB / 421.8 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003548/0.7636, allocations: 2.472 MB / 424.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.7638, allocations: 100.9 kB / 424.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.7651, allocations: 0.5034 MB / 424.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of pre-optimization done (n=86): time 4.098e-06/0.7651, allocations: 0 / 424.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=86): time 0.007248/0.7724, allocations: 1.685 MB / 426.6 MB, free: 2.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.681e-05/0.7725, allocations: 192.8 kB / 426.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007388/0.7732, allocations: 469.5 kB / 427.2 MB, free: 1.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.7734, allocations: 45.02 kB / 427.3 MB, free: 1.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.7738, allocations: 421.2 kB / 427.7 MB, free: 1.449 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/0.774, allocations: 284.1 kB / 428 MB, free: 1.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.647e-05/0.7741, allocations: 23.19 kB / 428 MB, free: 1.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7742, allocations: 372.8 kB / 428.4 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009097/0.7752, allocations: 287.1 kB / 428.6 MB, free: 0.875 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.7762, allocations: 0.5221 MB / 429.2 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.7772, allocations: 349.5 kB / 429.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.7772, allocations: 0 / 429.5 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00324/0.7805, allocations: 1.101 MB / 430.6 MB, free: 232 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/0.7806, allocations: 8.5 kB / 430.6 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.7806, allocations: 7.656 kB / 430.6 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.782, allocations: 281.1 kB / 430.9 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.7832, allocations: 165 kB / 431.1 MB, free: 116 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008103/0.7913, allocations: 4.477 MB / 435.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/0.7926, allocations: 106.1 kB / 435.6 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-05/0.7927, allocations: 40.64 kB / 435.7 MB, free: 13.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0006898/0.7934, allocations: 246.6 kB / 435.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.7936, allocations: 73.73 kB / 436 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00326/0.7969, allocations: 1.008 MB / 437 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.797, allocations: 11.69 kB / 437 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.797, allocations: 7.859 kB / 437 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.797, allocations: 3.984 kB / 437 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005131/0.8022, allocations: 1.969 MB / 439 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/0.8022, allocations: 4 kB / 439 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000899/0.8031, allocations: 109.1 kB / 439.1 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.8045, allocations: 265.1 kB / 439.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001364/0.8046, allocations: 15.88 kB / 439.4 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00935/0.814, allocations: 4.444 MB / 443.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/0.8141, allocations: 0 / 443.8 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007173/0.8212, allocations: 1.418 MB / 445.2 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000852/0.8222, allocations: 212 kB / 445.4 MB, free: 5.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003464/0.8225, allocations: 23.94 kB / 445.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.824, allocations: 55.95 kB / 445.5 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004251/0.8245, allocations: 60.91 kB / 445.6 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.8246, allocations: 27.98 kB / 445.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000945/0.8256, allocations: 314.9 kB / 445.9 MB, free: 4.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.8256, allocations: 4 kB / 445.9 MB, free: 4.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002595/0.8283, allocations: 327.2 kB / 446.2 MB, free: 4.609 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (currentSensorQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005636/0.8289, allocations: 163.2 kB / 446.4 MB, free: 4.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004904/0.8338, allocations: 1.123 MB / 447.5 MB, free: 3.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.8339, allocations: 1.312 kB / 447.5 MB, free: 3.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003089/0.837, allocations: 0.7547 MB / 448.3 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.8384, allocations: 102.1 kB / 448.4 MB, free: 2.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.8503, allocations: 2.527 MB / 450.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/0.8516, allocations: 1.01 MB / 451.9 MB, free: 14.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001105/0.8528, allocations: 81.58 kB / 452 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003524/0.8532, allocations: 51.42 kB / 452 MB, free: 14.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.883e-06/0.8532, allocations: 0 / 452 MB, free: 14.72 MB / 346.7 MB Notification: Performance of Templates: time 0.053/0.9062, allocations: 11.16 MB / 463.2 MB, free: 3.609 MB / 346.7 MB