Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse.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.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.021/2.021, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 11.98 kB / 264.5 MB, free: 13.59 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 44.5 MB / 309 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.5567, allocations: 76.28 MB / 385.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.5571, allocations: 87.77 kB / 385.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03002/0.5871, allocations: 7.059 MB / 392.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5872, allocations: 0 / 392.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.809e-05/0.5872, allocations: 7.75 kB / 392.4 MB, free: 13.94 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00179/0.589, allocations: 0.6984 MB / 393.1 MB, free: 13.44 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.5891, allocations: 11.5 kB / 393.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.5894, allocations: 58.45 kB / 393.2 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007285/0.5901, allocations: 356.4 kB / 393.5 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.5902, allocations: 31.12 kB / 393.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.953e-05/0.5903, allocations: 41.5 kB / 393.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.5914, allocations: 451.1 kB / 394 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.5915, allocations: 0 / 394 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.854e-05/0.5916, allocations: 21.45 kB / 394.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.5916, allocations: 11.75 kB / 394.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009562/0.5926, allocations: 322.5 kB / 394.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.5963, allocations: 1.842 MB / 396.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.5975, allocations: 0.616 MB / 396.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.686e-05/0.5976, allocations: 7.906 kB / 396.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006646/0.5983, allocations: 278.3 kB / 397.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.557e-06/0.5983, allocations: 0 / 397.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.003871/0.6022, allocations: 0.8353 MB / 398 MB, free: 11.51 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.6023, allocations: 84.86 kB / 398 MB, free: 11.41 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004721/0.6028, allocations: 310.7 kB / 398.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.319e-05/0.6029, allocations: 32.64 kB / 398.4 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.6031, allocations: 262.9 kB / 398.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.6032, allocations: 130.8 kB / 398.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.6032, allocations: 14.12 kB / 398.8 MB, free: 10.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.6033, allocations: 331.9 kB / 399.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.6037, allocations: 118.6 kB / 399.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.6042, allocations: 244.5 kB / 399.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.6046, allocations: 145.6 kB / 399.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.6046, allocations: 0 / 399.6 MB, free: 10.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001369/0.606, allocations: 0.4948 MB / 400.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.6061, allocations: 11.69 kB / 400.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.6061, allocations: 4.312 kB / 400.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/0.6069, allocations: 142.7 kB / 400.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.6073, allocations: 63.53 kB / 400.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004035/0.6114, allocations: 2.346 MB / 402.7 MB, free: 9.004 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.612, allocations: 52.05 kB / 402.7 MB, free: 8.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.322e-05/0.612, allocations: 15.22 kB / 402.7 MB, free: 8.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000356/0.6124, allocations: 174 kB / 402.9 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6125, allocations: 42.67 kB / 402.9 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.6127, allocations: 47.47 kB / 403 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6127, allocations: 3.812 kB / 403 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.6127, allocations: 0 / 403 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6127, allocations: 0 / 403 MB, free: 8.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.6148, allocations: 1.006 MB / 404 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.6149, allocations: 0 / 404 MB, free: 8.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/0.6153, allocations: 45.41 kB / 404 MB, free: 8.488 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000645/0.6159, allocations: 139.2 kB / 404.2 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.616, allocations: 8.797 kB / 404.2 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003825/0.6198, allocations: 2.331 MB / 406.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6199, allocations: 3.906 kB / 406.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.6218, allocations: 0.7101 MB / 407.2 MB, free: 6.891 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.6222, allocations: 157.7 kB / 407.4 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.6223, allocations: 7.625 kB / 407.4 MB, free: 6.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.6227, allocations: 18.31 kB / 407.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6229, allocations: 36.94 kB / 407.4 MB, free: 6.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.6229, allocations: 14.72 kB / 407.5 MB, free: 6.762 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003266/0.6233, allocations: 222.2 kB / 407.7 MB, free: 6.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6233, allocations: 0 / 407.7 MB, free: 6.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008735/0.6242, allocations: 143.7 kB / 407.8 MB, free: 6.664 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002256/0.6244, allocations: 125.5 kB / 407.9 MB, free: 6.566 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.6259, allocations: 0.5318 MB / 408.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.626, allocations: 0 / 408.5 MB, free: 6.414 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009309/0.6269, allocations: 398.7 kB / 408.9 MB, free: 6.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007242/0.6277, allocations: 72.62 kB / 408.9 MB, free: 6.246 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.6304, allocations: 1.042 MB / 410 MB, free: 5.695 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.6307, allocations: 0.8373 MB / 410.8 MB, free: 4.988 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.6309, allocations: 26.78 kB / 410.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.6309, allocations: 3.938 kB / 410.8 MB, free: 4.977 MB / 314.7 MB Notification: Performance of Templates: time 0.01285/0.6438, allocations: 6.669 MB / 417.5 MB, free: 2.18 MB / 314.7 MB