Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.609/1.609, allocations: 171.1 MB / 186.7 MB, free: 1.039 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003491, allocations: 8 kB / 233.3 MB, free: 2.918 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0801/0.08047, allocations: 38.76 MB / 272.1 MB, free: 12.07 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.361/0.4415, allocations: 81.97 MB / 354.1 MB, free: 7.75 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.4418, allocations: 79.52 kB / 354.1 MB, free: 7.707 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1449/0.5868, allocations: 44.2 MB / 398.4 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5868, allocations: 0 / 398.4 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.315e-05/0.5869, allocations: 12 kB / 398.4 MB, free: 0.8828 MB / 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.003341/0.5903, allocations: 1.295 MB / 399.7 MB, free: 15.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.5903, allocations: 8.031 kB / 399.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.5905, allocations: 67.78 kB / 399.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.5907, allocations: 114.6 kB / 399.8 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.5923, allocations: 0.7235 MB / 400.6 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.5924, allocations: 18.88 kB / 400.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.19e-05/0.5925, allocations: 26.84 kB / 400.6 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.5935, allocations: 332.5 kB / 400.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.5935, allocations: 0 / 400.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/0.5936, allocations: 11 kB / 400.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5936, allocations: 4 kB / 401 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.5947, allocations: 302.4 kB / 401.2 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.5978, allocations: 1.397 MB / 402.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.599, allocations: 314.8 kB / 403 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007528/0.6066, allocations: 4.204 MB / 407.2 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006869/0.6073, allocations: 203.7 kB / 407.4 MB, free: 7.707 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 5.28e-06/0.6074, allocations: 0 / 407.4 MB, free: 7.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.002765/0.6101, allocations: 0.8425 MB / 408.2 MB, free: 6.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.6102, allocations: 63.55 kB / 408.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001466/0.6117, allocations: 0.7199 MB / 409 MB, free: 5.988 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.6118, allocations: 33.7 kB / 409 MB, free: 5.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.6123, allocations: 430.4 kB / 409.4 MB, free: 5.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.6124, allocations: 102.5 kB / 409.5 MB, free: 5.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.6125, allocations: 4 kB / 409.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6126, allocations: 322.8 kB / 409.9 MB, free: 5.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005363/0.6132, allocations: 128.7 kB / 410 MB, free: 4.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006231/0.6138, allocations: 232.8 kB / 410.2 MB, free: 4.695 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.6144, allocations: 155.8 kB / 410.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6144, allocations: 0 / 410.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00154/0.616, allocations: 454.6 kB / 410.8 MB, free: 4.086 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.616, allocations: 8 kB / 410.8 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-05/0.6161, allocations: 35.98 kB / 410.8 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000308/0.6165, allocations: 53.69 kB / 410.9 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005703/0.617, allocations: 88.2 kB / 411 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.6198, allocations: 2.654 MB / 413.6 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006763/0.6205, allocations: 47.8 kB / 413.7 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.979e-05/0.6206, allocations: 20 kB / 413.7 MB, free: 0.9102 MB / 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.0005205/0.6211, allocations: 205.7 kB / 413.9 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.6213, allocations: 106.7 kB / 414 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.6233, allocations: 0.5134 MB / 414.5 MB, free: 68 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.6234, allocations: 11.94 kB / 414.5 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6234, allocations: 8 kB / 414.5 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.6234, allocations: 0 / 414.5 MB, free: 48 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.6249, allocations: 0.5737 MB / 415.1 MB, free: 15.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001038/0.625, allocations: 35.98 kB / 415.2 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006124/0.6256, allocations: 43.91 kB / 415.2 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003215/0.626, allocations: 49.67 kB / 415.2 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-05/0.626, allocations: 15.95 kB / 415.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003403/0.6295, allocations: 2.651 MB / 417.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6295, allocations: 0 / 417.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/0.6323, allocations: 0.6395 MB / 418.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004968/0.6329, allocations: 191.8 kB / 418.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.6331, allocations: 4 kB / 418.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.6337, allocations: 20.05 kB / 418.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.6339, allocations: 31.95 kB / 418.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.634, allocations: 8 kB / 418.8 MB, free: 11.43 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001609/0.6356, allocations: 0.5662 MB / 419.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.6356, allocations: 0 / 419.4 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001755/0.6374, allocations: 287.4 kB / 419.6 MB, free: 10.57 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.004961/0.6424, allocations: 1.525 MB / 421.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002325/0.6448, allocations: 0.605 MB / 421.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.6448, allocations: 0 / 421.8 MB, free: 8.371 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.6464, allocations: 451 kB / 422.2 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009199/0.6473, allocations: 92.39 kB / 422.3 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/0.6645, allocations: 7.045 MB / 429.4 MB, free: 496 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2666/0.9312, allocations: 0.9725 MB / 430.3 MB, free: 91.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006091/0.9318, allocations: 336.5 kB / 430.7 MB, free: 91.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9318, allocations: 0 / 430.7 MB, free: 91.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.886/3.818, allocations: 21.31 MB / 452 MB, free: 90.07 MB / 346.7 MB