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.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 194.9 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004696, allocations: 12 kB / 264.5 MB, free: 12.95 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.0931, allocations: 44.52 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003333/0.09648, allocations: 2.005 MB / 311.1 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.09792, allocations: 0.6519 MB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.09806, allocations: 4 kB / 311.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.001e-05/0.09815, allocations: 31.77 kB / 311.8 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.09847, allocations: 79.75 kB / 311.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.09871, allocations: 59.88 kB / 311.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003568/0.09908, allocations: 191.6 kB / 312.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.0993, allocations: 68.8 kB / 312.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.09953, allocations: 91.62 kB / 312.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.09974, allocations: 99.61 kB / 312.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.196e-05/0.0998, allocations: 12 kB / 312.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.09992, allocations: 23.92 kB / 312.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.698e-05/0.09999, allocations: 39.89 kB / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.1001, allocations: 69.58 kB / 312.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.1004, allocations: 199.7 kB / 312.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1004, allocations: 4 kB / 312.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.1004, allocations: 0 / 312.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1004, allocations: 3.938 kB / 312.7 MB, free: 12.71 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001025/0.1015, allocations: 0.4949 MB / 313.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.1015, allocations: 12.03 kB / 313.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.847e-05/0.1016, allocations: 27.72 kB / 313.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.102, allocations: 239.3 kB / 313.4 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.102, allocations: 12.44 kB / 313.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.1021, allocations: 23.91 kB / 313.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006055/0.1027, allocations: 221.8 kB / 313.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.1028, allocations: 0 / 313.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.1028, allocations: 8 kB / 313.7 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.1028, allocations: 12 kB / 313.7 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.1034, allocations: 153.6 kB / 313.9 MB, free: 11.42 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.1055, allocations: 0.9907 MB / 314.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.1061, allocations: 162.5 kB / 315 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1061, allocations: 0 / 315 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1062, allocations: 38.45 kB / 315.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 5.751e-06/0.1062, allocations: 8 kB / 315.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.002119/0.1083, allocations: 423.4 kB / 315.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.1084, allocations: 55.41 kB / 315.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.1086, allocations: 170.7 kB / 315.7 MB, free: 9.418 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.32e-05/0.1087, allocations: 33.7 kB / 315.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1088, allocations: 156 kB / 315.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.032e-05/0.1089, allocations: 59.11 kB / 315.9 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.513e-05/0.1089, allocations: 4 kB / 315.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1091, allocations: 326.8 kB / 316.3 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.1093, allocations: 56.34 kB / 316.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1095, allocations: 83.28 kB / 316.4 MB, free: 8.688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.1097, allocations: 67.92 kB / 316.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.1098, allocations: 0 / 316.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007864/0.1106, allocations: 234.7 kB / 316.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1106, allocations: 8.562 kB / 316.7 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1106, allocations: 8.062 kB / 316.7 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/0.113, allocations: 216.6 kB / 316.9 MB, free: 8.152 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1133, allocations: 39.91 kB / 317 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006821/0.114, allocations: 0.607 MB / 317.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.1142, allocations: 15.88 kB / 317.6 MB, free: 7.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.1142, allocations: 8 kB / 317.6 MB, free: 7.457 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 14 * 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 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001896/0.1144, allocations: 138.8 kB / 317.7 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.075e-05/0.1145, allocations: 19.77 kB / 317.7 MB, free: 7.293 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.1153, allocations: 234.8 kB / 318 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1153, allocations: 3.984 kB / 318 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1153, allocations: 0 / 318 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.1154, allocations: 108.8 kB / 318.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.796e-05/0.1155, allocations: 0 / 318.1 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.1158, allocations: 23.92 kB / 318.1 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/0.1158, allocations: 7.984 kB / 318.1 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001425/0.1173, allocations: 357.4 kB / 318.5 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008412/0.1181, allocations: 445.4 kB / 318.9 MB, free: 6.086 MB / 266.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002097/0.1184, allocations: 63.95 kB / 319 MB, free: 6.023 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001512/0.1185, allocations: 131.2 kB / 319.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of Backend: time 7.81e-07/0.1185, allocations: 0 / 319.1 MB, free: 5.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007284/0.1193, allocations: 186.3 kB / 319.3 MB, free: 5.707 MB / 266.7 MB Notification: Performance of SimCode: time 0.001722/0.121, allocations: 1.181 MB / 320.5 MB, free: 4.484 MB / 266.7 MB Notification: Performance of Templates: time 0.008682/0.1297, allocations: 2.306 MB / 322.8 MB, free: 2.188 MB / 266.7 MB