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: "" <> 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.014/1.014, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 4 kB / 158.4 MB, free: 15.07 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08015/0.08054, allocations: 25.18 MB / 183.6 MB, free: 5.859 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.3077, allocations: 38.63 MB / 222.2 MB, free: 5.094 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.308, allocations: 68.5 kB / 222.3 MB, free: 5.086 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02506/0.3331, allocations: 6.408 MB / 228.7 MB, free: 1.785 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.3331, allocations: 0 / 228.7 MB, free: 1.785 MB / 170.7 MB Notification: Performance of Transformations before backend: time 2.058e-05/0.3331, allocations: 8 kB / 228.7 MB, free: 1.777 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.001966/0.3351, allocations: 0.7464 MB / 229.5 MB, free: 1.012 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3352, allocations: 16.03 kB / 229.5 MB, free: 0.9961 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.3353, allocations: 77.39 kB / 229.5 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.3354, allocations: 43.53 kB / 229.6 MB, free: 0.8906 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.3358, allocations: 293.6 kB / 229.9 MB, free: 0.5977 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.3359, allocations: 36.11 kB / 229.9 MB, free: 0.5742 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.62e-05/0.336, allocations: 38.38 kB / 230 MB, free: 0.5508 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.3376, allocations: 0.5241 MB / 230.5 MB, free: 132 kB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.3376, allocations: 0 / 230.5 MB, free: 132 kB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.3377, allocations: 14.5 kB / 230.5 MB, free: 128 kB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.3377, allocations: 12 kB / 230.5 MB, free: 116 kB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.3401, allocations: 0.5648 MB / 231.1 MB, free: 15.68 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.344, allocations: 1.407 MB / 232.5 MB, free: 14.5 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.3459, allocations: 477.3 kB / 232.9 MB, free: 14.15 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.775e-05/0.346, allocations: 8.312 kB / 232.9 MB, free: 14.14 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.3461, allocations: 41.7 kB / 233 MB, free: 14.1 MB / 186.7 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.3461, allocations: 0 / 233 MB, free: 14.1 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.008243/0.3543, allocations: 1.445 MB / 234.4 MB, free: 12.79 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.3545, allocations: 158.2 kB / 234.6 MB, free: 12.59 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.0005329/0.355, allocations: 244.3 kB / 234.8 MB, free: 12.38 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.3551, allocations: 32.89 kB / 234.9 MB, free: 12.34 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.3553, allocations: 260.6 kB / 235.1 MB, free: 12.12 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.3555, allocations: 139.2 kB / 235.2 MB, free: 12 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.3555, allocations: 5.812 kB / 235.3 MB, free: 12 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3557, allocations: 332.8 kB / 235.6 MB, free: 11.67 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009418/0.3566, allocations: 199.2 kB / 235.8 MB, free: 11.52 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.3577, allocations: 297.5 kB / 236.1 MB, free: 11.25 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009915/0.3587, allocations: 220.5 kB / 236.3 MB, free: 11.1 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3587, allocations: 0 / 236.3 MB, free: 11.1 MB / 186.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004074/0.3628, allocations: 0.8237 MB / 237.1 MB, free: 10.41 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.3628, allocations: 4 kB / 237.1 MB, free: 10.41 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.3629, allocations: 0 / 237.1 MB, free: 10.41 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002184/0.3651, allocations: 344.2 kB / 237.4 MB, free: 10.11 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000702/0.3658, allocations: 91.56 kB / 237.5 MB, free: 10.03 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.3679, allocations: 1.359 MB / 238.9 MB, free: 8.734 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009235/0.3688, allocations: 97.92 kB / 239 MB, free: 8.645 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.3689, allocations: 14.88 kB / 239 MB, free: 8.633 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.0004159/0.3693, allocations: 180.3 kB / 239.2 MB, free: 8.473 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3695, allocations: 31.62 kB / 239.2 MB, free: 8.441 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003798/0.3733, allocations: 0.8056 MB / 240 MB, free: 7.793 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3733, allocations: 7.984 kB / 240 MB, free: 7.785 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3733, allocations: 0 / 240 MB, free: 7.785 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.3733, allocations: 3.984 kB / 240 MB, free: 7.781 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008282/0.3742, allocations: 460 kB / 240.5 MB, free: 7.379 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.3742, allocations: 4 kB / 240.5 MB, free: 7.375 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005807/0.3748, allocations: 71.25 kB / 240.5 MB, free: 7.309 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002074/0.3769, allocations: 336.7 kB / 240.9 MB, free: 7.02 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.3769, allocations: 10.73 kB / 240.9 MB, free: 7.016 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.3789, allocations: 1.39 MB / 242.3 MB, free: 5.699 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3789, allocations: 0 / 242.3 MB, free: 5.699 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004637/0.3835, allocations: 1.096 MB / 243.4 MB, free: 4.805 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.3838, allocations: 148.8 kB / 243.5 MB, free: 4.656 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.746e-05/0.3839, allocations: 10.12 kB / 243.5 MB, free: 4.652 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007091/0.3847, allocations: 66.75 kB / 243.6 MB, free: 4.594 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.399e-05/0.3848, allocations: 19.34 kB / 243.6 MB, free: 4.578 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.3848, allocations: 11.19 kB / 243.6 MB, free: 4.57 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.000374/0.3852, allocations: 198.6 kB / 243.8 MB, free: 4.406 MB / 186.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3852, allocations: 0 / 243.8 MB, free: 4.406 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006236/0.3858, allocations: 119.1 kB / 243.9 MB, free: 4.301 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.005068/0.3909, allocations: 1.666 MB / 245.6 MB, free: 2.832 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.002251/0.3932, allocations: 0.5127 MB / 246.1 MB, free: 2.43 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.3932, allocations: 0 / 246.1 MB, free: 2.43 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.3943, allocations: 284.5 kB / 246.4 MB, free: 2.211 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.3952, allocations: 72 kB / 246.5 MB, free: 2.16 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.3987, allocations: 2.486 MB / 248.9 MB, free: 15.71 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/0.3992, allocations: 0.8074 MB / 249.8 MB, free: 14.87 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.3995, allocations: 126.9 kB / 249.9 MB, free: 14.84 MB / 202.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3995, allocations: 0 / 249.9 MB, free: 14.84 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.663/3.062, allocations: 8.322 MB / 258.2 MB, free: 6.578 MB / 202.7 MB