Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Analog.Examples.HeatingRectifier") Notification: Performance of loadModel(Modelica): time 1.982/1.982, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003551, allocations: 8 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08221/0.08259, allocations: 44.51 MB / 308.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingRectifier): time 0.003292/0.08593, allocations: 2.001 MB / 310.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.08757, allocations: 0.6635 MB / 311 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001724/0.08778, allocations: 4 kB / 311 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.769e-05/0.08787, allocations: 19.83 kB / 311 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.08818, allocations: 87.73 kB / 311.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.08842, allocations: 55.81 kB / 311.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.08878, allocations: 195.6 kB / 311.4 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.08899, allocations: 64.78 kB / 311.4 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.0892, allocations: 91.7 kB / 311.5 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.08941, allocations: 107.5 kB / 311.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.08946, allocations: 12 kB / 311.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.08957, allocations: 20 kB / 311.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.08963, allocations: 39.83 kB / 311.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.737e-05/0.08972, allocations: 69.58 kB / 311.8 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.09004, allocations: 203.7 kB / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.974e-06/0.09006, allocations: 0 / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.555e-06/0.09008, allocations: 0 / 312 MB, free: 13.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.524e-06/0.09009, allocations: 0 / 312 MB, free: 13.38 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.0009215/0.09103, allocations: 0.495 MB / 312.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.09108, allocations: 8.031 kB / 312.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.09117, allocations: 31.72 kB / 312.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.09153, allocations: 235.3 kB / 312.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.09157, allocations: 16.44 kB / 312.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.09165, allocations: 27.91 kB / 312.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.0922, allocations: 225.8 kB / 313 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.09224, allocations: 4 kB / 313 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.09228, allocations: 8 kB / 313 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.0923, allocations: 8 kB / 313 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004705/0.09278, allocations: 149.7 kB / 313.2 MB, free: 12.09 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.001907/0.09471, allocations: 1.002 MB / 314.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/0.09515, allocations: 146.5 kB / 314.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.0952, allocations: 4.078 kB / 314.3 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.09525, allocations: 46.52 kB / 314.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 3.309e-06/0.09527, allocations: 0 / 314.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.001643/0.09692, allocations: 419.4 kB / 314.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.097, allocations: 55.41 kB / 314.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.09726, allocations: 178.7 kB / 315 MB, free: 10.08 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.09731, allocations: 33.64 kB / 315 MB, free: 10.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.09748, allocations: 218.4 kB / 315.2 MB, free: 9.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.325e-05/0.09757, allocations: 63.09 kB / 315.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.09759, allocations: 0 / 315.3 MB, free: 9.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.09777, allocations: 322.7 kB / 315.6 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.09796, allocations: 56.34 kB / 315.7 MB, free: 9.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.09817, allocations: 83.3 kB / 315.8 MB, free: 9.297 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.09838, allocations: 59.98 kB / 315.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.299e-06/0.0984, allocations: 0 / 315.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006876/0.0991, allocations: 233.4 kB / 316 MB, free: 9.004 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.09915, allocations: 8.938 kB / 316 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.251e-06/0.09916, allocations: 7.875 kB / 316.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001544/0.1007, allocations: 212.6 kB / 316.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.101, allocations: 39.97 kB / 316.3 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007275/0.1017, allocations: 0.6109 MB / 316.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1019, allocations: 15.84 kB / 316.9 MB, free: 8.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.102, allocations: 8 kB / 316.9 MB, free: 8.078 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.0001977/0.1022, allocations: 139 kB / 317.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.1022, allocations: 19.77 kB / 317.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006671/0.1029, allocations: 232.1 kB / 317.3 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.103, allocations: 4 kB / 317.3 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.549e-06/0.103, allocations: 0 / 317.3 MB, free: 7.672 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.427e-06/0.103, allocations: 3.984 kB / 317.3 MB, free: 7.668 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.1035, allocations: 281.5 kB / 317.6 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.915e-06/0.1035, allocations: 8 kB / 317.6 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.1037, allocations: 31.97 kB / 317.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/0.1052, allocations: 216.6 kB / 317.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.1052, allocations: 11.94 kB / 317.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007083/0.106, allocations: 0.6225 MB / 318.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.452e-06/0.106, allocations: 0 / 318.5 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.1068, allocations: 393.4 kB / 318.9 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.107, allocations: 100.9 kB / 319 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.1071, allocations: 12 kB / 319 MB, free: 5.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.1073, allocations: 19.98 kB / 319 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.1074, allocations: 11.92 kB / 319 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1074, allocations: 4 kB / 319 MB, free: 5.863 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001693/0.1076, allocations: 135.2 kB / 319.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.1076, allocations: 64 / 319.1 MB, free: 5.73 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004506/0.1081, allocations: 63.84 kB / 319.2 MB, free: 5.668 MB / 266.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.0001915/0.1083, allocations: 103.2 kB / 319.3 MB, free: 5.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005892/0.1089, allocations: 166.8 kB / 319.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.561e-06/0.1089, allocations: 0 / 319.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002897/0.1092, allocations: 92.03 kB / 319.6 MB, free: 5.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.1096, allocations: 24.12 kB / 319.6 MB, free: 5.285 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.111, allocations: 0.7146 MB / 320.3 MB, free: 4.543 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.1115, allocations: 0.7441 MB / 321 MB, free: 3.773 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.87e-05/0.1116, allocations: 11.44 kB / 321.1 MB, free: 3.762 MB / 266.7 MB Notification: Performance of SimCode: time 1.825e-06/0.1116, allocations: 0 / 321.1 MB, free: 3.762 MB / 266.7 MB Notification: Performance of Templates: time 0.006762/0.1184, allocations: 3.025 MB / 324.1 MB, free: 0.7344 MB / 266.7 MB