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.DifferenceAmplifier.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.DifferenceAmplifier,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_DifferenceAmplifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 171.1 MB / 186.1 MB, free: 1.129 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004824, allocations: 8 kB / 233.3 MB, free: 2.281 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08434/0.08487, allocations: 38.78 MB / 272.1 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3476/0.4325, allocations: 70.56 MB / 342.7 MB, free: 2.695 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4328, allocations: 79.33 kB / 342.8 MB, free: 2.652 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07748/0.5103, allocations: 15.81 MB / 358.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5104, allocations: 0 / 358.6 MB, free: 5.09 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.125e-05/0.5105, allocations: 16 kB / 358.6 MB, free: 5.074 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.005913/0.5164, allocations: 1.314 MB / 359.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.5165, allocations: 12.03 kB / 359.9 MB, free: 3.754 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004075/0.5169, allocations: 132.2 kB / 360 MB, free: 3.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003025/0.5172, allocations: 102.8 kB / 360.1 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.5184, allocations: 0.5246 MB / 360.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.664e-05/0.5185, allocations: 60.62 kB / 360.7 MB, free: 3.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002569/0.5188, allocations: 82.94 kB / 360.8 MB, free: 3.027 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004522/0.5233, allocations: 1.167 MB / 362 MB, free: 2.184 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.5234, allocations: 4 kB / 362 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.5236, allocations: 34.88 kB / 362 MB, free: 2.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/0.5236, allocations: 20 kB / 362 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006115/0.5297, allocations: 1.303 MB / 363.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.5398, allocations: 3.512 MB / 366.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005551/0.5454, allocations: 1.186 MB / 368 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.5456, allocations: 16.48 kB / 368 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.5456, allocations: 45.44 kB / 368.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=67): time 4.067e-06/0.5457, allocations: 0 / 368.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=71): time 0.01585/0.5615, allocations: 3.517 MB / 371.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.5616, allocations: 60.06 kB / 371.7 MB, free: 10.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009403/0.5626, allocations: 465.2 kB / 372.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.5628, allocations: 41.39 kB / 372.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/0.5632, allocations: 408.1 kB / 372.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.5635, allocations: 257.5 kB / 372.8 MB, free: 9.945 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.5636, allocations: 14.69 kB / 372.8 MB, free: 9.941 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.5639, allocations: 377.6 kB / 373.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.5665, allocations: 0.5716 MB / 373.8 MB, free: 9.191 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002739/0.5693, allocations: 0.6781 MB / 374.4 MB, free: 8.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.5722, allocations: 0.5866 MB / 375 MB, free: 8.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5722, allocations: 0 / 375 MB, free: 8.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.006761/0.579, allocations: 1.555 MB / 376.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.5791, allocations: 8.625 kB / 376.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.5791, allocations: 4 kB / 376.6 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009469/0.58, allocations: 184.7 kB / 376.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/0.5827, allocations: 283.7 kB / 377.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006031/0.5888, allocations: 2.66 MB / 379.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/0.5909, allocations: 124 kB / 379.8 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.591, allocations: 35.94 kB / 379.9 MB, free: 3.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (88): * Single equations (assignments): 87 * 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: 1 {(5,60.0%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006495/0.5917, allocations: 221.7 kB / 380.1 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.5919, allocations: 71.16 kB / 380.2 MB, free: 2.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003098/0.5923, allocations: 86.45 kB / 380.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.5923, allocations: 8.125 kB / 380.2 MB, free: 2.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.917e-05/0.5923, allocations: 8 kB / 380.3 MB, free: 2.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.5923, allocations: 3.984 kB / 380.3 MB, free: 2.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.5944, allocations: 1.005 MB / 381.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.5944, allocations: 0 / 381.3 MB, free: 1.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/0.5969, allocations: 247.7 kB / 381.5 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009578/0.5979, allocations: 185.8 kB / 381.7 MB, free: 1.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.598, allocations: 23.94 kB / 381.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005891/0.6039, allocations: 2.656 MB / 384.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.604, allocations: 0 / 384.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009424/0.6134, allocations: 2.189 MB / 386.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/0.6141, allocations: 244.1 kB / 386.8 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002156/0.6144, allocations: 20 kB / 386.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/0.6164, allocations: 143.9 kB / 387 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/0.6166, allocations: 52.58 kB / 387 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/0.6167, allocations: 27.97 kB / 387 MB, free: 11.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007117/0.6174, allocations: 362.9 kB / 387.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6174, allocations: 0 / 387.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00128/0.6187, allocations: 244 kB / 387.6 MB, free: 11.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (C1.v,C4.v,C5.v,C2.v,C3.v,Transistor1.ct.v,Transistor1.Tr.C.v,Transistor2.ct.v,Transistor2.Tr.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 (56): * Single equations (assignments): 55 * 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: 1 {(5,68.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01229/0.631, allocations: 2.765 MB / 390.4 MB, free: 8.344 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.009242/0.6403, allocations: 1.533 MB / 391.9 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.6404, allocations: 0 / 391.9 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005487/0.6459, allocations: 0.8815 MB / 392.8 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001545/0.6475, allocations: 106.6 kB / 392.9 MB, free: 5.797 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/0.6768, allocations: 7.949 MB / 400.9 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/0.6779, allocations: 0.9775 MB / 401.8 MB, free: 12.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001456/0.6794, allocations: 81.17 kB / 401.9 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.6805, allocations: 291.3 kB / 402.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.6806, allocations: 0 / 402.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09426/0.7748, allocations: 16.85 MB / 419 MB, free: 11.57 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002686/0.7752, allocations: 211 kB / 419.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.243/4.019, allocations: 3.938 kB / 419.3 MB, free: 11.32 MB / 346.7 MB