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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingRectifier,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_HeatingRectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.084/2.084, allocations: 194.9 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003667, allocations: 15.94 kB / 264.1 MB, free: 2.504 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3033, allocations: 44.5 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.4495, allocations: 73.92 MB / 382.5 MB, free: 2.633 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003421/0.4499, allocations: 71.97 kB / 382.6 MB, free: 2.562 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02285/0.4728, allocations: 4.031 MB / 386.6 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4729, allocations: 3.938 kB / 386.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.27e-05/0.4729, allocations: 8 kB / 386.6 MB, free: 14.5 MB / 330.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.00128/0.4742, allocations: 0.495 MB / 387.1 MB, free: 13.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.4743, allocations: 12.03 kB / 387.1 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.4744, allocations: 58.55 kB / 387.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.4745, allocations: 31.72 kB / 387.2 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.475, allocations: 243.2 kB / 387.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.475, allocations: 12.44 kB / 387.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.4751, allocations: 20 kB / 387.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.476, allocations: 225.8 kB / 387.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.476, allocations: 0 / 387.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.49e-05/0.4761, allocations: 8 kB / 387.7 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4761, allocations: 4 kB / 387.7 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006921/0.4768, allocations: 157.7 kB / 387.8 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002557/0.4794, allocations: 0.8517 MB / 388.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.48, allocations: 150.6 kB / 388.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.4801, allocations: 3.953 kB / 388.9 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/0.4801, allocations: 34.56 kB / 388.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 5.981e-06/0.4802, allocations: 4 kB / 388.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002671/0.4829, allocations: 429.9 kB / 389.3 MB, free: 11.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.4829, allocations: 51.41 kB / 389.4 MB, free: 11.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000308/0.4833, allocations: 161.8 kB / 389.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.4833, allocations: 25.7 kB / 389.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.4835, allocations: 148.1 kB / 389.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/0.4836, allocations: 71.08 kB / 389.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.4836, allocations: 4 kB / 389.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.4838, allocations: 330.8 kB / 390.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.4841, allocations: 52.34 kB / 390.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.4844, allocations: 75.3 kB / 390.2 MB, free: 10.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.4847, allocations: 64 kB / 390.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4847, allocations: 0 / 390.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007652/0.4855, allocations: 236 kB / 390.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.4855, allocations: 11.98 kB / 390.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4856, allocations: 0 / 390.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002134/0.4877, allocations: 212.7 kB / 390.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002815/0.488, allocations: 43.92 kB / 390.8 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006974/0.4887, allocations: 0.6109 MB / 391.4 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.489, allocations: 11.84 kB / 391.4 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.489, allocations: 15.98 kB / 391.4 MB, free: 9.383 MB / 330.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.0001995/0.4892, allocations: 125.8 kB / 391.5 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.872e-05/0.4893, allocations: 23.7 kB / 391.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007359/0.49, allocations: 232.3 kB / 391.8 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/0.4901, allocations: 4 kB / 391.8 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4901, allocations: 0 / 391.8 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.4901, allocations: 3.984 kB / 391.8 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.4906, allocations: 289.4 kB / 392.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4906, allocations: 0 / 392.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.4909, allocations: 27.97 kB / 392.1 MB, free: 8.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.4929, allocations: 232.5 kB / 392.3 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.4929, allocations: 4 kB / 392.3 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006653/0.4936, allocations: 0.6186 MB / 392.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4936, allocations: 4.062 kB / 392.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009318/0.4945, allocations: 394.1 kB / 393.3 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.4947, allocations: 108.8 kB / 393.4 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.4948, allocations: 12 kB / 393.4 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.495, allocations: 12.05 kB / 393.5 MB, free: 7.188 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.4951, allocations: 15.98 kB / 393.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.4951, allocations: 4 kB / 393.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.4953, allocations: 132.3 kB / 393.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4953, allocations: 0 / 393.6 MB, free: 7.039 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000435/0.4958, allocations: 63.83 kB / 393.7 MB, free: 6.977 MB / 330.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.001349/0.4972, allocations: 0.941 MB / 394.6 MB, free: 6.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006501/0.4978, allocations: 158.7 kB / 394.8 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4979, allocations: 4 kB / 394.8 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.4982, allocations: 83.91 kB / 394.9 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.4986, allocations: 28.2 kB / 394.9 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.5022, allocations: 1.681 MB / 396.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004361/0.5027, allocations: 0.7402 MB / 397.3 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.5028, allocations: 13.55 kB / 397.3 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.503, allocations: 63.41 kB / 397.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.503, allocations: 0 / 397.4 MB, free: 3.152 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03521/0.5382, allocations: 4.26 MB / 401.6 MB, free: 14.93 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/0.5386, allocations: 204.2 kB / 401.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/3.184, allocations: 0 / 401.8 MB, free: 14.69 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.HeatingRectifier_res.mat does not exist to compare? outputFormat=mat