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.079/1.079, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003058/0.0003059, allocations: 4 kB / 158.3 MB, free: 15.14 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05948/0.05984, allocations: 25.18 MB / 183.5 MB, free: 5.918 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.HeatingMOSInverter): time 0.004399/0.0643, allocations: 2.437 MB / 186 MB, free: 3.473 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001954/0.06631, allocations: 0.7148 MB / 186.7 MB, free: 2.758 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003241/0.06669, allocations: 4 kB / 186.7 MB, free: 2.754 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001135/0.06682, allocations: 43.67 kB / 186.7 MB, free: 2.711 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004504/0.06728, allocations: 139.6 kB / 186.8 MB, free: 2.574 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.06779, allocations: 99.88 kB / 186.9 MB, free: 2.477 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006956/0.0685, allocations: 368.7 kB / 187.3 MB, free: 2.117 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003407/0.06887, allocations: 128.3 kB / 187.4 MB, free: 1.988 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004125/0.06929, allocations: 179.4 kB / 187.6 MB, free: 1.812 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.06971, allocations: 227.1 kB / 187.8 MB, free: 1.59 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 8.265e-05/0.0698, allocations: 24 kB / 187.9 MB, free: 1.566 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.06997, allocations: 32 kB / 187.9 MB, free: 1.535 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.07009, allocations: 83.7 kB / 188 MB, free: 1.453 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.07025, allocations: 105.5 kB / 188.1 MB, free: 1.344 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006215/0.07088, allocations: 398.8 kB / 188.5 MB, free: 0.9531 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.0709, allocations: 4 kB / 188.5 MB, free: 0.9492 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.07091, allocations: 0 / 188.5 MB, free: 0.9492 MB / 154.7 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.07093, allocations: 0 / 188.5 MB, free: 0.9492 MB / 154.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.002555/0.07349, allocations: 0.7563 MB / 189.2 MB, free: 144 kB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.07357, allocations: 16.03 kB / 189.2 MB, free: 128 kB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.07374, allocations: 74.53 kB / 189.3 MB, free: 44 kB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.0739, allocations: 47.61 kB / 189.4 MB, free: 15.99 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.07446, allocations: 293.4 kB / 189.6 MB, free: 15.67 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.134e-05/0.07452, allocations: 25 kB / 189.7 MB, free: 15.64 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.07464, allocations: 36 kB / 189.7 MB, free: 15.61 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.07665, allocations: 0.5318 MB / 190.2 MB, free: 15.05 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.07671, allocations: 0 / 190.2 MB, free: 15.05 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/0.0768, allocations: 27.77 kB / 190.3 MB, free: 15.03 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.07683, allocations: 12 kB / 190.3 MB, free: 15.02 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002647/0.07949, allocations: 0.5621 MB / 190.8 MB, free: 14.46 MB / 170.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004468/0.08399, allocations: 1.644 MB / 192.5 MB, free: 12.68 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/0.08603, allocations: 475.5 kB / 192.9 MB, free: 12.2 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.975e-05/0.08614, allocations: 8.328 kB / 192.9 MB, free: 12.2 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.08619, allocations: 38.89 kB / 193 MB, free: 12.15 MB / 170.7 MB Notification: Performance of pre-optimization done (n=40): time 2.225e-06/0.0862, allocations: 0 / 193 MB, free: 12.15 MB / 170.7 MB Notification: Performance of matching and sorting (n=40): time 0.00963/0.09584, allocations: 1.535 MB / 194.5 MB, free: 10.57 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.09599, allocations: 162.2 kB / 194.7 MB, free: 10.37 MB / 170.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.0006267/0.09663, allocations: 278.9 kB / 195 MB, free: 10.09 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 9.984e-05/0.09675, allocations: 29.7 kB / 195 MB, free: 10.05 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002041/0.09697, allocations: 262.7 kB / 195.2 MB, free: 9.793 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.09717, allocations: 141.9 kB / 195.4 MB, free: 9.652 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.09722, allocations: 8 kB / 195.4 MB, free: 9.645 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.09738, allocations: 322.8 kB / 195.7 MB, free: 9.32 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009993/0.0984, allocations: 204.8 kB / 195.9 MB, free: 9.121 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.09958, allocations: 294.5 kB / 196.2 MB, free: 8.797 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.1007, allocations: 224.9 kB / 196.4 MB, free: 8.578 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1007, allocations: 0 / 196.4 MB, free: 8.578 MB / 170.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.004363/0.1051, allocations: 0.8305 MB / 197.2 MB, free: 7.734 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.1052, allocations: 4 kB / 197.2 MB, free: 7.73 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.1052, allocations: 4 kB / 197.2 MB, free: 7.727 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.1075, allocations: 337.5 kB / 197.6 MB, free: 7.391 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/0.1083, allocations: 87.88 kB / 197.7 MB, free: 7.305 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.1104, allocations: 1.366 MB / 199 MB, free: 5.883 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009726/0.1114, allocations: 95.72 kB / 199.1 MB, free: 5.789 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.1115, allocations: 23.97 kB / 199.1 MB, free: 5.766 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" 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.0004337/0.1119, allocations: 178.2 kB / 199.3 MB, free: 5.582 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1121, allocations: 39.47 kB / 199.4 MB, free: 5.543 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004087/0.1162, allocations: 0.8173 MB / 200.2 MB, free: 4.711 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.1162, allocations: 7.938 kB / 200.2 MB, free: 4.703 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.1162, allocations: 0 / 200.2 MB, free: 4.703 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.1163, allocations: 3.984 kB / 200.2 MB, free: 4.699 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009893/0.1173, allocations: 461 kB / 200.6 MB, free: 4.199 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.1173, allocations: 0 / 200.6 MB, free: 4.199 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.1179, allocations: 75.91 kB / 200.7 MB, free: 4.125 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/0.1202, allocations: 337.4 kB / 201 MB, free: 3.789 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.1203, allocations: 8 kB / 201 MB, free: 3.781 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002089/0.1224, allocations: 1.382 MB / 202.4 MB, free: 2.348 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.1224, allocations: 3.953 kB / 202.4 MB, free: 2.344 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005143/0.1276, allocations: 1.121 MB / 203.6 MB, free: 1.199 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003233/0.128, allocations: 140.6 kB / 203.7 MB, free: 1.043 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.1281, allocations: 15.95 kB / 203.7 MB, free: 1.027 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007544/0.1289, allocations: 79.78 kB / 203.8 MB, free: 0.9492 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.129, allocations: 23.91 kB / 203.8 MB, free: 0.9258 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.567e-05/0.129, allocations: 12 kB / 203.8 MB, free: 0.9141 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003987/0.1295, allocations: 189.9 kB / 204 MB, free: 0.7266 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1295, allocations: 4 kB / 204 MB, free: 0.7227 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006091/0.1301, allocations: 111.8 kB / 204.1 MB, free: 0.6133 MB / 170.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.1528/0.2829, allocations: 1.67 MB / 205.8 MB, free: 24.31 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.2855, allocations: 0.5033 MB / 206.3 MB, free: 24.31 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.2855, allocations: 2.594 kB / 206.3 MB, free: 24.31 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.2867, allocations: 272.9 kB / 206.6 MB, free: 24.31 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008563/0.2876, allocations: 73.86 kB / 206.6 MB, free: 24.31 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003097/0.2907, allocations: 1.465 MB / 208.1 MB, free: 23.49 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.2911, allocations: 0.8025 MB / 208.9 MB, free: 22.79 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/0.2914, allocations: 125.3 kB / 209 MB, free: 22.7 MB / 170.7 MB Notification: Performance of SimCode: time 2.415e-06/0.2914, allocations: 0 / 209 MB, free: 22.7 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.569/2.861, allocations: 8.323 MB / 217.3 MB, free: 19.27 MB / 170.7 MB