Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.61/1.61, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 8 kB / 233.3 MB, free: 2.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.0808, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.362/0.4429, allocations: 71.12 MB / 343.2 MB, free: 2.445 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.4433, allocations: 68.59 kB / 343.3 MB, free: 2.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02928/0.4726, allocations: 6.498 MB / 349.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4726, allocations: 0 / 349.8 MB, free: 12.79 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.705e-05/0.4726, allocations: 11.98 kB / 349.8 MB, free: 12.78 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002348/0.475, allocations: 0.7573 MB / 350.6 MB, free: 12 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.4751, allocations: 12.03 kB / 350.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.4753, allocations: 72.22 kB / 350.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.4754, allocations: 43.53 kB / 350.7 MB, free: 11.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.4759, allocations: 307.6 kB / 351 MB, free: 11.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.476, allocations: 29.81 kB / 351 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.4761, allocations: 33.44 kB / 351 MB, free: 11.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.478, allocations: 0.5278 MB / 351.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.478, allocations: 0 / 351.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/0.4781, allocations: 21.88 kB / 351.6 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.4781, allocations: 8 kB / 351.6 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/0.4807, allocations: 0.5609 MB / 352.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004002/0.4848, allocations: 1.415 MB / 353.6 MB, free: 9.484 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.4868, allocations: 464.7 kB / 354 MB, free: 9.137 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.4869, allocations: 8.281 kB / 354 MB, free: 9.129 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.487, allocations: 42.64 kB / 354.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=40): time 3.506e-06/0.487, allocations: 0 / 354.1 MB, free: 9.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=40): time 0.008741/0.4957, allocations: 1.443 MB / 355.5 MB, free: 7.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.4959, allocations: 166.2 kB / 355.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005017/0.4964, allocations: 238 kB / 355.9 MB, free: 7.367 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-05/0.4965, allocations: 32.64 kB / 355.9 MB, free: 7.336 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.4967, allocations: 271.3 kB / 356.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.4969, allocations: 135.7 kB / 356.3 MB, free: 6.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.497, allocations: 3.625 kB / 356.3 MB, free: 6.988 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4971, allocations: 330.1 kB / 356.7 MB, free: 6.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009788/0.4981, allocations: 207 kB / 356.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.4992, allocations: 295.5 kB / 357.2 MB, free: 6.246 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.5003, allocations: 217.2 kB / 357.4 MB, free: 6.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5003, allocations: 0 / 357.4 MB, free: 6.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00415/0.5044, allocations: 0.8104 MB / 358.2 MB, free: 5.418 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.5045, allocations: 12.03 kB / 358.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5045, allocations: 0 / 358.2 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/0.5068, allocations: 337.2 kB / 358.5 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.5076, allocations: 87.83 kB / 358.6 MB, free: 5.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.5097, allocations: 1.361 MB / 360 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/0.5107, allocations: 102.1 kB / 360.1 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.5108, allocations: 15.5 kB / 360.1 MB, free: 3.633 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (33): * Single equations (assignments): 31 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003157/0.5111, allocations: 162.3 kB / 360.2 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.5112, allocations: 31.62 kB / 360.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003854/0.5151, allocations: 0.7948 MB / 361.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.5152, allocations: 4 kB / 361.1 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5152, allocations: 7.938 kB / 361.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.5152, allocations: 3.984 kB / 361.1 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.5162, allocations: 465.2 kB / 361.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5162, allocations: 0 / 361.5 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005964/0.5168, allocations: 69.75 kB / 361.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.5191, allocations: 338.2 kB / 361.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.361e-05/0.5192, allocations: 19.23 kB / 362 MB, free: 2.031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.5213, allocations: 1.373 MB / 363.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.5213, allocations: 4.031 kB / 363.3 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/0.5262, allocations: 1.104 MB / 364.4 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.5265, allocations: 144.1 kB / 364.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.5266, allocations: 15.36 kB / 364.6 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.5274, allocations: 55.89 kB / 364.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.5275, allocations: 27.83 kB / 364.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.5276, allocations: 11.88 kB / 364.7 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003916/0.528, allocations: 188.7 kB / 364.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.528, allocations: 0 / 364.9 MB, free: 15.44 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006161/0.5286, allocations: 119.2 kB / 365 MB, free: 15.34 MB / 298.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 (22): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.005318/0.5339, allocations: 1.661 MB / 366.6 MB, free: 13.87 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.5363, allocations: 0.5101 MB / 367.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5363, allocations: 0 / 367.2 MB, free: 13.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/0.5375, allocations: 283.4 kB / 367.4 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.5381, allocations: 41.92 kB / 367.5 MB, free: 13.23 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009188/0.5473, allocations: 3.781 MB / 371.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004911/0.5478, allocations: 0.8076 MB / 372.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002872/0.5481, allocations: 121.3 kB / 372.2 MB, free: 8.883 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5481, allocations: 3.938 kB / 372.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.678/3.226, allocations: 8.33 MB / 380.5 MB, free: 0.6133 MB / 298.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter_res.mat does not exist to compare? outputFormat=mat