Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 0.9643/0.9643, allocations: 111.2 MB / 119.1 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.792e-05, allocations: 4 kB / 148.1 MB, free: 6.227 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04539/0.04544, allocations: 25.17 MB / 173.3 MB, free: 13.01 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.2353, allocations: 37.88 MB / 211.2 MB, free: 7.027 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001838/0.2355, allocations: 60.25 kB / 211.2 MB, free: 7.027 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02238/0.2579, allocations: 6.351 MB / 217.6 MB, free: 5.773 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.409e-06/0.2579, allocations: 0 / 217.6 MB, free: 5.773 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.258, allocations: 11.62 kB / 217.6 MB, free: 5.773 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.001302/0.2593, allocations: 0.6986 MB / 218.3 MB, free: 5.25 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.2593, allocations: 7.875 kB / 218.3 MB, free: 5.25 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.2594, allocations: 54.56 kB / 218.4 MB, free: 5.223 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.2598, allocations: 290.4 kB / 218.6 MB, free: 4.973 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.2599, allocations: 15.53 kB / 218.7 MB, free: 4.969 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.938e-05/0.2599, allocations: 23.34 kB / 218.7 MB, free: 4.969 MB / 170.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007518/0.2607, allocations: 333.4 kB / 219 MB, free: 4.945 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.2614, allocations: 371.8 kB / 219.4 MB, free: 4.812 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.2615, allocations: 0 / 219.4 MB, free: 4.812 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.031e-05/0.2615, allocations: 4 kB / 219.4 MB, free: 4.809 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2616, allocations: 11.53 kB / 219.4 MB, free: 4.809 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002649/0.2642, allocations: 1.341 MB / 220.7 MB, free: 4.098 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008822/0.2651, allocations: 346.6 kB / 221.1 MB, free: 4.047 MB / 170.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.2655, allocations: 180.5 kB / 221.2 MB, free: 4.023 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.2655, allocations: 14.33 kB / 221.2 MB, free: 4.02 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.2656, allocations: 42.05 kB / 221.3 MB, free: 3.977 MB / 170.7 MB Notification: Performance of pre-optimization done (n=40): time 2.838e-06/0.2656, allocations: 0 / 221.3 MB, free: 3.977 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.001504/0.2671, allocations: 492.1 kB / 221.8 MB, free: 3.844 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2671, allocations: 162.1 kB / 221.9 MB, free: 3.652 MB / 170.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.00026/0.2674, allocations: 212.2 kB / 222.1 MB, free: 3.535 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.2675, allocations: 25.7 kB / 222.2 MB, free: 3.504 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.477e-05/0.2676, allocations: 265.9 kB / 222.4 MB, free: 3.293 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.986e-05/0.2677, allocations: 127.6 kB / 222.5 MB, free: 3.195 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.2677, allocations: 0 / 222.5 MB, free: 3.195 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 5.76e-05/0.2678, allocations: 325.9 kB / 222.9 MB, free: 2.879 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.268, allocations: 115.5 kB / 223 MB, free: 2.875 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.2684, allocations: 208.2 kB / 223.2 MB, free: 2.762 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.2688, allocations: 137 kB / 223.3 MB, free: 2.742 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.999e-06/0.2688, allocations: 3.938 kB / 223.3 MB, free: 2.738 MB / 170.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001991/0.2708, allocations: 0.6066 MB / 223.9 MB, free: 2.559 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2708, allocations: 14.12 kB / 223.9 MB, free: 2.555 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.078e-06/0.2708, allocations: 0 / 223.9 MB, free: 2.555 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.2719, allocations: 254.9 kB / 224.2 MB, free: 2.484 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.2723, allocations: 81.66 kB / 224.3 MB, free: 2.465 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001192/0.2735, allocations: 1.339 MB / 225.6 MB, free: 1.379 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.2742, allocations: 89.52 kB / 225.7 MB, free: 1.336 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.2742, allocations: 19.16 kB / 225.7 MB, free: 1.332 MB / 170.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.0002137/0.2745, allocations: 131.3 kB / 225.8 MB, free: 1.211 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/0.2746, allocations: 38.86 kB / 225.9 MB, free: 1.191 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/0.2766, allocations: 0.599 MB / 226.5 MB, free: 1 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.2766, allocations: 3.828 kB / 226.5 MB, free: 1 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.203e-06/0.2766, allocations: 3.984 kB / 226.5 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.407e-06/0.2766, allocations: 0 / 226.5 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.2772, allocations: 396.8 kB / 226.9 MB, free: 0.75 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.865e-06/0.2772, allocations: 7.859 kB / 226.9 MB, free: 0.7461 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004251/0.2777, allocations: 65.28 kB / 226.9 MB, free: 0.7305 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.2788, allocations: 268.6 kB / 227.2 MB, free: 0.6523 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.2788, allocations: 0 / 227.2 MB, free: 0.6523 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001329/0.2802, allocations: 1.352 MB / 228.6 MB, free: 15.56 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.66e-06/0.2802, allocations: 7.938 kB / 228.6 MB, free: 15.55 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002197/0.2824, allocations: 0.8259 MB / 229.4 MB, free: 15.29 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.2827, allocations: 150 kB / 229.5 MB, free: 15.15 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.835e-05/0.2828, allocations: 7.25 kB / 229.5 MB, free: 15.15 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004914/0.2833, allocations: 58.97 kB / 229.6 MB, free: 15.13 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.2834, allocations: 27.27 kB / 229.6 MB, free: 15.12 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.2834, allocations: 7.875 kB / 229.6 MB, free: 15.12 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001832/0.2836, allocations: 165.2 kB / 229.8 MB, free: 15.03 MB / 186.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.2836, allocations: 4 kB / 229.8 MB, free: 15.03 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0005325/0.2842, allocations: 99.72 kB / 229.9 MB, free: 15.02 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.0001933/0.2844, allocations: 113.3 kB / 230 MB, free: 14.92 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0008512/0.2852, allocations: 346.7 kB / 230.3 MB, free: 14.89 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.451e-06/0.2853, allocations: 4.25 kB / 230.4 MB, free: 14.89 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004675/0.2857, allocations: 199 kB / 230.5 MB, free: 14.86 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005121/0.2863, allocations: 58.7 kB / 230.6 MB, free: 14.84 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.2876, allocations: 0.5894 MB / 231.2 MB, free: 14.49 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.2881, allocations: 0.8129 MB / 232 MB, free: 13.73 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.2882, allocations: 26.05 kB / 232 MB, free: 13.71 MB / 186.7 MB Notification: Performance of SimCode: time 1.439e-06/0.2883, allocations: 0 / 232 MB, free: 13.71 MB / 186.7 MB Notification: Performance of Templates: time 0.0109/0.2992, allocations: 6.762 MB / 238.8 MB, free: 9 MB / 186.7 MB