Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.89/1.89, allocations: 171.1 MB / 186.7 MB, free: 1.141 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003461, allocations: 8 kB / 233.9 MB, free: 2.395 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08083, allocations: 38.77 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.005659/0.08654, allocations: 3.45 MB / 276.1 MB, free: 8.07 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002312/0.0889, allocations: 0.9472 MB / 277 MB, free: 7.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003463/0.08927, allocations: 11.94 kB / 277 MB, free: 7.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.08948, allocations: 71.48 kB / 277.1 MB, free: 7.039 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007427/0.09023, allocations: 227.3 kB / 277.3 MB, free: 6.816 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.09065, allocations: 111.9 kB / 277.4 MB, free: 6.707 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009111/0.09157, allocations: 0.4921 MB / 277.9 MB, free: 6.215 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.092, allocations: 178.5 kB / 278.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/0.0924, allocations: 239.1 kB / 278.3 MB, free: 5.805 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.09289, allocations: 282.8 kB / 278.6 MB, free: 5.527 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.62e-05/0.093, allocations: 32 kB / 278.6 MB, free: 5.496 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.09315, allocations: 36 kB / 278.7 MB, free: 5.461 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.09334, allocations: 119.5 kB / 278.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000167/0.09352, allocations: 133.4 kB / 278.9 MB, free: 5.207 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007216/0.09425, allocations: 0.5027 MB / 279.4 MB, free: 4.703 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.09426, allocations: 0 / 279.4 MB, free: 4.703 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09428, allocations: 3.938 kB / 279.4 MB, free: 4.699 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.0943, allocations: 0 / 279.4 MB, free: 4.699 MB / 234.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.002063/0.09637, allocations: 0.8299 MB / 280.3 MB, free: 3.82 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.09644, allocations: 12.03 kB / 280.3 MB, free: 3.809 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.09662, allocations: 71.14 kB / 280.3 MB, free: 3.738 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.0973, allocations: 364.9 kB / 280.7 MB, free: 3.34 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.09737, allocations: 45.27 kB / 280.7 MB, free: 3.293 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.0975, allocations: 48 kB / 280.8 MB, free: 3.246 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.09897, allocations: 0.5414 MB / 281.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.09901, allocations: 0 / 281.3 MB, free: 2.676 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-05/0.09909, allocations: 20 kB / 281.4 MB, free: 2.656 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.09912, allocations: 12 kB / 281.4 MB, free: 2.645 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.1006, allocations: 463.7 kB / 281.8 MB, free: 2.195 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00511/0.1057, allocations: 2.065 MB / 283.9 MB, free: 40 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.1078, allocations: 0.6417 MB / 284.5 MB, free: 15.37 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.84e-05/0.1079, allocations: 8.562 kB / 284.5 MB, free: 15.36 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.85e-05/0.108, allocations: 35.12 kB / 284.6 MB, free: 15.32 MB / 250.7 MB Notification: Performance of pre-optimization done (n=60): time 4.789e-06/0.108, allocations: 0 / 284.6 MB, free: 15.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.01013/0.1181, allocations: 2.049 MB / 286.6 MB, free: 13.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.1182, allocations: 55.97 kB / 286.7 MB, free: 13.08 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.1191, allocations: 373.6 kB / 287 MB, free: 12.71 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/0.1192, allocations: 33.7 kB / 287.1 MB, free: 12.67 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002859/0.1195, allocations: 229.2 kB / 287.3 MB, free: 12.44 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.1199, allocations: 201 kB / 287.5 MB, free: 12.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.313e-05/0.12, allocations: 12 kB / 287.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002474/0.1202, allocations: 362.7 kB / 287.9 MB, free: 11.87 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/0.1211, allocations: 173 kB / 288 MB, free: 11.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009046/0.122, allocations: 211.8 kB / 288.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008704/0.1229, allocations: 186.2 kB / 288.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.123, allocations: 0 / 288.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00279/0.1258, allocations: 0.6696 MB / 289.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.264e-05/0.1258, allocations: 7.953 kB / 289.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.1258, allocations: 0 / 289.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.1274, allocations: 255.2 kB / 289.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000685/0.1281, allocations: 67.89 kB / 289.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/0.1411, allocations: 6.84 MB / 296.2 MB, free: 2.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.1418, allocations: 24.02 kB / 296.3 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.1419, allocations: 16.06 kB / 296.3 MB, free: 2.867 MB / 250.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.0004698/0.1424, allocations: 173.8 kB / 296.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/0.1426, allocations: 59.28 kB / 296.5 MB, free: 2.629 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.1428, allocations: 65.03 kB / 296.6 MB, free: 2.559 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.1429, allocations: 3.984 kB / 296.6 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.1429, allocations: 7.891 kB / 296.6 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.1433, allocations: 160.5 kB / 296.7 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.1435, allocations: 15.98 kB / 296.8 MB, free: 2.355 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/0.1441, allocations: 16 kB / 296.8 MB, free: 2.34 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/0.1443, allocations: 44.48 kB / 296.8 MB, free: 2.297 MB / 250.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005036/0.1494, allocations: 0.865 MB / 297.7 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003297/0.1527, allocations: 0.9148 MB / 298.6 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008733/0.1536, allocations: 204.4 kB / 298.8 MB, free: 292 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005933/0.1543, allocations: 255.2 kB / 299 MB, free: 36 kB / 250.7 MB Notification: Performance of Backend: time 1.082e-06/0.1543, allocations: 0 / 299 MB, free: 36 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.2246/0.3789, allocations: 0.9332 MB / 300 MB, free: 30.33 MB / 250.7 MB Notification: Performance of SimCode: time 0.003001/0.382, allocations: 2.048 MB / 302 MB, free: 29.04 MB / 250.7 MB Notification: Performance of Templates: time 0.02258/0.4046, allocations: 7.308 MB / 309.3 MB, free: 27.08 MB / 250.7 MB