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.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 194.8 MB / 211.1 MB, free: 7.59 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.000361, allocations: 8 kB / 264.1 MB, free: 2.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3033, allocations: 44.5 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.011/0.3143, allocations: 6.774 MB / 315.3 MB, free: 5.852 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01869/0.3331, allocations: 9.602 MB / 324.9 MB, free: 12.22 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.3347, allocations: 19.88 kB / 325 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.338, allocations: 0.692 MB / 325.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005255/0.3433, allocations: 1.063 MB / 326.7 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002734/0.3461, allocations: 483.2 kB / 327.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007223/0.3534, allocations: 2.195 MB / 329.4 MB, free: 7.762 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007813/0.3543, allocations: 310.8 kB / 329.7 MB, free: 7.441 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009823/0.3553, allocations: 461.7 kB / 330.1 MB, free: 6.988 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.3565, allocations: 0.5435 MB / 330.7 MB, free: 6.441 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.3567, allocations: 40 kB / 330.7 MB, free: 6.402 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.3595, allocations: 0.6831 MB / 331.4 MB, free: 5.719 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.36, allocations: 178.8 kB / 331.6 MB, free: 5.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00068/0.3607, allocations: 348.6 kB / 331.9 MB, free: 5.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.364, allocations: 1.484 MB / 333.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3641, allocations: 0 / 333.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3641, allocations: 0 / 333.4 MB, free: 3.707 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.841e-05/0.3642, allocations: 4 kB / 333.4 MB, free: 3.703 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.005663/0.3699, allocations: 1.987 MB / 335.4 MB, free: 1.656 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.37, allocations: 8.031 kB / 335.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003147/0.3703, allocations: 106.5 kB / 335.5 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000528/0.3708, allocations: 221.4 kB / 335.7 MB, free: 1.316 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003352/0.3742, allocations: 1.223 MB / 336.9 MB, free: 20 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/0.3744, allocations: 45.38 kB / 337 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.3746, allocations: 52 kB / 337 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002433/0.377, allocations: 0.7095 MB / 337.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.3771, allocations: 0 / 337.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/0.3772, allocations: 24 kB / 337.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.173e-05/0.3772, allocations: 19.98 kB / 337.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.3798, allocations: 0.6141 MB / 338.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007098/0.387, allocations: 2.546 MB / 340.9 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.3895, allocations: 0.6584 MB / 341.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01496/0.4045, allocations: 7.531 MB / 349.1 MB, free: 2.531 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001544/0.4061, allocations: 401.9 kB / 349.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=67): time 4.719e-06/0.4062, allocations: 4 kB / 349.5 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=67): time 0.01116/0.4174, allocations: 2.118 MB / 351.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.4175, allocations: 89.55 kB / 351.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002762/0.4203, allocations: 1.423 MB / 353.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.4205, allocations: 37.7 kB / 353.2 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001125/0.4216, allocations: 0.7938 MB / 354 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003787/0.422, allocations: 228.7 kB / 354.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.4221, allocations: 12 kB / 354.2 MB, free: 13.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4223, allocations: 341.9 kB / 354.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.4234, allocations: 273.9 kB / 354.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.4247, allocations: 478.2 kB / 355.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.426, allocations: 327 kB / 355.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.426, allocations: 0 / 355.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003828/0.4299, allocations: 1.178 MB / 356.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.43, allocations: 16.66 kB / 356.8 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000184/0.4302, allocations: 71.98 kB / 356.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/0.4322, allocations: 0.6952 MB / 357.6 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.4332, allocations: 123.8 kB / 357.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.4355, allocations: 1.116 MB / 358.8 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/0.4368, allocations: 107.2 kB / 358.9 MB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.437, allocations: 36 kB / 358.9 MB, free: 8.461 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007923/0.4378, allocations: 289.6 kB / 359.2 MB, free: 8.168 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.4383, allocations: 201.6 kB / 359.4 MB, free: 7.969 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/0.4429, allocations: 1.146 MB / 360.6 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.443, allocations: 4 kB / 360.6 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.443, allocations: 0 / 360.6 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.443, allocations: 0 / 360.6 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.4451, allocations: 0.9833 MB / 361.6 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001956/0.4454, allocations: 71.88 kB / 361.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006965/0.4461, allocations: 75.88 kB / 361.7 MB, free: 5.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002018/0.4481, allocations: 0.671 MB / 362.4 MB, free: 4.949 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.4483, allocations: 16 kB / 362.4 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.4504, allocations: 1.077 MB / 363.5 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4505, allocations: 4 kB / 363.5 MB, free: 3.828 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005/0.4555, allocations: 1.425 MB / 364.9 MB, free: 2.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008656/0.4564, allocations: 282.5 kB / 365.2 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003373/0.4568, allocations: 12 kB / 365.2 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.4579, allocations: 51.95 kB / 365.2 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/0.4581, allocations: 48.36 kB / 365.3 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.581e-05/0.4582, allocations: 20 kB / 365.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00212/0.4604, allocations: 0.9331 MB / 366.2 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.4604, allocations: 0 / 366.2 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00163/0.4621, allocations: 431.4 kB / 366.7 MB, free: 0.5664 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.006378/0.4685, allocations: 2.297 MB / 369 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.4723, allocations: 0.9052 MB / 369.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.4723, allocations: 0 / 369.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002131/0.4745, allocations: 0.5448 MB / 370.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.4756, allocations: 178.9 kB / 370.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03237/0.508, allocations: 9.916 MB / 380.5 MB, free: 1.836 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.5092, allocations: 1.251 MB / 381.7 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009965/0.5103, allocations: 166 kB / 381.9 MB, free: 392 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/0.5115, allocations: 0.6243 MB / 382.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of SimCode: time 4.167e-06/0.5116, allocations: 0 / 382.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09292/0.6045, allocations: 29.74 MB / 412.3 MB, free: 2.012 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000347/0.6049, allocations: 224.9 kB / 412.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/4.623, allocations: 0 / 412.5 MB, free: 1.773 MB / 346.7 MB