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.082/2.082, allocations: 194.9 MB / 211.1 MB, free: 7.773 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004288, allocations: 12 kB / 264.1 MB, free: 2.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3032, allocations: 44.51 MB / 308.6 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter): time 0.007051/0.3103, allocations: 4.15 MB / 312.7 MB, free: 8.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02034/0.3307, allocations: 9.032 MB / 321.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.332, allocations: 11.88 kB / 321.8 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004368/0.3364, allocations: 0.6145 MB / 322.4 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006028/0.3425, allocations: 0.845 MB / 323.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003282/0.3459, allocations: 403.4 kB / 323.6 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005229/0.3512, allocations: 1.127 MB / 324.7 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006172/0.3518, allocations: 151.8 kB / 324.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000734/0.3526, allocations: 234.8 kB / 325.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007674/0.3534, allocations: 286.2 kB / 325.4 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.3536, allocations: 20 kB / 325.4 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003598/0.3572, allocations: 0.6557 MB / 326.1 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002568/0.3575, allocations: 91.36 kB / 326.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004539/0.358, allocations: 193.1 kB / 326.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.3608, allocations: 0.8726 MB / 327.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3608, allocations: 0 / 327.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.3609, allocations: 0 / 327.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.696e-05/0.3609, allocations: 4 kB / 327.2 MB, free: 9.934 MB / 266.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.003961/0.3649, allocations: 1.203 MB / 328.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.298e-05/0.365, allocations: 8.031 kB / 328.4 MB, free: 8.672 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.3652, allocations: 62.53 kB / 328.5 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.3655, allocations: 118.6 kB / 328.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.3678, allocations: 0.704 MB / 329.3 MB, free: 7.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.593e-05/0.3679, allocations: 20.56 kB / 329.3 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.368, allocations: 24 kB / 329.4 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.3695, allocations: 321.3 kB / 329.7 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.3696, allocations: 3.953 kB / 329.7 MB, free: 7.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.3697, allocations: 16 kB / 329.7 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.3697, allocations: 4 kB / 329.7 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.3715, allocations: 302.1 kB / 330 MB, free: 7.047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004627/0.3761, allocations: 1.384 MB / 331.4 MB, free: 5.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.3779, allocations: 314.8 kB / 331.7 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009472/0.3874, allocations: 3.612 MB / 335.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.3885, allocations: 200.4 kB / 335.5 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 7.244e-06/0.3886, allocations: 0 / 335.5 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.004126/0.3927, allocations: 0.8487 MB / 336.3 MB, free: 15.97 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.3928, allocations: 55.41 kB / 336.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/0.3949, allocations: 0.8037 MB / 337.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.395, allocations: 37.7 kB / 337.2 MB, free: 15.04 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007062/0.3958, allocations: 452.4 kB / 337.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.396, allocations: 90.66 kB / 337.8 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.396, allocations: 8 kB / 337.8 MB, free: 14.49 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3962, allocations: 318 kB / 338.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007718/0.397, allocations: 132.7 kB / 338.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.3979, allocations: 232.1 kB / 338.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.3988, allocations: 147.8 kB / 338.6 MB, free: 13.63 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/0.3988, allocations: 7.938 kB / 338.6 MB, free: 13.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.00257/0.4014, allocations: 0.5365 MB / 339.1 MB, free: 13.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.764e-05/0.4015, allocations: 8.406 kB / 339.1 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000128/0.4017, allocations: 39.98 kB / 339.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004508/0.4021, allocations: 53.69 kB / 339.2 MB, free: 12.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.403, allocations: 75.8 kB / 339.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003876/0.4069, allocations: 2.67 MB / 342 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000911/0.4079, allocations: 43.67 kB / 342 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/0.408, allocations: 16 kB / 342 MB, free: 9.895 MB / 282.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.0006488/0.4087, allocations: 209.8 kB / 342.2 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.4089, allocations: 106.7 kB / 342.3 MB, free: 9.574 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.4119, allocations: 0.5168 MB / 342.9 MB, free: 9.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.4119, allocations: 3.984 kB / 342.9 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.412, allocations: 4 kB / 342.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.412, allocations: 0 / 342.9 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.4134, allocations: 0.5545 MB / 343.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001123/0.4135, allocations: 31.98 kB / 343.4 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.4142, allocations: 47.95 kB / 343.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003452/0.4145, allocations: 45.69 kB / 343.5 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.4146, allocations: 8 kB / 343.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003595/0.4182, allocations: 2.651 MB / 346.2 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.4183, allocations: 3.938 kB / 346.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.4212, allocations: 0.6354 MB / 346.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004637/0.4217, allocations: 179.8 kB / 347 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.422, allocations: 11.95 kB / 347 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006251/0.4226, allocations: 19.97 kB / 347 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.4228, allocations: 27.91 kB / 347.1 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.374e-05/0.4229, allocations: 16 kB / 347.1 MB, free: 4.449 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001546/0.4245, allocations: 0.5428 MB / 347.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4245, allocations: 0 / 347.6 MB, free: 3.898 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001469/0.426, allocations: 247.6 kB / 347.9 MB, free: 3.656 MB / 282.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.004445/0.4305, allocations: 1.418 MB / 349.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.4328, allocations: 0.6011 MB / 349.9 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/0.4328, allocations: 4 kB / 349.9 MB, free: 1.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.4342, allocations: 447 kB / 350.3 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/0.4352, allocations: 88.39 kB / 350.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02017/0.4554, allocations: 4.809 MB / 355.2 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.4565, allocations: 0.9756 MB / 356.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0007524/0.4572, allocations: 81.2 kB / 356.3 MB, free: 10.87 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007875/0.458, allocations: 331.3 kB / 356.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.4581, allocations: 0 / 356.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07386/0.5319, allocations: 16.16 MB / 372.8 MB, free: 10.4 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002998/0.5323, allocations: 223 kB / 373 MB, free: 10.15 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.394/3.927, allocations: 0 / 373 MB, free: 10.15 MB / 314.7 MB