Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004974, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.102, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4712, allocations: 69.88 MB / 342 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.4715, allocations: 67.97 kB / 342.1 MB, free: 2.984 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03917/0.5107, allocations: 8.432 MB / 350.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5108, allocations: 8 kB / 350.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.458e-05/0.5108, allocations: 4 kB / 350.5 MB, free: 11.8 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001712/0.5125, allocations: 0.6783 MB / 351.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5126, allocations: 8.031 kB / 351.2 MB, free: 11.09 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001242/0.5127, allocations: 70.91 kB / 351.3 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001489/0.5129, allocations: 43.53 kB / 351.3 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005203/0.5134, allocations: 300.4 kB / 351.6 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.303e-05/0.5135, allocations: 26.53 kB / 351.6 MB, free: 10.66 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-05/0.5136, allocations: 44.61 kB / 351.7 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.5146, allocations: 348.3 kB / 352 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5146, allocations: 0 / 352 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.5147, allocations: 14.25 kB / 352 MB, free: 10.37 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.5147, allocations: 12 kB / 352 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008052/0.5155, allocations: 235.1 kB / 352.3 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003003/0.5186, allocations: 1.199 MB / 353.5 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.5197, allocations: 290.9 kB / 353.8 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.5209, allocations: 1.125 MB / 354.9 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.5209, allocations: 38.73 kB / 354.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 3.105e-06/0.5209, allocations: 0 / 354.9 MB, free: 7.539 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.002021/0.523, allocations: 0.4978 MB / 355.4 MB, free: 7.105 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.5231, allocations: 85.05 kB / 355.5 MB, free: 7.004 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005252/0.5236, allocations: 309.2 kB / 355.8 MB, free: 6.754 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.5237, allocations: 29.2 kB / 355.8 MB, free: 6.723 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.5239, allocations: 218.1 kB / 356 MB, free: 6.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.524, allocations: 96.94 kB / 356.1 MB, free: 6.473 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.524, allocations: 7.562 kB / 356.1 MB, free: 6.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.5242, allocations: 343.6 kB / 356.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004021/0.5246, allocations: 116.3 kB / 356.6 MB, free: 6.059 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.5251, allocations: 180.7 kB / 356.8 MB, free: 5.891 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.5256, allocations: 141.5 kB / 356.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.5256, allocations: 0 / 356.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001118/0.5267, allocations: 383.7 kB / 357.3 MB, free: 5.512 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.5268, allocations: 4.25 kB / 357.3 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5268, allocations: 8 kB / 357.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5268, allocations: 4 kB / 357.3 MB, free: 5.496 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.5278, allocations: 95.08 kB / 357.4 MB, free: 5.406 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.5279, allocations: 7.984 kB / 357.4 MB, free: 5.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007116/0.5286, allocations: 42.84 kB / 357.4 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/0.5287, allocations: 19.94 kB / 357.5 MB, free: 5.344 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (45): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000419/0.5291, allocations: 158.5 kB / 357.6 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.5293, allocations: 39.58 kB / 357.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.531, allocations: 333.7 kB / 358 MB, free: 4.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.5311, allocations: 3.938 kB / 358 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.5311, allocations: 0 / 358 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.5311, allocations: 3.984 kB / 358 MB, free: 4.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.5323, allocations: 391.6 kB / 358.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.5323, allocations: 0 / 358.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.5334, allocations: 67.2 kB / 358.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004273/0.5339, allocations: 46.53 kB / 358.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.645e-05/0.534, allocations: 12 kB / 358.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008115/0.5348, allocations: 0.5696 MB / 359.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.5349, allocations: 0 / 359.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.5375, allocations: 0.5224 MB / 359.6 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.5379, allocations: 140.5 kB / 359.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.5381, allocations: 7.062 kB / 359.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007168/0.5388, allocations: 22.98 kB / 359.8 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.539, allocations: 18.97 kB / 359.8 MB, free: 3.258 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.502e-05/0.539, allocations: 4 kB / 359.8 MB, free: 3.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005843/0.5396, allocations: 245.2 kB / 360 MB, free: 3.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.01e-07/0.5397, allocations: 4 kB / 360 MB, free: 3.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009892/0.5407, allocations: 98.47 kB / 360.1 MB, free: 2.969 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (23): * Single equations (assignments): 22 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003143/0.5438, allocations: 1.113 MB / 361.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001523/0.5454, allocations: 274.6 kB / 361.5 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.5454, allocations: 0 / 361.5 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008783/0.5463, allocations: 146.9 kB / 361.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.547, allocations: 32.98 kB / 361.7 MB, free: 1.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/0.5565, allocations: 3.557 MB / 365.2 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007306/0.5573, allocations: 0.8033 MB / 366 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004895/0.5578, allocations: 38.95 kB / 366.1 MB, free: 13.44 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004284/0.5582, allocations: 134.8 kB / 366.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of SimCode: time 1.694e-06/0.5583, allocations: 0 / 366.2 MB, free: 13.4 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.5963, allocations: 6.53 MB / 372.7 MB, free: 6.941 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.5967, allocations: 215.2 kB / 372.9 MB, free: 6.707 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.703/3.3, allocations: 0 / 372.9 MB, free: 6.707 MB / 298.7 MB