Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_HeatingMOSInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.157/1.157, allocations: 111.2 MB / 119.1 MB, free: 11.18 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.929e-05/2.946e-05, allocations: 4 kB / 148.2 MB, free: 6.117 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06799/0.06807, allocations: 25.17 MB / 173.4 MB, free: 12.91 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.2925, allocations: 37.88 MB / 211.3 MB, free: 4.598 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.2928, allocations: 63.94 kB / 211.3 MB, free: 4.598 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0259/0.3187, allocations: 6.342 MB / 217.7 MB, free: 3.074 MB / 170.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3188, allocations: 0 / 217.7 MB, free: 3.074 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.3188, allocations: 8.172 kB / 217.7 MB, free: 3.074 MB / 170.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.001929/0.3208, allocations: 0.7165 MB / 218.4 MB, free: 2.543 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3208, allocations: 7.469 kB / 218.4 MB, free: 2.543 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.3209, allocations: 53.12 kB / 218.5 MB, free: 2.52 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.3214, allocations: 292.7 kB / 218.7 MB, free: 2.266 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.3214, allocations: 11.44 kB / 218.8 MB, free: 2.266 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.3215, allocations: 23 kB / 218.8 MB, free: 2.266 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008594/0.3224, allocations: 336.7 kB / 219.1 MB, free: 2.238 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008237/0.3232, allocations: 372.9 kB / 219.5 MB, free: 2.105 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.3233, allocations: 7.891 kB / 219.5 MB, free: 2.098 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.3233, allocations: 0 / 219.5 MB, free: 2.098 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/0.3233, allocations: 7.844 kB / 219.5 MB, free: 2.098 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/0.3266, allocations: 1.334 MB / 220.8 MB, free: 1.391 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/0.3278, allocations: 359.8 kB / 221.2 MB, free: 1.332 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003629/0.3281, allocations: 176.5 kB / 221.3 MB, free: 1.316 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.259e-05/0.3282, allocations: 15.2 kB / 221.4 MB, free: 1.312 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3283, allocations: 34.77 kB / 221.4 MB, free: 1.273 MB / 170.7 MB Notification: Performance of pre-optimization done (n=40): time 3.266e-06/0.3283, allocations: 0 / 221.4 MB, free: 1.273 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.001873/0.3302, allocations: 494.4 kB / 221.9 MB, free: 1.137 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.383e-05/0.3302, allocations: 161.8 kB / 222 MB, free: 0.9492 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.1/Electrical/Analog/Sources.mo:361:5-361:68:writable] Warning: Parameter Sin.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.3306, allocations: 206.4 kB / 222.2 MB, free: 0.8359 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.3306, allocations: 25.7 kB / 222.3 MB, free: 0.8047 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3307, allocations: 264.4 kB / 222.5 MB, free: 0.5938 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.3309, allocations: 128.7 kB / 222.6 MB, free: 0.4961 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.3309, allocations: 0 / 222.6 MB, free: 0.4961 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 7.011e-05/0.331, allocations: 330.5 kB / 223 MB, free: 180 kB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003102/0.3313, allocations: 124.2 kB / 223.1 MB, free: 168 kB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.3317, allocations: 203.4 kB / 223.3 MB, free: 60 kB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.3321, allocations: 140.3 kB / 223.4 MB, free: 32 kB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3321, allocations: 0 / 223.4 MB, free: 32 kB / 170.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002591/0.3347, allocations: 0.604 MB / 224 MB, free: 15.86 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3347, allocations: 7.75 kB / 224 MB, free: 15.86 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3348, allocations: 0 / 224 MB, free: 15.86 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.3361, allocations: 256.6 kB / 224.3 MB, free: 15.78 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/0.3368, allocations: 88.53 kB / 224.4 MB, free: 15.76 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.3384, allocations: 1.331 MB / 225.7 MB, free: 14.68 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008985/0.3393, allocations: 101.1 kB / 225.8 MB, free: 14.63 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.634e-05/0.3394, allocations: 14.53 kB / 225.8 MB, free: 14.63 MB / 186.7 MB Warning: Assuming fixed start value for the following 2 variables: HeatCapacitor1.T:VARIABLE(min = max(1.0, max(1.0, max(1.0, max(1.0, 1.0)))) max = min(6000.0, min(6000.0, min(6000.0, min(6000.0, 6000.0)))) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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 () * 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.0002744/0.3396, allocations: 133 kB / 225.9 MB, free: 14.5 MB / 186.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001829/0.3415, allocations: 0.4892 MB / 226.4 MB, free: 14.36 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/0.3416, allocations: 38.98 kB / 226.5 MB, free: 14.34 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.3441, allocations: 0.5858 MB / 227.1 MB, free: 14.16 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3442, allocations: 3.875 kB / 227.1 MB, free: 14.16 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3442, allocations: 3.938 kB / 227.1 MB, free: 14.15 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3442, allocations: 3.984 kB / 227.1 MB, free: 14.15 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007457/0.345, allocations: 406.3 kB / 227.5 MB, free: 13.9 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.345, allocations: 0 / 227.5 MB, free: 13.9 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005612/0.3455, allocations: 69.22 kB / 227.5 MB, free: 13.88 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.3469, allocations: 255.8 kB / 227.8 MB, free: 13.81 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.3469, allocations: 3.719 kB / 227.8 MB, free: 13.81 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.3485, allocations: 1.351 MB / 229.1 MB, free: 12.72 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.3485, allocations: 3.953 kB / 229.1 MB, free: 12.72 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.3514, allocations: 0.8362 MB / 230 MB, free: 12.45 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.3516, allocations: 146 kB / 230.1 MB, free: 12.31 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.3517, allocations: 3.844 kB / 230.1 MB, free: 12.31 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006953/0.3524, allocations: 54.53 kB / 230.2 MB, free: 12.29 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.191e-05/0.3525, allocations: 31.16 kB / 230.2 MB, free: 12.28 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.3526, allocations: 11.56 kB / 230.2 MB, free: 12.27 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.3528, allocations: 164.3 kB / 230.4 MB, free: 12.19 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3528, allocations: 3.875 kB / 230.4 MB, free: 12.19 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005593/0.3534, allocations: 96.28 kB / 230.5 MB, free: 12.18 MB / 186.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 () * 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.003249/0.3567, allocations: 1.39 MB / 231.9 MB, free: 11.36 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.3577, allocations: 349.9 kB / 232.2 MB, free: 11.33 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3577, allocations: 0.5 kB / 232.2 MB, free: 11.33 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.3583, allocations: 199.5 kB / 232.4 MB, free: 11.3 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007318/0.359, allocations: 59.73 kB / 232.5 MB, free: 11.28 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.361, allocations: 0.6519 MB / 233.1 MB, free: 10.88 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.3615, allocations: 0.812 MB / 233.9 MB, free: 10.11 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002552/0.3617, allocations: 123 kB / 234 MB, free: 10.09 MB / 186.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3618, allocations: 0 / 234 MB, free: 10.09 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.637/2.999, allocations: 8.329 MB / 242.4 MB, free: 2.949 MB / 186.7 MB