Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003573, allocations: 11.94 kB / 233.4 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08444/0.08484, allocations: 38.77 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.4602, allocations: 81.97 MB / 354.1 MB, free: 7.148 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.4605, allocations: 77.47 kB / 354.2 MB, free: 7.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1442/0.6047, allocations: 44.2 MB / 398.4 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6048, allocations: 0 / 398.4 MB, free: 304 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.354e-05/0.6048, allocations: 12 kB / 398.4 MB, free: 292 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.003393/0.6082, allocations: 1.291 MB / 399.7 MB, free: 15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.6083, allocations: 16.02 kB / 399.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.6084, allocations: 62.05 kB / 399.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.6087, allocations: 122 kB / 399.9 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.6103, allocations: 0.7186 MB / 400.6 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.6104, allocations: 19.56 kB / 400.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.004e-05/0.6105, allocations: 26.84 kB / 400.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6115, allocations: 332.8 kB / 401 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.6116, allocations: 0 / 401 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.6116, allocations: 10.88 kB / 401 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.183e-05/0.6117, allocations: 7.984 kB / 401 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.6128, allocations: 296.8 kB / 401.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.6158, allocations: 1.395 MB / 402.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.617, allocations: 320.5 kB / 403 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007726/0.6248, allocations: 4.203 MB / 407.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006938/0.6255, allocations: 203.8 kB / 407.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.925e-06/0.6255, allocations: 0 / 407.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.002787/0.6283, allocations: 0.8425 MB / 408.2 MB, free: 6.23 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/0.6284, allocations: 63.55 kB / 408.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.6299, allocations: 0.72 MB / 409 MB, free: 5.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.63, allocations: 33.7 kB / 409 MB, free: 5.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.6305, allocations: 448.5 kB / 409.5 MB, free: 4.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.6307, allocations: 94.56 kB / 409.6 MB, free: 4.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.6307, allocations: 8 kB / 409.6 MB, free: 4.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.6309, allocations: 322 kB / 409.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.6315, allocations: 128.7 kB / 410 MB, free: 4.391 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005989/0.6321, allocations: 228.8 kB / 410.2 MB, free: 4.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.6327, allocations: 159.7 kB / 410.4 MB, free: 3.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.6327, allocations: 4 kB / 410.4 MB, free: 3.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001764/0.6345, allocations: 0.5329 MB / 410.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.6345, allocations: 5.094 kB / 410.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.01e-05/0.6346, allocations: 35.98 kB / 411 MB, free: 3.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003161/0.6349, allocations: 49.69 kB / 411 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.6355, allocations: 92.09 kB / 411.1 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/0.6383, allocations: 2.658 MB / 413.8 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000714/0.639, allocations: 47.58 kB / 413.8 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.6391, allocations: 20.06 kB / 413.8 MB, free: 244 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005454/0.6397, allocations: 209.7 kB / 414 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.6399, allocations: 103 kB / 414.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.6419, allocations: 0.5133 MB / 414.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.642, allocations: 11.77 kB / 414.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.642, allocations: 0 / 414.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.642, allocations: 4 kB / 414.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.6431, allocations: 0.566 MB / 415.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.628e-05/0.6432, allocations: 35.98 kB / 415.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.6437, allocations: 43.91 kB / 415.3 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002656/0.644, allocations: 53.67 kB / 415.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.181e-05/0.644, allocations: 11.95 kB / 415.4 MB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/0.6466, allocations: 2.658 MB / 418 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.728e-06/0.6467, allocations: 4.031 kB / 418 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.6489, allocations: 0.6356 MB / 418.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004219/0.6494, allocations: 191.7 kB / 418.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6496, allocations: 4 kB / 418.9 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.65, allocations: 24.05 kB / 418.9 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6502, allocations: 31.95 kB / 418.9 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.6502, allocations: 8 kB / 418.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001143/0.6514, allocations: 0.5662 MB / 419.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6514, allocations: 0 / 419.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0012/0.6526, allocations: 283.6 kB / 419.8 MB, free: 9.902 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * 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: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003626/0.6563, allocations: 1.521 MB / 421.3 MB, free: 8.344 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001749/0.658, allocations: 0.6051 MB / 421.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6581, allocations: 0 / 421.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.6591, allocations: 450.9 kB / 422.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007185/0.6598, allocations: 92.45 kB / 422.4 MB, free: 7.145 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2425/0.9024, allocations: 6.995 MB / 429.4 MB, free: 91.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.9031, allocations: 0.9764 MB / 430.4 MB, free: 91.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005971/0.9037, allocations: 97.61 kB / 430.5 MB, free: 91.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005666/0.9043, allocations: 337.4 kB / 430.8 MB, free: 91.14 MB / 346.7 MB Notification: Performance of SimCode: time 1.503e-06/0.9043, allocations: 0 / 430.8 MB, free: 91.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06442/0.9687, allocations: 18.41 MB / 449.2 MB, free: 90.29 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.969, allocations: 218.4 kB / 449.4 MB, free: 90.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.373/4.342, allocations: 3.938 kB / 449.4 MB, free: 90.04 MB / 346.7 MB