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.Oscillator.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.Oscillator,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Oscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.618/1.618, allocations: 171.2 MB / 186.1 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007557/0.0007556, allocations: 8 kB / 233.4 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09913/0.09995, allocations: 38.76 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4621, allocations: 81.95 MB / 354.1 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.4624, allocations: 74.94 kB / 354.1 MB, free: 7.438 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2074/0.6699, allocations: 55.23 MB / 409.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6699, allocations: 0 / 409.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001201/0.6701, allocations: 24 kB / 409.4 MB, free: 6.074 MB / 330.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.00654/0.6766, allocations: 1.848 MB / 411.2 MB, free: 4.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.198e-05/0.6767, allocations: 8.031 kB / 411.3 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002717/0.677, allocations: 94.52 kB / 411.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/0.6776, allocations: 205.6 kB / 411.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/0.6817, allocations: 1.135 MB / 412.7 MB, free: 2.676 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.818e-05/0.6818, allocations: 40.98 kB / 412.7 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001945/0.682, allocations: 51.78 kB / 412.8 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/0.6842, allocations: 0.5232 MB / 413.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.6842, allocations: 0 / 413.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.6844, allocations: 16 kB / 413.3 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.6844, allocations: 19.95 kB / 413.3 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.6867, allocations: 500 kB / 413.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007254/0.694, allocations: 2.133 MB / 416 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.6964, allocations: 0.728 MB / 416.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01932/0.7157, allocations: 7.679 MB / 424.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.7171, allocations: 302.5 kB / 424.7 MB, free: 5.344 MB / 346.7 MB Notification: Performance of pre-optimization done (n=55): time 5.069e-06/0.7171, allocations: 4 kB / 424.7 MB, free: 5.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=59): time 0.008628/0.7257, allocations: 2.17 MB / 426.8 MB, free: 3.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.7259, allocations: 55.84 kB / 426.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.7289, allocations: 1.092 MB / 428 MB, free: 1.922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000143/0.7291, allocations: 41.69 kB / 428 MB, free: 1.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001348/0.7305, allocations: 0.7149 MB / 428.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.7308, allocations: 197.2 kB / 428.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.092e-05/0.7309, allocations: 12 kB / 428.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.7311, allocations: 334 kB / 429.3 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.7322, allocations: 205.6 kB / 429.5 MB, free: 424 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2344/0.9666, allocations: 368.4 kB / 429.8 MB, free: 86.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/0.9683, allocations: 252.9 kB / 430.1 MB, free: 86.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.9684, allocations: 1.469 kB / 430.1 MB, free: 86.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004283/0.9727, allocations: 0.9305 MB / 431 MB, free: 86.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.9728, allocations: 9.344 kB / 431 MB, free: 86.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001885/0.973, allocations: 57.47 kB / 431.1 MB, free: 86.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009966/0.974, allocations: 161.9 kB / 431.2 MB, free: 86.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.9753, allocations: 114.1 kB / 431.3 MB, free: 86.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005767/0.9811, allocations: 2.33 MB / 433.7 MB, free: 84.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.9828, allocations: 38.2 kB / 433.7 MB, free: 84.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.9829, allocations: 34.67 kB / 433.7 MB, free: 84.95 MB / 346.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.0009653/0.9839, allocations: 269.5 kB / 434 MB, free: 84.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003917/0.9843, allocations: 181.2 kB / 434.2 MB, free: 84.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/0.9891, allocations: 0.9288 MB / 435.1 MB, free: 84.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.9892, allocations: 6.25 kB / 435.1 MB, free: 84.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.9892, allocations: 3.562 kB / 435.1 MB, free: 84.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.9893, allocations: 7.156 kB / 435.1 MB, free: 84.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.9918, allocations: 0.8593 MB / 436 MB, free: 84.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001948/0.992, allocations: 52.27 kB / 436 MB, free: 84.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009268/0.9929, allocations: 70 kB / 436.1 MB, free: 84.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001086/0.994, allocations: 148.1 kB / 436.2 MB, free: 84.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.9942, allocations: 20.47 kB / 436.3 MB, free: 84.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006034/1, allocations: 2.308 MB / 438.6 MB, free: 83.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/1, allocations: 5.172 kB / 438.6 MB, free: 83.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005328/1.006, allocations: 1.083 MB / 439.7 MB, free: 82.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008472/1.007, allocations: 255.9 kB / 439.9 MB, free: 82.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003992/1.007, allocations: 14.86 kB / 439.9 MB, free: 82.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.008, allocations: 27.5 kB / 440 MB, free: 82.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/1.008, allocations: 46.16 kB / 440 MB, free: 82.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/1.009, allocations: 22.17 kB / 440 MB, free: 82.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002336/1.011, allocations: 0.8473 MB / 440.9 MB, free: 82.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.011, allocations: 0 / 440.9 MB, free: 82.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001885/1.013, allocations: 426.7 kB / 441.3 MB, free: 82.6 MB / 346.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 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00481/1.018, allocations: 2.076 MB / 443.4 MB, free: 81.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002684/1.02, allocations: 0.858 MB / 444.2 MB, free: 81.67 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/1.021, allocations: 0 / 444.2 MB, free: 81.67 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/1.022, allocations: 0.6108 MB / 444.8 MB, free: 81.47 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/1.023, allocations: 163.9 kB / 445 MB, free: 81.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/1.044, allocations: 11.46 MB / 456.4 MB, free: 74.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/1.045, allocations: 1.196 MB / 457.6 MB, free: 73.95 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009154/1.046, allocations: 156.1 kB / 457.8 MB, free: 73.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008059/1.046, allocations: 0.5565 MB / 458.4 MB, free: 73.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/1.046, allocations: 0 / 458.4 MB, free: 73.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07697/1.123, allocations: 27.73 MB / 486.1 MB, free: 66 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/1.124, allocations: 201.1 kB / 486.3 MB, free: 65.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.666/4.79, allocations: 2.438 kB / 486.3 MB, free: 65.75 MB / 346.7 MB