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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.HeatingMOSInverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.HeatingMOSInverter") Notification: Performance of loadModel(Modelica): time 1.013/1.013, allocations: 111.1 MB / 127.3 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.000358, allocations: 12 kB / 158.9 MB, free: 15.23 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05761/0.058, allocations: 25.16 MB / 184 MB, free: 6.031 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.29, allocations: 38.63 MB / 222.7 MB, free: 5.418 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.2904, allocations: 76.31 kB / 222.7 MB, free: 5.406 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0267/0.3171, allocations: 6.404 MB / 229.1 MB, free: 2.328 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3171, allocations: 0 / 229.1 MB, free: 2.328 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.3172, allocations: 8 kB / 229.1 MB, free: 2.32 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.002129/0.3193, allocations: 0.7501 MB / 229.9 MB, free: 1.551 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3194, allocations: 9.562 kB / 229.9 MB, free: 1.543 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.3196, allocations: 47.53 kB / 230 MB, free: 1.496 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004573/0.32, allocations: 295.4 kB / 230.2 MB, free: 1.203 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.3201, allocations: 27.62 kB / 230.3 MB, free: 1.188 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.3202, allocations: 39.12 kB / 230.3 MB, free: 1.16 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.322, allocations: 0.5362 MB / 230.8 MB, free: 0.7266 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.322, allocations: 0 / 230.8 MB, free: 0.7266 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/0.3221, allocations: 16.25 kB / 230.9 MB, free: 0.7227 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.3221, allocations: 8 kB / 230.9 MB, free: 0.7148 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.3245, allocations: 0.5661 MB / 231.4 MB, free: 284 kB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00417/0.3287, allocations: 1.402 MB / 232.8 MB, free: 15.11 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.3308, allocations: 461.5 kB / 233.3 MB, free: 14.77 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.054e-05/0.331, allocations: 13.88 kB / 233.3 MB, free: 14.75 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.331, allocations: 41.88 kB / 233.3 MB, free: 14.71 MB / 186.7 MB Notification: Performance of pre-optimization done (n=40): time 3.106e-06/0.331, allocations: 0 / 233.3 MB, free: 14.71 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.008737/0.3398, allocations: 1.443 MB / 234.8 MB, free: 13.4 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.943e-05/0.3399, allocations: 162.2 kB / 234.9 MB, free: 13.2 MB / 186.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.0006142/0.3406, allocations: 273.3 kB / 235.2 MB, free: 12.96 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.3407, allocations: 36.52 kB / 235.2 MB, free: 12.93 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3409, allocations: 256.2 kB / 235.5 MB, free: 12.71 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.3411, allocations: 141.6 kB / 235.6 MB, free: 12.59 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.3411, allocations: 6.625 kB / 235.6 MB, free: 12.59 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3413, allocations: 329.5 kB / 236 MB, free: 12.26 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.3423, allocations: 197.8 kB / 236.2 MB, free: 12.11 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.3434, allocations: 304.5 kB / 236.5 MB, free: 11.84 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3445, allocations: 217.8 kB / 236.7 MB, free: 11.69 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3445, allocations: 0 / 236.7 MB, free: 11.69 MB / 186.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004199/0.3487, allocations: 0.8199 MB / 237.5 MB, free: 11 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.3488, allocations: 6.969 kB / 237.5 MB, free: 11 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.3488, allocations: 7.984 kB / 237.5 MB, free: 10.99 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002319/0.3512, allocations: 330.1 kB / 237.8 MB, free: 10.71 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.3519, allocations: 95.75 kB / 237.9 MB, free: 10.62 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/0.354, allocations: 1.372 MB / 239.3 MB, free: 9.312 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/0.355, allocations: 95.03 kB / 239.4 MB, free: 9.227 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.3551, allocations: 19.55 kB / 239.4 MB, free: 9.211 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" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Capacitor1.v:VARIABLE(unit = "V" fixed = true ) "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 () * 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.000433/0.3555, allocations: 181.2 kB / 239.6 MB, free: 9.051 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3556, allocations: 35.62 kB / 239.6 MB, free: 9.016 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/0.3596, allocations: 0.794 MB / 240.4 MB, free: 8.379 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.3596, allocations: 4 kB / 240.4 MB, free: 8.375 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.3596, allocations: 0 / 240.4 MB, free: 8.375 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.3597, allocations: 8 kB / 240.4 MB, free: 8.367 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009314/0.3606, allocations: 465 kB / 240.9 MB, free: 7.965 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.3606, allocations: 3.984 kB / 240.9 MB, free: 7.961 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000597/0.3613, allocations: 63.95 kB / 240.9 MB, free: 7.898 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/0.3635, allocations: 335.3 kB / 241.3 MB, free: 7.609 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-05/0.3636, allocations: 19.25 kB / 241.3 MB, free: 7.598 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.3657, allocations: 1.371 MB / 242.7 MB, free: 6.297 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.3657, allocations: 7.938 kB / 242.7 MB, free: 6.289 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/0.3706, allocations: 1.097 MB / 243.8 MB, free: 5.398 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.371, allocations: 150.5 kB / 243.9 MB, free: 5.246 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.3711, allocations: 10.98 kB / 243.9 MB, free: 5.242 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000741/0.3719, allocations: 70.11 kB / 244 MB, free: 5.18 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.372, allocations: 22.91 kB / 244 MB, free: 5.16 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.717e-05/0.3721, allocations: 15.48 kB / 244 MB, free: 5.148 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0003911/0.3725, allocations: 189.1 kB / 244.2 MB, free: 4.992 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3725, allocations: 0 / 244.2 MB, free: 4.992 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006679/0.3732, allocations: 120.5 kB / 244.3 MB, free: 4.887 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 () * 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.0002406/0.3734, allocations: 125.7 kB / 244.4 MB, free: 4.762 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.3758, allocations: 0.5154 MB / 245 MB, free: 4.355 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.3759, allocations: 384 / 245 MB, free: 4.355 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001149/0.3771, allocations: 282.8 kB / 245.2 MB, free: 4.141 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/0.3779, allocations: 69.5 kB / 245.3 MB, free: 4.09 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3806, allocations: 1.072 MB / 246.4 MB, free: 3.062 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.3811, allocations: 0.8113 MB / 247.2 MB, free: 2.223 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.3813, allocations: 26.19 kB / 247.2 MB, free: 2.199 MB / 186.7 MB Notification: Performance of SimCode: time 1.503e-06/0.3813, allocations: 0 / 247.2 MB, free: 2.199 MB / 186.7 MB Notification: Performance of Templates: time 0.01519/0.3965, allocations: 6.858 MB / 254.1 MB, free: 11.38 MB / 202.7 MB