Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.695/1.695, allocations: 171.1 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003611, allocations: 8 kB / 233.4 MB, free: 180 kB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07919/0.07958, allocations: 38.78 MB / 272.1 MB, free: 9.312 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3623/0.4419, allocations: 83.01 MB / 355.1 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/0.4422, allocations: 83.94 kB / 355.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2034/0.6457, allocations: 58.2 MB / 413.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6458, allocations: 0 / 413.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001033/0.6459, allocations: 32 kB / 413.5 MB, free: 5.043 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.007488/0.6534, allocations: 2.079 MB / 415.5 MB, free: 2.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.214e-05/0.6535, allocations: 12.03 kB / 415.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004127/0.6539, allocations: 114.4 kB / 415.7 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/0.6547, allocations: 217.4 kB / 415.9 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00473/0.6594, allocations: 1.259 MB / 417.1 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.924e-05/0.6595, allocations: 45.23 kB / 417.2 MB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.6598, allocations: 55.91 kB / 417.2 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003084/0.6629, allocations: 0.7134 MB / 417.9 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.936e-05/0.663, allocations: 3.938 kB / 417.9 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.6631, allocations: 20 kB / 418 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.6632, allocations: 23.94 kB / 418 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2687/0.9319, allocations: 0.604 MB / 418.6 MB, free: 84.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.9483, allocations: 2.591 MB / 421.2 MB, free: 83.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/0.9561, allocations: 0.6685 MB / 421.9 MB, free: 83.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02618/0.9823, allocations: 8.691 MB / 430.5 MB, free: 76.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001823/0.9842, allocations: 401 kB / 430.9 MB, free: 76.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 5.751e-06/0.9843, allocations: 0 / 430.9 MB, free: 76.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=67): time 0.01414/0.9984, allocations: 2.213 MB / 433.1 MB, free: 76.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/0.9985, allocations: 86.8 kB / 433.2 MB, free: 76.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/1.001, allocations: 1.273 MB / 434.5 MB, free: 75.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/1.001, allocations: 36.92 kB / 434.5 MB, free: 75.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000836/1.002, allocations: 0.797 MB / 435.3 MB, free: 75.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003438/1.003, allocations: 227.2 kB / 435.6 MB, free: 75.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.85e-05/1.003, allocations: 17.88 kB / 435.6 MB, free: 75.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/1.003, allocations: 332.1 kB / 435.9 MB, free: 75.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.004, allocations: 278 kB / 436.2 MB, free: 75.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/1.005, allocations: 472.2 kB / 436.6 MB, free: 75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.007, allocations: 333.2 kB / 437 MB, free: 74.99 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/1.007, allocations: 2.375 kB / 437 MB, free: 74.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004114/1.011, allocations: 1.169 MB / 438.1 MB, free: 74.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.563e-05/1.011, allocations: 7.844 kB / 438.1 MB, free: 74.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001745/1.011, allocations: 73 kB / 438.2 MB, free: 74.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/1.013, allocations: 0.6949 MB / 438.9 MB, free: 74.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/1.014, allocations: 125.8 kB / 439 MB, free: 74.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/1.016, allocations: 1.116 MB / 440.1 MB, free: 74.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.018, allocations: 106.4 kB / 440.2 MB, free: 74.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/1.018, allocations: 35.94 kB / 440.3 MB, free: 74.23 MB / 346.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.0009316/1.019, allocations: 295.5 kB / 440.6 MB, free: 74.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/1.019, allocations: 198.3 kB / 440.8 MB, free: 74.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/1.024, allocations: 1.183 MB / 441.9 MB, free: 73.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.024, allocations: 7.625 kB / 442 MB, free: 73.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/1.024, allocations: 3.812 kB / 442 MB, free: 73.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.024, allocations: 0 / 442 MB, free: 73.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/1.026, allocations: 1.004 MB / 443 MB, free: 73.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001587/1.026, allocations: 68.47 kB / 443 MB, free: 73.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007192/1.027, allocations: 76.89 kB / 443.1 MB, free: 73.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001772/1.029, allocations: 0.6738 MB / 443.8 MB, free: 73.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/1.029, allocations: 15.62 kB / 443.8 MB, free: 73.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/1.03, allocations: 1.09 MB / 444.9 MB, free: 73.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.03, allocations: 1.5 kB / 444.9 MB, free: 73.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004399/1.035, allocations: 1.45 MB / 446.3 MB, free: 72.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008486/1.036, allocations: 296.8 kB / 446.6 MB, free: 72.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002988/1.036, allocations: 17.89 kB / 446.6 MB, free: 72.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00095/1.037, allocations: 47.39 kB / 446.7 MB, free: 72.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/1.037, allocations: 49.02 kB / 446.7 MB, free: 72.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/1.037, allocations: 22.31 kB / 446.8 MB, free: 72.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00183/1.039, allocations: 0.9829 MB / 447.7 MB, free: 72.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.039, allocations: 0 / 447.7 MB, free: 72.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002032/1.041, allocations: 487.1 kB / 448.2 MB, free: 72.37 MB / 346.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.00656/1.048, allocations: 2.459 MB / 450.7 MB, free: 71.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003513/1.051, allocations: 0.8969 MB / 451.6 MB, free: 70.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.052, allocations: 0 / 451.6 MB, free: 70.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002039/1.054, allocations: 0.537 MB / 452.1 MB, free: 70.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/1.055, allocations: 188 kB / 452.3 MB, free: 70.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02516/1.08, allocations: 13.87 MB / 466.2 MB, free: 61.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/1.081, allocations: 1.249 MB / 467.4 MB, free: 60.42 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009446/1.082, allocations: 185.1 kB / 467.6 MB, free: 60.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009173/1.083, allocations: 0.6267 MB / 468.2 MB, free: 59.87 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/1.083, allocations: 4 kB / 468.2 MB, free: 59.87 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08916/1.172, allocations: 32.38 MB / 0.4889 GB, free: 40.38 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/1.172, allocations: 228.6 kB / 0.4891 GB, free: 40.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.097/5.269, allocations: 0 / 0.4891 GB, free: 40.14 MB / 346.7 MB