Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005023/0.0005024, allocations: 11.98 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0935/0.09403, allocations: 44.51 MB / 309.1 MB, free: 352 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.5682, allocations: 76.28 MB / 385.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004262/0.5687, allocations: 92.22 kB / 385.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0396/0.6083, allocations: 7.053 MB / 392.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6084, allocations: 0 / 392.5 MB, free: 14.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.477e-05/0.6085, allocations: 15.25 kB / 392.5 MB, free: 14.49 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.001645/0.6101, allocations: 0.6898 MB / 393.2 MB, free: 14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.6102, allocations: 11.53 kB / 393.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.6104, allocations: 61.92 kB / 393.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.611, allocations: 359.5 kB / 393.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.6111, allocations: 30.34 kB / 393.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.867e-05/0.6112, allocations: 46.38 kB / 393.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.6123, allocations: 446.8 kB / 394.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.668e-05/0.6124, allocations: 3.938 kB / 394.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.797e-05/0.6125, allocations: 14.94 kB / 394.1 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.6125, allocations: 11.62 kB / 394.2 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.6134, allocations: 325.8 kB / 394.5 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/0.6167, allocations: 1.851 MB / 396.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.6178, allocations: 0.608 MB / 396.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.982e-05/0.6179, allocations: 4.203 kB / 396.9 MB, free: 12.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006221/0.6185, allocations: 270.8 kB / 397.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/0.6185, allocations: 0 / 397.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.003723/0.6223, allocations: 0.8424 MB / 398 MB, free: 12.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.6224, allocations: 81.02 kB / 398.1 MB, free: 11.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.6228, allocations: 316.2 kB / 398.4 MB, free: 11.85 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.6229, allocations: 32.58 kB / 398.5 MB, free: 11.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.6231, allocations: 212.6 kB / 398.7 MB, free: 11.69 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.6232, allocations: 131.9 kB / 398.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.051e-05/0.6232, allocations: 6 kB / 398.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.573e-05/0.6233, allocations: 353.7 kB / 399.2 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.6237, allocations: 119.3 kB / 399.3 MB, free: 11.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004288/0.6241, allocations: 242.8 kB / 399.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.6245, allocations: 143.7 kB / 399.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.6246, allocations: 0 / 399.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001311/0.6259, allocations: 0.5044 MB / 400.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.6259, allocations: 10.47 kB / 400.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.626, allocations: 7.25 kB / 400.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007456/0.6267, allocations: 150.8 kB / 400.3 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.6271, allocations: 63.34 kB / 400.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003664/0.6308, allocations: 2.349 MB / 402.7 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.6314, allocations: 42.41 kB / 402.8 MB, free: 9.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.6314, allocations: 15.25 kB / 402.8 MB, free: 9.59 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.0003506/0.6318, allocations: 177.2 kB / 403 MB, free: 9.469 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.251e-05/0.6319, allocations: 42.42 kB / 403 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.632, allocations: 51.95 kB / 403 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6321, allocations: 3.75 kB / 403.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.6321, allocations: 0 / 403.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.6321, allocations: 6.547 kB / 403.1 MB, free: 9.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002341/0.6344, allocations: 0.9965 MB / 404.1 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.6345, allocations: 7.938 kB / 404.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.6351, allocations: 38.86 kB / 404.1 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/0.6362, allocations: 138.8 kB / 404.2 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.6364, allocations: 8.188 kB / 404.2 MB, free: 9.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006572/0.643, allocations: 2.331 MB / 406.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.643, allocations: 6.781 kB / 406.6 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00277/0.6458, allocations: 0.7063 MB / 407.3 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.6463, allocations: 154 kB / 407.4 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.6465, allocations: 11.16 kB / 407.5 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006163/0.6471, allocations: 18.45 kB / 407.5 MB, free: 7.371 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.6474, allocations: 39.33 kB / 407.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.6474, allocations: 10.92 kB / 407.5 MB, free: 7.367 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003413/0.6478, allocations: 222.5 kB / 407.7 MB, free: 7.285 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6478, allocations: 0 / 407.7 MB, free: 7.285 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008879/0.6487, allocations: 142.2 kB / 407.9 MB, free: 7.27 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.0002054/0.6489, allocations: 117.4 kB / 408 MB, free: 7.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.6503, allocations: 0.5351 MB / 408.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.6504, allocations: 3.75 kB / 408.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000844/0.6512, allocations: 397.1 kB / 408.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006258/0.6519, allocations: 67.14 kB / 409 MB, free: 6.859 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/0.6544, allocations: 1.012 MB / 410 MB, free: 6.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.6548, allocations: 0.8322 MB / 410.8 MB, free: 5.637 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002897/0.6551, allocations: 39.8 kB / 410.9 MB, free: 5.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.95e-05/0.6552, allocations: 30.47 kB / 410.9 MB, free: 5.617 MB / 314.7 MB Notification: Performance of SimCode: time 1.482e-06/0.6552, allocations: 4 kB / 410.9 MB, free: 5.613 MB / 314.7 MB Notification: Performance of Templates: time 0.01733/0.6725, allocations: 6.132 MB / 417 MB, free: 2.812 MB / 314.7 MB