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.Oscillator.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.Oscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.236/2.236, allocations: 194.9 MB / 211.1 MB, free: 7.504 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003841/0.0003841, allocations: 12 kB / 264.1 MB, free: 2.422 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3039, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Oscillator): time 0.009927/0.3139, allocations: 6.073 MB / 314.6 MB, free: 6.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01793/0.3318, allocations: 9.088 MB / 323.7 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001377/0.3333, allocations: 35.69 kB / 323.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002759/0.3361, allocations: 0.5676 MB / 324.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005154/0.3413, allocations: 1.032 MB / 325.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.3437, allocations: 463.2 kB / 325.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00661/0.3503, allocations: 2.109 MB / 327.9 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006799/0.3511, allocations: 243.4 kB / 328.2 MB, free: 8.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008404/0.3519, allocations: 405.9 kB / 328.5 MB, free: 8.566 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.353, allocations: 481 kB / 329 MB, free: 8.094 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.3532, allocations: 39.98 kB / 329.1 MB, free: 8.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002648/0.3559, allocations: 0.6714 MB / 329.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003271/0.3563, allocations: 151 kB / 329.9 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.3569, allocations: 312.8 kB / 330.2 MB, free: 6.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.3599, allocations: 1.363 MB / 331.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.36, allocations: 0 / 331.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.36, allocations: 0 / 331.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.407e-05/0.3601, allocations: 0 / 331.5 MB, free: 5.555 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.004548/0.3646, allocations: 1.772 MB / 333.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/0.3647, allocations: 16.03 kB / 333.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002987/0.365, allocations: 94.45 kB / 333.4 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.3655, allocations: 193.8 kB / 333.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.3689, allocations: 1.26 MB / 334.9 MB, free: 2.109 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.048e-05/0.3691, allocations: 40.98 kB / 334.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.3692, allocations: 40 kB / 335 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.3709, allocations: 0.5236 MB / 335.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.371, allocations: 0 / 335.5 MB, free: 1.504 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/0.371, allocations: 16 kB / 335.5 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.3711, allocations: 23.98 kB / 335.5 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.3729, allocations: 499.9 kB / 336 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005849/0.3788, allocations: 2.116 MB / 338.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.3806, allocations: 0.7276 MB / 338.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01291/0.3936, allocations: 6.56 MB / 345.4 MB, free: 6.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009691/0.3946, allocations: 302.3 kB / 345.7 MB, free: 6.133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=55): time 3.767e-06/0.3946, allocations: 0 / 345.7 MB, free: 6.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=59): time 0.00654/0.4012, allocations: 2.17 MB / 347.9 MB, free: 3.863 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.4013, allocations: 63.83 kB / 347.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00252/0.4038, allocations: 1.273 MB / 349.2 MB, free: 2.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.404, allocations: 33.7 kB / 349.2 MB, free: 2.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009887/0.405, allocations: 0.7189 MB / 350 MB, free: 1.758 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003238/0.4054, allocations: 197.1 kB / 350.2 MB, free: 1.562 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.4054, allocations: 8 kB / 350.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4056, allocations: 341.9 kB / 350.5 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007846/0.4064, allocations: 201.6 kB / 350.7 MB, free: 1.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008921/0.4073, allocations: 376.3 kB / 351.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/0.4082, allocations: 253.9 kB / 351.3 MB, free: 348 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.4082, allocations: 0 / 351.3 MB, free: 348 kB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002877/0.4111, allocations: 0.9341 MB / 352.2 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.4112, allocations: 8 kB / 352.2 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/0.4113, allocations: 55.98 kB / 352.3 MB, free: 15.33 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/0.412, allocations: 158.6 kB / 352.5 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.4131, allocations: 119.8 kB / 352.6 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004722/0.4179, allocations: 2.341 MB / 354.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009727/0.4189, allocations: 36.02 kB / 354.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/0.419, allocations: 32 kB / 355 MB, free: 12.51 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007085/0.4197, allocations: 273.7 kB / 355.2 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003354/0.4201, allocations: 177.9 kB / 355.4 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003421/0.4235, allocations: 0.9254 MB / 356.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.4236, allocations: 4 kB / 356.4 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4236, allocations: 7.938 kB / 356.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.102e-05/0.4236, allocations: 3.984 kB / 356.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.4255, allocations: 0.8591 MB / 357.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001483/0.4257, allocations: 51.98 kB / 357.3 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006185/0.4264, allocations: 75.89 kB / 357.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006919/0.4271, allocations: 146.8 kB / 357.5 MB, free: 9.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/0.4272, allocations: 20 kB / 357.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004441/0.4316, allocations: 2.322 MB / 359.8 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/0.4317, allocations: 3.953 kB / 359.8 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.4353, allocations: 1.088 MB / 360.9 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/0.4359, allocations: 255.1 kB / 361.2 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002161/0.4362, allocations: 11.98 kB / 361.2 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.4369, allocations: 31.97 kB / 361.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.4371, allocations: 44.38 kB / 361.3 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.281e-05/0.4372, allocations: 20 kB / 361.3 MB, free: 5.965 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001837/0.439, allocations: 0.8499 MB / 362.1 MB, free: 5.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.439, allocations: 4 kB / 362.1 MB, free: 5.121 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001542/0.4406, allocations: 371.8 kB / 362.5 MB, free: 4.758 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vbx,T2.vbe,T2.vbx) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,81.2%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00524/0.4459, allocations: 1.965 MB / 364.5 MB, free: 2.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00304/0.449, allocations: 0.8682 MB / 365.3 MB, free: 1.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.449, allocations: 0 / 365.3 MB, free: 1.867 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001769/0.4508, allocations: 0.5942 MB / 365.9 MB, free: 1.25 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/0.4519, allocations: 170.3 kB / 366.1 MB, free: 1.082 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02799/0.4799, allocations: 8.366 MB / 374.5 MB, free: 8.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.4811, allocations: 1.208 MB / 375.7 MB, free: 6.852 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001105/0.4822, allocations: 183.2 kB / 375.8 MB, free: 6.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/0.4834, allocations: 0.5773 MB / 376.4 MB, free: 6.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.523e-06/0.4834, allocations: 0 / 376.4 MB, free: 6.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/0.5683, allocations: 26.55 MB / 403 MB, free: 11.54 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003687/0.5688, allocations: 192.8 kB / 403.2 MB, free: 11.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.792/4.361, allocations: 0 / 403.2 MB, free: 11.3 MB / 346.7 MB