Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator.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.Analog.Examples.OpAmps.SignalGenerator,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_OpAmps_SignalGenerator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.904/1.904, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003433, allocations: 8 kB / 264 MB, free: 13.49 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09635/0.09673, allocations: 44.51 MB / 308.6 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5099, allocations: 73.24 MB / 381.8 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.5102, allocations: 78.92 kB / 381.9 MB, free: 14.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01767/0.5279, allocations: 4.387 MB / 386.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.528, allocations: 0 / 386.3 MB, free: 13.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.512e-05/0.528, allocations: 7.828 kB / 386.3 MB, free: 13.98 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001021/0.5291, allocations: 0.5395 MB / 386.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5291, allocations: 9.312 kB / 386.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.5292, allocations: 69.03 kB / 386.9 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.234e-05/0.5293, allocations: 32.84 kB / 386.9 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.5297, allocations: 264.8 kB / 387.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.5298, allocations: 26.66 kB / 387.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.5299, allocations: 29.61 kB / 387.2 MB, free: 13.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006384/0.5305, allocations: 255.6 kB / 387.5 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.5305, allocations: 4 kB / 387.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.5306, allocations: 12.41 kB / 387.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.5306, allocations: 7.25 kB / 387.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005297/0.5312, allocations: 205.7 kB / 387.7 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.5338, allocations: 1.113 MB / 388.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006715/0.5345, allocations: 198.3 kB / 389 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5345, allocations: 5.266 kB / 389 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.5346, allocations: 40.47 kB / 389 MB, free: 12.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 2.795e-06/0.5346, allocations: 0 / 389 MB, free: 12.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.00339/0.538, allocations: 0.672 MB / 389.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.5381, allocations: 59.23 kB / 389.8 MB, free: 12.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.5384, allocations: 227.7 kB / 390 MB, free: 12.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.5384, allocations: 36.7 kB / 390 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.5386, allocations: 257.2 kB / 390.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.157e-05/0.5387, allocations: 67.48 kB / 390.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.5387, allocations: 7.125 kB / 390.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.5388, allocations: 322.8 kB / 390.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.539, allocations: 59.66 kB / 390.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/0.5392, allocations: 149.9 kB / 390.9 MB, free: 11.44 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.5394, allocations: 84.66 kB / 391 MB, free: 11.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.5394, allocations: 0 / 391 MB, free: 11.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001587/0.541, allocations: 405.4 kB / 391.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5411, allocations: 9.344 kB / 391.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.5411, allocations: 0 / 391.4 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.5424, allocations: 172.8 kB / 391.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/0.5429, allocations: 53.12 kB / 391.6 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006297/0.5492, allocations: 3.292 MB / 394.9 MB, free: 8.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003776/0.5496, allocations: 32.27 kB / 394.9 MB, free: 8.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.5497, allocations: 15.25 kB / 394.9 MB, free: 8.566 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.5499, allocations: 138.2 kB / 395.1 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.5499, allocations: 24.78 kB / 395.1 MB, free: 8.441 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.688e-05/0.55, allocations: 26.64 kB / 395.1 MB, free: 8.434 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.55, allocations: 7.938 kB / 395.1 MB, free: 8.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.5501, allocations: 3.953 kB / 395.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5501, allocations: 1.312 kB / 395.1 MB, free: 8.426 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000431/0.5505, allocations: 316.4 kB / 395.4 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5505, allocations: 0 / 395.4 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.5508, allocations: 26 kB / 395.5 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001293/0.5521, allocations: 168 kB / 395.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/0.5521, allocations: 8.062 kB / 395.6 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008588/0.5607, allocations: 3.161 MB / 398.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5608, allocations: 3 kB / 398.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.5635, allocations: 485.3 kB / 399.3 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.5638, allocations: 100.3 kB / 399.4 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.409e-05/0.5639, allocations: 11.81 kB / 399.4 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.5644, allocations: 10.69 kB / 399.4 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.5646, allocations: 17.44 kB / 399.4 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.19e-05/0.5647, allocations: 3.844 kB / 399.4 MB, free: 5.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006058/0.5653, allocations: 191.3 kB / 399.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.5653, allocations: 0 / 399.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001226/0.5665, allocations: 95.58 kB / 399.7 MB, free: 5.172 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003459/0.5701, allocations: 1.013 MB / 400.7 MB, free: 20.47 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.5716, allocations: 409.2 kB / 401.1 MB, free: 20.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/0.5717, allocations: 7.156 kB / 401.1 MB, free: 20.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008864/0.5726, allocations: 311.9 kB / 401.4 MB, free: 20.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.5733, allocations: 33.45 kB / 401.4 MB, free: 20 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008432/0.5817, allocations: 3.49 MB / 404.9 MB, free: 17.39 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.5824, allocations: 0.7698 MB / 405.7 MB, free: 16.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.5827, allocations: 80.16 kB / 405.8 MB, free: 16.67 MB / 330.7 MB Notification: Performance of SimCode: time 1.522e-06/0.5827, allocations: 0 / 405.8 MB, free: 16.67 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.848/3.431, allocations: 6.283 MB / 412.1 MB, free: 15.79 MB / 330.7 MB