Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_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_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.722/1.722, allocations: 171.2 MB / 186.7 MB, free: 1.145 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 12 kB / 233.3 MB, free: 2.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08202/0.08242, allocations: 38.76 MB / 272 MB, free: 12.13 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004392/0.08687, allocations: 2.599 MB / 274.6 MB, free: 9.508 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002453/0.08938, allocations: 0.9362 MB / 275.6 MB, free: 8.57 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.08983, allocations: 4 kB / 275.6 MB, free: 8.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.09, allocations: 43.66 kB / 275.6 MB, free: 8.523 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006723/0.09068, allocations: 135.6 kB / 275.7 MB, free: 8.391 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.09117, allocations: 115.7 kB / 275.8 MB, free: 8.277 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006888/0.09188, allocations: 319.3 kB / 276.2 MB, free: 7.965 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.09219, allocations: 102.5 kB / 276.3 MB, free: 7.855 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.09251, allocations: 159.4 kB / 276.4 MB, free: 7.699 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.09286, allocations: 183.2 kB / 276.6 MB, free: 7.52 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.09295, allocations: 20 kB / 276.6 MB, free: 7.5 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002225/0.09318, allocations: 55.97 kB / 276.7 MB, free: 7.445 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.701e-05/0.09329, allocations: 71.73 kB / 276.7 MB, free: 7.375 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.09343, allocations: 93.52 kB / 276.8 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.09403, allocations: 363.2 kB / 277.2 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.09405, allocations: 0 / 277.2 MB, free: 6.922 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.09407, allocations: 0 / 277.2 MB, free: 6.922 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.285e-06/0.09409, allocations: 0 / 277.2 MB, free: 6.922 MB / 234.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.001979/0.09607, allocations: 0.6895 MB / 277.9 MB, free: 6.184 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.09615, allocations: 12.03 kB / 277.9 MB, free: 6.172 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/0.09629, allocations: 70.47 kB / 278 MB, free: 6.094 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.09643, allocations: 47.52 kB / 278 MB, free: 6.047 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005236/0.09696, allocations: 302.1 kB / 278.3 MB, free: 5.711 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.09702, allocations: 28.61 kB / 278.3 MB, free: 5.684 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.09712, allocations: 36 kB / 278.4 MB, free: 5.648 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.09823, allocations: 349 kB / 278.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.09828, allocations: 4 kB / 278.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.09835, allocations: 8 kB / 278.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.09837, allocations: 8 kB / 278.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.09925, allocations: 246.5 kB / 279 MB, free: 5.035 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/0.1025, allocations: 1.178 MB / 280.1 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.1037, allocations: 301.1 kB / 280.4 MB, free: 3.48 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.1049, allocations: 1.125 MB / 281.6 MB, free: 2.098 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.105, allocations: 42.78 kB / 281.6 MB, free: 2.047 MB / 234.7 MB Notification: Performance of pre-optimization done (n=27): time 3.727e-06/0.105, allocations: 0 / 281.6 MB, free: 2.047 MB / 234.7 MB Notification: Performance of matching and sorting (n=27): time 0.002083/0.1071, allocations: 0.5019 MB / 282.1 MB, free: 1.52 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.1072, allocations: 77.11 kB / 282.2 MB, free: 1.426 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000593/0.1078, allocations: 337.7 kB / 282.5 MB, free: 1.09 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.1078, allocations: 29.7 kB / 282.5 MB, free: 1.055 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.1081, allocations: 258.5 kB / 282.8 MB, free: 0.8008 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1082, allocations: 102.5 kB / 282.9 MB, free: 0.6992 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.1083, allocations: 8 kB / 282.9 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1084, allocations: 330.8 kB / 283.2 MB, free: 368 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.1089, allocations: 104.7 kB / 283.3 MB, free: 260 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.1094, allocations: 197.7 kB / 283.5 MB, free: 32 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.1099, allocations: 127.8 kB / 283.6 MB, free: 15.9 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.1099, allocations: 0 / 283.6 MB, free: 15.9 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00113/0.111, allocations: 364.7 kB / 284 MB, free: 15.54 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.1111, allocations: 7.953 kB / 284 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.1111, allocations: 4 kB / 284 MB, free: 15.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.1111, allocations: 4 kB / 284 MB, free: 15.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007809/0.1119, allocations: 100.1 kB / 284.1 MB, free: 15.43 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.1119, allocations: 7.938 kB / 284.1 MB, free: 15.42 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.1124, allocations: 51.52 kB / 284.2 MB, free: 15.37 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.1125, allocations: 19.98 kB / 284.2 MB, free: 15.35 MB / 250.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.0002382/0.1127, allocations: 141.8 kB / 284.3 MB, free: 15.2 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.94e-05/0.1128, allocations: 39.53 kB / 284.4 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.114, allocations: 338.5 kB / 284.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1141, allocations: 4 kB / 284.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1141, allocations: 0 / 284.7 MB, free: 14.82 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.1141, allocations: 7.984 kB / 284.7 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000709/0.1148, allocations: 397.1 kB / 285.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1148, allocations: 0 / 285.1 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007091/0.1156, allocations: 63.89 kB / 285.2 MB, free: 14.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002938/0.1159, allocations: 44.83 kB / 285.2 MB, free: 14.27 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.1159, allocations: 8 kB / 285.2 MB, free: 14.26 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005626/0.1165, allocations: 0.5602 MB / 285.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1165, allocations: 0 / 285.8 MB, free: 13.67 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.1182, allocations: 0.5315 MB / 286.3 MB, free: 13.12 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.1185, allocations: 136.5 kB / 286.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-05/0.1187, allocations: 4 kB / 286.4 MB, free: 12.96 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.1191, allocations: 31.98 kB / 286.5 MB, free: 12.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/0.1192, allocations: 19.92 kB / 286.5 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.086e-05/0.1193, allocations: 8 kB / 286.5 MB, free: 12.9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004023/0.1197, allocations: 247.1 kB / 286.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1197, allocations: 0 / 286.7 MB, free: 12.66 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006198/0.1203, allocations: 103.8 kB / 286.8 MB, free: 12.56 MB / 250.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.002228/0.1226, allocations: 1.097 MB / 287.9 MB, free: 11.43 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.1236, allocations: 276.1 kB / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1237, allocations: 0 / 288.2 MB, free: 11.16 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.1243, allocations: 147.7 kB / 288.3 MB, free: 11.02 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004775/0.1248, allocations: 45.86 kB / 288.4 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.1303, allocations: 2.381 MB / 290.8 MB, free: 8.52 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004725/0.1309, allocations: 0.8033 MB / 291.6 MB, free: 7.691 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000322/0.1312, allocations: 127.4 kB / 291.7 MB, free: 7.566 MB / 250.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1312, allocations: 4 kB / 291.7 MB, free: 7.562 MB / 250.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.698/2.829, allocations: 6.243 MB / 297.9 MB, free: 1.32 MB / 250.7 MB