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.571/1.571, allocations: 171.1 MB / 186.7 MB, free: 1.137 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004874/0.0004875, allocations: 11.98 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08167/0.0822, allocations: 38.76 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.417, allocations: 69.87 MB / 342 MB, free: 3.68 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/0.4173, allocations: 72.2 kB / 342 MB, free: 3.641 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03804/0.4554, allocations: 8.436 MB / 350.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4554, allocations: 0 / 350.5 MB, free: 12.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.395e-05/0.4555, allocations: 8 kB / 350.5 MB, free: 12.46 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.001699/0.4572, allocations: 0.6746 MB / 351.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.4572, allocations: 8.031 kB / 351.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.4574, allocations: 71.16 kB / 351.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.4575, allocations: 39.53 kB / 351.3 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.458, allocations: 307.5 kB / 351.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.458, allocations: 26.28 kB / 351.6 MB, free: 11.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.4581, allocations: 36.31 kB / 351.6 MB, free: 11.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.4591, allocations: 350.5 kB / 352 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4592, allocations: 3.984 kB / 352 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.4592, allocations: 14.69 kB / 352 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.4592, allocations: 8 kB / 352 MB, free: 11.03 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008257/0.4601, allocations: 240.1 kB / 352.2 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002953/0.463, allocations: 1.19 MB / 353.4 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.4642, allocations: 291.5 kB / 353.7 MB, free: 9.637 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.4653, allocations: 1.128 MB / 354.8 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.298e-05/0.4654, allocations: 41.8 kB / 354.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=27): time 2.866e-06/0.4654, allocations: 0 / 354.9 MB, free: 8.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001954/0.4674, allocations: 0.4989 MB / 355.4 MB, free: 7.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.4675, allocations: 81.11 kB / 355.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.468, allocations: 303.1 kB / 355.8 MB, free: 7.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.468, allocations: 33.39 kB / 355.8 MB, free: 7.395 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.4683, allocations: 267.6 kB / 356.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.4684, allocations: 99.48 kB / 356.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.4684, allocations: 5.312 kB / 356.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4686, allocations: 329.6 kB / 356.5 MB, free: 6.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.469, allocations: 114.6 kB / 356.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.4695, allocations: 189.3 kB / 356.8 MB, free: 6.508 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004376/0.4699, allocations: 135.2 kB / 356.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.47, allocations: 0 / 356.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001057/0.471, allocations: 362 kB / 357.3 MB, free: 6.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4711, allocations: 4 kB / 357.3 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.4711, allocations: 4 kB / 357.3 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.4711, allocations: 4 kB / 357.3 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007623/0.4719, allocations: 95.7 kB / 357.4 MB, free: 6.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.4719, allocations: 15.98 kB / 357.4 MB, free: 6.035 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.4724, allocations: 39.22 kB / 357.4 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.4724, allocations: 19.38 kB / 357.4 MB, free: 5.984 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.0002464/0.4727, allocations: 154.8 kB / 357.6 MB, free: 5.844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.672e-05/0.4728, allocations: 39.48 kB / 357.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.4739, allocations: 338.1 kB / 358 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4739, allocations: 0 / 358 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4739, allocations: 4 kB / 358 MB, free: 5.555 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.474, allocations: 3.984 kB / 358 MB, free: 5.551 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.4746, allocations: 386.9 kB / 358.3 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.4746, allocations: 4 kB / 358.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006854/0.4753, allocations: 63.95 kB / 358.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.4756, allocations: 47.95 kB / 358.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.754e-05/0.4757, allocations: 11.44 kB / 358.5 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000526/0.4762, allocations: 0.5675 MB / 359 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4762, allocations: 0 / 359 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.4777, allocations: 0.5252 MB / 359.6 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.478, allocations: 130.6 kB / 359.7 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.4781, allocations: 7.875 kB / 359.7 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004621/0.4785, allocations: 30.8 kB / 359.7 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.15e-05/0.4786, allocations: 15.97 kB / 359.7 MB, free: 3.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.4787, allocations: 11.81 kB / 359.8 MB, free: 3.895 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003826/0.4791, allocations: 240.4 kB / 360 MB, free: 3.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.4791, allocations: 0 / 360 MB, free: 3.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005972/0.4797, allocations: 100.3 kB / 360.1 MB, free: 3.613 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.002036/0.4817, allocations: 1.112 MB / 361.2 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009528/0.4827, allocations: 276.5 kB / 361.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.4827, allocations: 4 kB / 361.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.4833, allocations: 135.3 kB / 361.6 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004845/0.4838, allocations: 42.48 kB / 361.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005709/0.4895, allocations: 3.585 MB / 365.2 MB, free: 14.92 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.49, allocations: 0.7994 MB / 366 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.4903, allocations: 130.1 kB / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4903, allocations: 0 / 366.2 MB, free: 14.05 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.641/3.131, allocations: 6.231 MB / 372.4 MB, free: 7.891 MB / 298.7 MB