Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json Using package ModelicaServices with version 1.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 1.0/package.mo) Using package Modelica with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.133/1.133, allocations: 111.1 MB / 126.7 MB, free: 6.141 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003817, allocations: 4 kB / 158.3 MB, free: 15.12 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06103/0.06147, allocations: 25.16 MB / 183.5 MB, free: 5.918 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004306/0.06583, allocations: 2.523 MB / 186 MB, free: 3.391 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.06809, allocations: 0.8428 MB / 186.9 MB, free: 2.547 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.06849, allocations: 4 kB / 186.9 MB, free: 2.543 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.06865, allocations: 47.66 kB / 186.9 MB, free: 2.496 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006225/0.06928, allocations: 151.5 kB / 187.1 MB, free: 2.348 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.06976, allocations: 107.7 kB / 187.2 MB, free: 2.242 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006142/0.07039, allocations: 323.3 kB / 187.5 MB, free: 1.926 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.07069, allocations: 98.83 kB / 187.6 MB, free: 1.828 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003104/0.07101, allocations: 163.4 kB / 187.8 MB, free: 1.668 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.0714, allocations: 179.2 kB / 187.9 MB, free: 1.492 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.07148, allocations: 20 kB / 187.9 MB, free: 1.473 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000228/0.07172, allocations: 47.97 kB / 188 MB, free: 1.426 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.07184, allocations: 71.73 kB / 188.1 MB, free: 1.355 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.07198, allocations: 97.52 kB / 188.2 MB, free: 1.254 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006106/0.0726, allocations: 362.9 kB / 188.5 MB, free: 0.8984 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.07262, allocations: 0 / 188.5 MB, free: 0.8984 MB / 154.7 MB Notification: Performance of FrontEnd: time 4.769e-06/0.07264, allocations: 0 / 188.5 MB, free: 0.8984 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.07266, allocations: 7.938 kB / 188.5 MB, free: 0.8906 MB / 154.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.001968/0.07464, allocations: 0.6856 MB / 189.2 MB, free: 160 kB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.07471, allocations: 8.031 kB / 189.2 MB, free: 152 kB / 154.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.07486, allocations: 70.53 kB / 189.3 MB, free: 72 kB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.07499, allocations: 43.44 kB / 189.3 MB, free: 28 kB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.0756, allocations: 298.3 kB / 189.6 MB, free: 15.69 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.07566, allocations: 20.66 kB / 189.6 MB, free: 15.67 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.199e-05/0.07576, allocations: 39.91 kB / 189.7 MB, free: 15.63 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.07684, allocations: 349 kB / 190 MB, free: 15.28 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.07688, allocations: 3.938 kB / 190 MB, free: 15.27 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.667e-05/0.07695, allocations: 19.95 kB / 190 MB, free: 15.25 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.07698, allocations: 12 kB / 190.1 MB, free: 15.24 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008841/0.07788, allocations: 238.5 kB / 190.3 MB, free: 15.01 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.08117, allocations: 1.182 MB / 191.5 MB, free: 13.75 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.08238, allocations: 287.7 kB / 191.7 MB, free: 13.46 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.08362, allocations: 1.129 MB / 192.9 MB, free: 12.07 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/0.08371, allocations: 38.8 kB / 192.9 MB, free: 12.03 MB / 170.7 MB Notification: Performance of pre-optimization done (n=27): time 2.935e-06/0.08372, allocations: 4 kB / 192.9 MB, free: 12.02 MB / 170.7 MB Notification: Performance of matching and sorting (n=27): time 0.002077/0.08581, allocations: 498.1 kB / 193.4 MB, free: 11.51 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.08591, allocations: 85.11 kB / 193.5 MB, free: 11.41 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005855/0.08651, allocations: 345.5 kB / 193.8 MB, free: 11.06 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.08658, allocations: 33.7 kB / 193.9 MB, free: 11.02 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.0868, allocations: 258.6 kB / 194.1 MB, free: 10.77 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.08693, allocations: 106.6 kB / 194.2 MB, free: 10.66 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.08697, allocations: 4 kB / 194.2 MB, free: 10.66 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.08716, allocations: 322.8 kB / 194.5 MB, free: 10.34 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.0876, allocations: 108.6 kB / 194.6 MB, free: 10.22 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005019/0.08812, allocations: 189.6 kB / 194.8 MB, free: 10.01 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004859/0.08862, allocations: 124.3 kB / 194.9 MB, free: 9.883 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.08864, allocations: 0 / 194.9 MB, free: 9.883 MB / 170.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001251/0.0899, allocations: 389.6 kB / 195.3 MB, free: 9.492 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.08996, allocations: 8.25 kB / 195.3 MB, free: 9.484 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.08998, allocations: 4 kB / 195.3 MB, free: 9.48 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003027/0.0903, allocations: 44.77 kB / 195.4 MB, free: 9.434 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.09105, allocations: 91.89 kB / 195.5 MB, free: 9.344 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006333/0.0917, allocations: 0.5719 MB / 196 MB, free: 8.746 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.09223, allocations: 47.52 kB / 196.1 MB, free: 8.699 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.09229, allocations: 16 kB / 196.1 MB, free: 8.684 MB / 170.7 MB Warning: Assuming fixed start value for the following 5 variables: opAmp.v_source:VARIABLE(unit = "V" fixed = true ) type: Real opAmp.q_fr3:VARIABLE(fixed = true ) type: Real opAmp.q_fr2:VARIABLE(fixed = true ) type: Real opAmp.q_fr1:VARIABLE(fixed = true ) type: Real opAmp.v_in:VARIABLE(unit = "V" fixed = true ) type: Real 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 (41): * Single equations (assignments): 40 * 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 prepare postOptimizeDAE: time 0.0003697/0.09267, allocations: 161.8 kB / 196.3 MB, free: 8.516 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.09279, allocations: 43.48 kB / 196.3 MB, free: 8.473 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001242/0.09404, allocations: 326.3 kB / 196.6 MB, free: 8.141 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.09409, allocations: 7.984 kB / 196.6 MB, free: 8.133 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.0941, allocations: 0 / 196.6 MB, free: 8.133 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.09412, allocations: 0 / 196.6 MB, free: 8.133 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.0949, allocations: 389.2 kB / 197 MB, free: 7.703 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.09493, allocations: 8.062 kB / 197 MB, free: 7.695 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007562/0.0957, allocations: 67.94 kB / 197.1 MB, free: 7.629 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002474/0.09596, allocations: 40.84 kB / 197.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.09603, allocations: 11.98 kB / 197.1 MB, free: 7.574 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005214/0.09656, allocations: 0.564 MB / 197.7 MB, free: 6.984 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.09659, allocations: 3.938 kB / 197.7 MB, free: 6.98 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/0.09822, allocations: 0.521 MB / 198.2 MB, free: 6.441 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.09852, allocations: 136.6 kB / 198.4 MB, free: 6.289 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.481e-05/0.09863, allocations: 8 kB / 198.4 MB, free: 6.281 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.09915, allocations: 27.94 kB / 198.4 MB, free: 6.254 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.09924, allocations: 15.97 kB / 198.4 MB, free: 6.238 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.09928, allocations: 12 kB / 198.4 MB, free: 6.227 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0003988/0.09969, allocations: 239.2 kB / 198.7 MB, free: 6 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.0997, allocations: 4 kB / 198.7 MB, free: 5.996 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.000601/0.1003, allocations: 107.8 kB / 198.8 MB, free: 5.891 MB / 170.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.002133/0.1025, allocations: 1.104 MB / 199.9 MB, free: 4.754 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.1037, allocations: 295.7 kB / 200.2 MB, free: 4.465 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.1037, allocations: 0 / 200.2 MB, free: 4.465 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.1043, allocations: 136.4 kB / 200.3 MB, free: 4.332 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.105, allocations: 57.33 kB / 200.4 MB, free: 4.273 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005782/0.1108, allocations: 2.423 MB / 202.8 MB, free: 1.766 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.1113, allocations: 0.8066 MB / 203.6 MB, free: 0.9336 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.1117, allocations: 131.4 kB / 203.7 MB, free: 0.8047 MB / 170.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1117, allocations: 0 / 203.7 MB, free: 0.8047 MB / 170.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.92/3.032, allocations: 6.879 MB / 210.6 MB, free: 21.82 MB / 170.7 MB