Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003639, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08263, allocations: 44.51 MB / 308.4 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4162, allocations: 76.28 MB / 384.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.4165, allocations: 73.38 kB / 384.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05978/0.4763, allocations: 16.37 MB / 401.2 MB, free: 16.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.4764, allocations: 3.938 kB / 401.2 MB, free: 16.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001009/0.4765, allocations: 19.28 kB / 401.2 MB, free: 16.93 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003283/0.4798, allocations: 1.276 MB / 402.5 MB, free: 16.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4798, allocations: 9.875 kB / 402.5 MB, free: 16.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004388/0.4803, allocations: 119.5 kB / 402.6 MB, free: 16.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.4819, allocations: 0.7253 MB / 403.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.482, allocations: 66.44 kB / 403.4 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.4822, allocations: 84.03 kB / 403.5 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.4847, allocations: 1.212 MB / 404.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.4848, allocations: 0 / 404.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.4849, allocations: 38.28 kB / 404.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.485, allocations: 19.44 kB / 404.7 MB, free: 15.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.4873, allocations: 1.065 MB / 405.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00746/0.4948, allocations: 3.768 MB / 409.6 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/0.4969, allocations: 1.983 MB / 411.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.096e-05/0.497, allocations: 8.406 kB / 411.6 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.497, allocations: 42.78 kB / 411.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 4.466e-06/0.4971, allocations: 0 / 411.6 MB, free: 11.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.007694/0.5048, allocations: 3.243 MB / 414.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.5048, allocations: 63.84 kB / 414.9 MB, free: 10.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.5059, allocations: 0.617 MB / 415.5 MB, free: 10.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.506, allocations: 40.48 kB / 415.6 MB, free: 10.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.5062, allocations: 427 kB / 416 MB, free: 10.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/0.5064, allocations: 240.6 kB / 416.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.5065, allocations: 11.22 kB / 416.2 MB, free: 9.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/0.5066, allocations: 337.6 kB / 416.6 MB, free: 9.539 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000775/0.5074, allocations: 365.7 kB / 416.9 MB, free: 9.469 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007998/0.5082, allocations: 428.2 kB / 417.3 MB, free: 9.359 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008046/0.509, allocations: 399.4 kB / 417.7 MB, free: 9.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.475e-06/0.509, allocations: 0 / 417.7 MB, free: 9.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002406/0.5115, allocations: 1.151 MB / 418.9 MB, free: 9.004 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.5115, allocations: 11.8 kB / 418.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.5115, allocations: 0 / 418.9 MB, free: 8.996 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.5131, allocations: 468 kB / 419.3 MB, free: 8.859 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.5137, allocations: 96.56 kB / 419.4 MB, free: 8.836 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.5244, allocations: 8.578 MB / 428 MB, free: 18.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.5251, allocations: 38.22 kB / 428.1 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.5252, allocations: 19.31 kB / 428.1 MB, free: 18.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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.0007831/0.526, allocations: 398.7 kB / 428.5 MB, free: 18.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002009/0.5262, allocations: 73.81 kB / 428.5 MB, free: 18.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.5264, allocations: 106.7 kB / 428.6 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.222e-06/0.5264, allocations: 8.344 kB / 428.6 MB, free: 18.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.5264, allocations: 7.984 kB / 428.7 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.5265, allocations: 0 / 428.7 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005451/0.5319, allocations: 2.509 MB / 431.2 MB, free: 17.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.302e-06/0.532, allocations: 0 / 431.2 MB, free: 17.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005241/0.5325, allocations: 88.94 kB / 431.3 MB, free: 17.51 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.534, allocations: 456.3 kB / 431.7 MB, free: 17.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-05/0.5341, allocations: 13.88 kB / 431.7 MB, free: 17.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.5452, allocations: 8.528 MB / 440.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.121e-06/0.5452, allocations: 0 / 440.2 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.5491, allocations: 1.884 MB / 442.1 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006405/0.5497, allocations: 229.6 kB / 442.3 MB, free: 8.793 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.5499, allocations: 19.83 kB / 442.4 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.5504, allocations: 39.5 kB / 442.4 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.5507, allocations: 71.42 kB / 442.5 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/0.5508, allocations: 16.28 kB / 442.5 MB, free: 8.715 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008896/0.5517, allocations: 0.4955 MB / 443 MB, free: 8.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.19e-07/0.5517, allocations: 0 / 443 MB, free: 8.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001527/0.5532, allocations: 248.6 kB / 443.2 MB, free: 8.406 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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.0002461/0.5535, allocations: 132.8 kB / 443.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002917/0.5564, allocations: 1.49 MB / 444.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.314e-06/0.5565, allocations: 0 / 444.8 MB, free: 7.273 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002068/0.5585, allocations: 1.092 MB / 445.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.5598, allocations: 192.4 kB / 446.1 MB, free: 6.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/0.5651, allocations: 2.634 MB / 448.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.5663, allocations: 1.242 MB / 450 MB, free: 3.621 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.5666, allocations: 42.03 kB / 450 MB, free: 3.617 MB / 330.7 MB Notification: Performance of SimCode: time 1.901e-06/0.5666, allocations: 0 / 450 MB, free: 3.617 MB / 330.7 MB Notification: Performance of Templates: time 0.04638/0.613, allocations: 29.68 MB / 479.7 MB, free: 5.984 MB / 362.7 MB