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.HeatingRectifier.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.HeatingRectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Capacitor1.v|HeatCapacitor1.T",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 171.2 MB / 186.7 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 8 kB / 233.8 MB, free: 2.414 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.07984, allocations: 38.79 MB / 272.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003588/0.08349, allocations: 1.997 MB / 274.6 MB, free: 9.527 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.08509, allocations: 0.6435 MB / 275.3 MB, free: 8.883 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.08527, allocations: 4 kB / 275.3 MB, free: 8.879 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.398e-05/0.08536, allocations: 23.77 kB / 275.3 MB, free: 8.855 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.08569, allocations: 83.75 kB / 275.4 MB, free: 8.773 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.08595, allocations: 55.94 kB / 275.4 MB, free: 8.719 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.08633, allocations: 187.6 kB / 275.6 MB, free: 8.535 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.08655, allocations: 68.77 kB / 275.7 MB, free: 8.465 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.08676, allocations: 99.52 kB / 275.8 MB, free: 8.367 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.08698, allocations: 103.6 kB / 275.9 MB, free: 8.266 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.08703, allocations: 12 kB / 275.9 MB, free: 8.254 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.08716, allocations: 24 kB / 275.9 MB, free: 8.23 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.08723, allocations: 35.84 kB / 276 MB, free: 8.195 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.408e-05/0.08731, allocations: 69.58 kB / 276 MB, free: 8.121 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.08768, allocations: 203.7 kB / 276.2 MB, free: 7.922 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.0877, allocations: 0 / 276.2 MB, free: 7.922 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.08771, allocations: 0 / 276.2 MB, free: 7.922 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.08773, allocations: 0 / 276.2 MB, free: 7.922 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001036/0.08877, allocations: 0.4988 MB / 276.7 MB, free: 7.375 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.08883, allocations: 8.031 kB / 276.7 MB, free: 7.367 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.855e-05/0.08892, allocations: 27.72 kB / 276.8 MB, free: 7.34 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.08926, allocations: 239.3 kB / 277 MB, free: 7.066 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.08931, allocations: 20.39 kB / 277 MB, free: 7.047 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.08938, allocations: 20 kB / 277 MB, free: 7.027 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.08998, allocations: 225.8 kB / 277.2 MB, free: 6.793 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.09002, allocations: 4 kB / 277.3 MB, free: 6.789 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.09006, allocations: 8 kB / 277.3 MB, free: 6.781 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.09008, allocations: 4 kB / 277.3 MB, free: 6.777 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005419/0.09063, allocations: 161.6 kB / 277.4 MB, free: 6.621 MB / 234.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.002203/0.09285, allocations: 1.014 MB / 278.4 MB, free: 5.504 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.09335, allocations: 158.5 kB / 278.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.09339, allocations: 3.938 kB / 278.6 MB, free: 5.336 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.09343, allocations: 34.56 kB / 278.6 MB, free: 5.293 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 3.417e-06/0.09345, allocations: 0 / 278.6 MB, free: 5.293 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.002141/0.0956, allocations: 430.7 kB / 279 MB, free: 4.848 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.09568, allocations: 59.41 kB / 279.1 MB, free: 4.777 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.09595, allocations: 183.1 kB / 279.3 MB, free: 4.586 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.096, allocations: 33.7 kB / 279.3 MB, free: 4.547 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.09615, allocations: 156 kB / 279.5 MB, free: 4.391 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.09625, allocations: 59.11 kB / 279.5 MB, free: 4.332 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.09627, allocations: 4 kB / 279.5 MB, free: 4.328 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.09643, allocations: 322.8 kB / 279.8 MB, free: 4.004 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.09666, allocations: 63.97 kB / 279.9 MB, free: 3.941 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.09691, allocations: 92.27 kB / 280 MB, free: 3.836 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002338/0.09716, allocations: 67.88 kB / 280.1 MB, free: 3.77 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.09718, allocations: 4 kB / 280.1 MB, free: 3.766 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000848/0.09803, allocations: 248.9 kB / 280.3 MB, free: 3.516 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.09807, allocations: 7.984 kB / 280.3 MB, free: 3.508 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.09809, allocations: 4 kB / 280.3 MB, free: 3.504 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/0.1005, allocations: 220.7 kB / 280.5 MB, free: 3.285 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002996/0.1008, allocations: 39.92 kB / 280.6 MB, free: 3.246 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007015/0.1015, allocations: 0.6186 MB / 281.2 MB, free: 2.602 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.1018, allocations: 23.83 kB / 281.2 MB, free: 2.578 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.1018, allocations: 4 kB / 281.2 MB, free: 2.574 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 16 * 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.0001873/0.102, allocations: 129.8 kB / 281.4 MB, free: 2.438 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.04e-05/0.1021, allocations: 19.81 kB / 281.4 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007347/0.1028, allocations: 236.3 kB / 281.6 MB, free: 2.18 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.1029, allocations: 4 kB / 281.6 MB, free: 2.176 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.1029, allocations: 3.953 kB / 281.6 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.103, allocations: 112.8 kB / 281.7 MB, free: 2.043 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/0.1031, allocations: 4 kB / 281.7 MB, free: 2.039 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.1033, allocations: 8 kB / 281.7 MB, free: 2.031 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.1034, allocations: 15.97 kB / 281.7 MB, free: 2.016 MB / 234.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001472/0.1049, allocations: 356.2 kB / 282.1 MB, free: 1.66 MB / 234.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008531/0.1058, allocations: 442.3 kB / 282.5 MB, free: 1.211 MB / 234.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000212/0.106, allocations: 71.91 kB / 282.6 MB, free: 1.141 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.1062, allocations: 133.2 kB / 282.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of Backend: time 5.51e-07/0.1062, allocations: 0 / 282.7 MB, free: 1.012 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0007442/0.1069, allocations: 193.5 kB / 282.9 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of SimCode: time 0.001718/0.1087, allocations: 1.181 MB / 284.1 MB, free: 15.59 MB / 250.7 MB Notification: Performance of Templates: time 0.008577/0.1173, allocations: 2.333 MB / 286.4 MB, free: 13.27 MB / 250.7 MB