Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003748, allocations: 8 kB / 264.1 MB, free: 3.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.172/0.4989, allocations: 86.11 MB / 394.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.4993, allocations: 75.95 kB / 394.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4468/0.9461, allocations: 43.74 MB / 438.5 MB, free: 84.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.9461, allocations: 0 / 438.5 MB, free: 84.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.847e-05/0.9462, allocations: 12.84 kB / 438.5 MB, free: 84.25 MB / 346.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.003213/0.9494, allocations: 1.301 MB / 439.8 MB, free: 83.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.9495, allocations: 8.031 kB / 439.8 MB, free: 83.09 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001177/0.9496, allocations: 70.77 kB / 439.9 MB, free: 83.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002055/0.9498, allocations: 114.7 kB / 440 MB, free: 82.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001952/0.9518, allocations: 0.7228 MB / 440.7 MB, free: 82.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.9519, allocations: 20.56 kB / 440.7 MB, free: 82.26 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.13e-05/0.9519, allocations: 24 kB / 440.8 MB, free: 82.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/0.9529, allocations: 327.2 kB / 441.1 MB, free: 81.96 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.9529, allocations: 0 / 441.1 MB, free: 81.96 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.709e-05/0.953, allocations: 15.94 kB / 441.1 MB, free: 81.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.953, allocations: 7.953 kB / 441.1 MB, free: 81.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000967/0.954, allocations: 296.6 kB / 441.4 MB, free: 81.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/0.9567, allocations: 1.413 MB / 442.8 MB, free: 80.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009977/0.9578, allocations: 316 kB / 443.1 MB, free: 80.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006279/0.9641, allocations: 4.188 MB / 447.3 MB, free: 75.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.9647, allocations: 201.8 kB / 447.5 MB, free: 75.47 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.677e-06/0.9648, allocations: 0 / 447.5 MB, free: 75.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.002512/0.9673, allocations: 0.8428 MB / 448.3 MB, free: 74.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.9674, allocations: 63.53 kB / 448.4 MB, free: 74.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.9686, allocations: 0.7142 MB / 449.1 MB, free: 73.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.9686, allocations: 33.7 kB / 449.1 MB, free: 73.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.969, allocations: 444.4 kB / 449.6 MB, free: 73.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.9692, allocations: 106.6 kB / 449.7 MB, free: 73.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.9692, allocations: 11.94 kB / 449.7 MB, free: 73.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.049e-05/0.9693, allocations: 318 kB / 450 MB, free: 73.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/0.9698, allocations: 124.7 kB / 450.1 MB, free: 72.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.9703, allocations: 234.2 kB / 450.4 MB, free: 72.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.9708, allocations: 155.7 kB / 450.5 MB, free: 72.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.9708, allocations: 4 kB / 450.5 MB, free: 72.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001522/0.9724, allocations: 0.5328 MB / 451 MB, free: 71.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.9724, allocations: 6.812 kB / 451.1 MB, free: 71.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.548e-05/0.9725, allocations: 39.92 kB / 451.1 MB, free: 71.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/0.9728, allocations: 53.69 kB / 451.1 MB, free: 71.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005205/0.9733, allocations: 81.58 kB / 451.2 MB, free: 71.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.9754, allocations: 2.662 MB / 453.9 MB, free: 68.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.9761, allocations: 51.75 kB / 453.9 MB, free: 68.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.9762, allocations: 20 kB / 454 MB, free: 68.75 MB / 346.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.0004622/0.9766, allocations: 205.7 kB / 454.2 MB, free: 68.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.9768, allocations: 106.7 kB / 454.3 MB, free: 68.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.9786, allocations: 0.5128 MB / 454.8 MB, free: 67.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.9786, allocations: 7.984 kB / 454.8 MB, free: 67.9 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.9787, allocations: 7.938 kB / 454.8 MB, free: 67.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.9787, allocations: 0 / 454.8 MB, free: 67.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008795/0.9796, allocations: 0.5699 MB / 455.4 MB, free: 67.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.436e-05/0.9796, allocations: 35.95 kB / 455.4 MB, free: 67.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.9801, allocations: 43.95 kB / 455.4 MB, free: 67.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002316/0.9803, allocations: 45.69 kB / 455.5 MB, free: 67.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.785e-05/0.9804, allocations: 19.92 kB / 455.5 MB, free: 67.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/0.9823, allocations: 2.655 MB / 458.2 MB, free: 64.2 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9823, allocations: 4.031 kB / 458.2 MB, free: 64.2 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.9843, allocations: 0.6308 MB / 458.8 MB, free: 63.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003591/0.9847, allocations: 191.8 kB / 459 MB, free: 63.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.9848, allocations: 0 / 459 MB, free: 63.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.9852, allocations: 28 kB / 459 MB, free: 63.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.9854, allocations: 31.95 kB / 459 MB, free: 63.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.69e-05/0.9854, allocations: 8 kB / 459 MB, free: 63.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009672/0.9864, allocations: 0.5662 MB / 459.6 MB, free: 62.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.9864, allocations: 0 / 459.6 MB, free: 62.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001079/0.9875, allocations: 279.6 kB / 459.9 MB, free: 62.42 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.003/0.9905, allocations: 1.523 MB / 461.4 MB, free: 60.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.9921, allocations: 0.6049 MB / 462 MB, free: 60.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9921, allocations: 0 / 462 MB, free: 60.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008198/0.993, allocations: 455 kB / 462.5 MB, free: 59.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006641/0.9936, allocations: 92.33 kB / 462.5 MB, free: 59.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.005, allocations: 6.997 MB / 469.5 MB, free: 52.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/1.006, allocations: 0.9797 MB / 470.5 MB, free: 51.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005338/1.006, allocations: 93.72 kB / 470.6 MB, free: 51.28 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005079/1.007, allocations: 335.3 kB / 470.9 MB, free: 50.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/1.007, allocations: 0 / 470.9 MB, free: 50.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05485/1.061, allocations: 18.39 MB / 489.3 MB, free: 32.59 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002719/1.062, allocations: 223 kB / 489.6 MB, free: 32.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/4.381, allocations: 4 kB / 489.6 MB, free: 32.33 MB / 346.7 MB