Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.562/1.562, allocations: 171.2 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003469, allocations: 8 kB / 233.2 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06736/0.06773, allocations: 38.76 MB / 271.9 MB, free: 12.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.002981/0.07075, allocations: 2.002 MB / 273.9 MB, free: 10.2 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.07202, allocations: 0.6318 MB / 274.6 MB, free: 9.566 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001191/0.07216, allocations: 4 kB / 274.6 MB, free: 9.562 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 7.173e-05/0.07225, allocations: 23.83 kB / 274.6 MB, free: 9.539 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000378/0.07264, allocations: 87.73 kB / 274.7 MB, free: 9.453 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.07287, allocations: 63.86 kB / 274.7 MB, free: 9.391 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.07321, allocations: 187.6 kB / 274.9 MB, free: 9.207 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.07341, allocations: 64.78 kB / 275 MB, free: 9.141 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.0736, allocations: 91.62 kB / 275.1 MB, free: 9.051 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.0738, allocations: 103.5 kB / 275.2 MB, free: 8.949 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.647e-05/0.07385, allocations: 16 kB / 275.2 MB, free: 8.934 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.69e-05/0.07396, allocations: 23.98 kB / 275.2 MB, free: 8.91 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.07402, allocations: 39.84 kB / 275.2 MB, free: 8.871 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.943e-05/0.07411, allocations: 69.58 kB / 275.3 MB, free: 8.797 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.07442, allocations: 203.7 kB / 275.5 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.642e-06/0.07443, allocations: 0 / 275.5 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.07445, allocations: 4 kB / 275.5 MB, free: 8.594 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.047e-06/0.07447, allocations: 0 / 275.5 MB, free: 8.594 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.0008627/0.07534, allocations: 0.4989 MB / 276 MB, free: 8.047 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.07539, allocations: 8.031 kB / 276 MB, free: 8.039 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.716e-05/0.07547, allocations: 27.72 kB / 276 MB, free: 8.012 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.07581, allocations: 227.4 kB / 276.3 MB, free: 7.75 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.07586, allocations: 28.39 kB / 276.3 MB, free: 7.723 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.07592, allocations: 19.94 kB / 276.3 MB, free: 7.703 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005361/0.07647, allocations: 233.8 kB / 276.5 MB, free: 7.461 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.07651, allocations: 0 / 276.5 MB, free: 7.461 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.07656, allocations: 8 kB / 276.6 MB, free: 7.453 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.07659, allocations: 11.98 kB / 276.6 MB, free: 7.441 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004626/0.07706, allocations: 153.7 kB / 276.7 MB, free: 7.293 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.001875/0.07895, allocations: 1.014 MB / 277.7 MB, free: 6.176 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004234/0.07939, allocations: 158.6 kB / 277.9 MB, free: 6.012 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.07944, allocations: 4 kB / 277.9 MB, free: 6.008 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.07947, allocations: 34.5 kB / 277.9 MB, free: 5.965 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 5.687e-06/0.07949, allocations: 0 / 277.9 MB, free: 5.965 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.001607/0.08111, allocations: 438.4 kB / 278.3 MB, free: 5.512 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.08118, allocations: 55.39 kB / 278.4 MB, free: 5.445 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.08144, allocations: 187.1 kB / 278.6 MB, free: 5.25 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.08149, allocations: 25.7 kB / 278.6 MB, free: 5.219 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.08165, allocations: 222.3 kB / 278.8 MB, free: 5 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.08173, allocations: 63.09 kB / 278.9 MB, free: 4.938 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.08176, allocations: 0 / 278.9 MB, free: 4.938 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.08193, allocations: 318.8 kB / 279.2 MB, free: 4.617 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.08212, allocations: 59.97 kB / 279.3 MB, free: 4.559 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.08234, allocations: 91.72 kB / 279.4 MB, free: 4.457 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002071/0.08256, allocations: 76.97 kB / 279.4 MB, free: 4.383 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.921e-06/0.08258, allocations: 0 / 279.4 MB, free: 4.383 MB / 234.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006846/0.08328, allocations: 237.5 kB / 279.7 MB, free: 4.145 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.08332, allocations: 11.98 kB / 279.7 MB, free: 4.133 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.584e-06/0.08333, allocations: 3.938 kB / 279.7 MB, free: 4.129 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/0.08488, allocations: 224.7 kB / 279.9 MB, free: 3.906 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.08511, allocations: 31.98 kB / 279.9 MB, free: 3.875 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000677/0.0858, allocations: 0.6187 MB / 280.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.086, allocations: 23.75 kB / 280.6 MB, free: 3.207 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.08604, allocations: 4 kB / 280.6 MB, free: 3.203 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.0001704/0.08623, allocations: 133.8 kB / 280.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/0.0863, allocations: 15.81 kB / 280.7 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006334/0.08695, allocations: 236.3 kB / 280.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.08698, allocations: 11.94 kB / 281 MB, free: 2.797 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.934e-06/0.087, allocations: 0 / 281 MB, free: 2.797 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.292e-06/0.08701, allocations: 0 / 281 MB, free: 2.797 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.08748, allocations: 297.4 kB / 281.2 MB, free: 2.457 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.932e-06/0.0875, allocations: 0 / 281.2 MB, free: 2.457 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/0.08771, allocations: 27.92 kB / 281.3 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.08911, allocations: 224.6 kB / 281.5 MB, free: 2.207 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.08915, allocations: 4 kB / 281.5 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006587/0.08982, allocations: 0.6263 MB / 282.1 MB, free: 1.551 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.349e-06/0.08984, allocations: 4.062 kB / 282.1 MB, free: 1.547 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.09067, allocations: 392.4 kB / 282.5 MB, free: 1.145 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.09082, allocations: 108.9 kB / 282.6 MB, free: 1.02 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.379e-05/0.09088, allocations: 8 kB / 282.6 MB, free: 1.012 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.09109, allocations: 16.05 kB / 282.6 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.09116, allocations: 11.98 kB / 282.7 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.09119, allocations: 4 kB / 282.7 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.09136, allocations: 133.2 kB / 282.8 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.09138, allocations: 4 kB / 282.8 MB, free: 0.8477 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0004251/0.09181, allocations: 59.84 kB / 282.8 MB, free: 0.7891 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Capacitor1.v,HeatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001856/0.09201, allocations: 111.2 kB / 283 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005649/0.09259, allocations: 166.9 kB / 283.1 MB, free: 0.5117 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.464e-06/0.09261, allocations: 4 kB / 283.1 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.0929, allocations: 83.91 kB / 283.2 MB, free: 436 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.09326, allocations: 36.41 kB / 283.2 MB, free: 400 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.09466, allocations: 0.7035 MB / 283.9 MB, free: 15.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.09513, allocations: 0.7555 MB / 284.7 MB, free: 14.88 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.0952, allocations: 15.44 kB / 284.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of SimCode: time 1.337e-06/0.09521, allocations: 0 / 284.7 MB, free: 14.86 MB / 250.7 MB Notification: Performance of Templates: time 0.006493/0.1017, allocations: 3.102 MB / 287.8 MB, free: 11.75 MB / 250.7 MB