Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 194.9 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 16 kB / 264.6 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09006/0.09056, allocations: 44.51 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005468/0.09607, allocations: 3.459 MB / 312.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.09824, allocations: 0.9637 MB / 313.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002943/0.09856, allocations: 8 kB / 313.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.09875, allocations: 67.42 kB / 313.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006643/0.09943, allocations: 219.4 kB / 313.8 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.09983, allocations: 119.8 kB / 313.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008191/0.1007, allocations: 495.8 kB / 314.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.1011, allocations: 170.6 kB / 314.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.1014, allocations: 239.1 kB / 314.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.1019, allocations: 278.8 kB / 315.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.803e-05/0.102, allocations: 40 kB / 315.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.1022, allocations: 32 kB / 315.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.1024, allocations: 107.6 kB / 315.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.1025, allocations: 137.4 kB / 315.4 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006895/0.1032, allocations: 0.5024 MB / 315.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1033, allocations: 0 / 315.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1033, allocations: 0 / 315.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.1033, allocations: 4 kB / 315.9 MB, free: 9.516 MB / 266.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.001983/0.1053, allocations: 0.8183 MB / 316.7 MB, free: 8.648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.1053, allocations: 12.03 kB / 316.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.1055, allocations: 67.16 kB / 316.8 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.1062, allocations: 361 kB / 317.1 MB, free: 8.176 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.1062, allocations: 37.31 kB / 317.2 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.1064, allocations: 59.89 kB / 317.2 MB, free: 8.082 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.1078, allocations: 0.5414 MB / 317.8 MB, free: 7.512 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.1078, allocations: 11.88 kB / 317.8 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.1079, allocations: 20 kB / 317.8 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.1079, allocations: 12 kB / 317.8 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.1094, allocations: 455.7 kB / 318.2 MB, free: 7.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004202/0.1136, allocations: 2.058 MB / 320.3 MB, free: 4.883 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1151, allocations: 0.6494 MB / 320.9 MB, free: 4.203 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.211e-05/0.1152, allocations: 8.547 kB / 321 MB, free: 4.195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.1152, allocations: 39.12 kB / 321 MB, free: 4.148 MB / 266.7 MB Notification: Performance of pre-optimization done (n=60): time 3.306e-06/0.1152, allocations: 3.938 kB / 321 MB, free: 4.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.00713/0.1224, allocations: 2.053 MB / 323 MB, free: 1.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.1224, allocations: 59.97 kB / 323.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.123, allocations: 353.7 kB / 323.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.53e-05/0.1231, allocations: 41.64 kB / 323.5 MB, free: 1.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1233, allocations: 233.2 kB / 323.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000215/0.1235, allocations: 197 kB / 323.9 MB, free: 1.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.1236, allocations: 12 kB / 323.9 MB, free: 1.059 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1238, allocations: 358.8 kB / 324.3 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/0.1244, allocations: 173 kB / 324.4 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.125, allocations: 215.8 kB / 324.7 MB, free: 324 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005996/0.1256, allocations: 178.2 kB / 324.8 MB, free: 144 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1256, allocations: 4 kB / 324.8 MB, free: 140 kB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002048/0.1277, allocations: 0.6695 MB / 325.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.1277, allocations: 8 kB / 325.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1277, allocations: 0 / 325.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.1289, allocations: 255.2 kB / 325.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.1295, allocations: 63.91 kB / 325.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009289/0.1388, allocations: 6.844 MB / 332.7 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.1393, allocations: 19.97 kB / 332.7 MB, free: 7.715 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.1394, allocations: 16 kB / 332.7 MB, free: 7.699 MB / 282.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.0003193/0.1397, allocations: 177.8 kB / 332.9 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.1398, allocations: 55.38 kB / 332.9 MB, free: 7.461 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.14, allocations: 60.95 kB / 333 MB, free: 7.402 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.14, allocations: 7.984 kB / 333 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.14, allocations: 0 / 333 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.1403, allocations: 156.5 kB / 333.2 MB, free: 7.223 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/0.1404, allocations: 11.98 kB / 333.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/0.1409, allocations: 24 kB / 333.2 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.141, allocations: 40.48 kB / 333.2 MB, free: 7.148 MB / 282.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003541/0.1446, allocations: 0.8608 MB / 334.1 MB, free: 6.266 MB / 282.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00225/0.1469, allocations: 0.9148 MB / 335 MB, free: 5.336 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006287/0.1475, allocations: 200.4 kB / 335.2 MB, free: 5.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003951/0.1479, allocations: 259.1 kB / 335.4 MB, free: 4.891 MB / 282.7 MB Notification: Performance of Backend: time 7.32e-07/0.1479, allocations: 0 / 335.4 MB, free: 4.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.1501, allocations: 0.949 MB / 336.4 MB, free: 3.879 MB / 282.7 MB Notification: Performance of SimCode: time 0.003267/0.1534, allocations: 2.032 MB / 338.4 MB, free: 1.797 MB / 282.7 MB Notification: Performance of Templates: time 0.02161/0.1751, allocations: 7.31 MB / 345.7 MB, free: 10.52 MB / 298.7 MB