Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.HighPass,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_HighPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.23/2.23, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007724/0.0007729, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3681, allocations: 44.5 MB / 308.6 MB, free: 12.78 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.5171, allocations: 74.71 MB / 383.3 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004572/0.5176, allocations: 79.95 kB / 383.4 MB, free: 1.887 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03388/0.5515, allocations: 5.545 MB / 388.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5516, allocations: 0 / 388.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.5516, allocations: 8 kB / 388.9 MB, free: 12.32 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.002095/0.5537, allocations: 0.603 MB / 389.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.719e-05/0.5538, allocations: 8.031 kB / 389.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/0.5541, allocations: 58.55 kB / 389.6 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.5542, allocations: 35.58 kB / 389.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006338/0.5549, allocations: 270.4 kB / 389.9 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/0.5549, allocations: 28.38 kB / 389.9 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.555, allocations: 16 kB / 389.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5561, allocations: 255.2 kB / 390.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5561, allocations: 3.984 kB / 390.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.5562, allocations: 4 kB / 390.2 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.5562, allocations: 8 kB / 390.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.5573, allocations: 237.6 kB / 390.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/0.56, allocations: 0.9429 MB / 391.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.5612, allocations: 214.5 kB / 391.6 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.5612, allocations: 4 kB / 391.6 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007056/0.562, allocations: 177.8 kB / 391.8 MB, free: 9.262 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 3.747e-06/0.562, allocations: 4 kB / 391.8 MB, free: 9.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.003363/0.5654, allocations: 0.5654 MB / 392.3 MB, free: 8.664 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.778e-05/0.5655, allocations: 102.8 kB / 392.4 MB, free: 8.539 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.5659, allocations: 241.6 kB / 392.7 MB, free: 8.297 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.566, allocations: 37.64 kB / 392.7 MB, free: 8.254 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.5662, allocations: 175.9 kB / 392.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.5663, allocations: 47.25 kB / 392.9 MB, free: 8.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.5663, allocations: 8 kB / 392.9 MB, free: 8.023 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5665, allocations: 334.8 kB / 393.2 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.567, allocations: 99.92 kB / 393.3 MB, free: 7.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006159/0.5676, allocations: 159.6 kB / 393.5 MB, free: 7.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/0.5682, allocations: 133.6 kB / 393.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5682, allocations: 0 / 393.6 MB, free: 7.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001971/0.5702, allocations: 417.6 kB / 394 MB, free: 6.848 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.5703, allocations: 37.7 kB / 394.1 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.5703, allocations: 0 / 394.1 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008571/0.5712, allocations: 96.78 kB / 394.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.5717, allocations: 51.95 kB / 394.2 MB, free: 6.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004034/0.5758, allocations: 1.781 MB / 396 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005802/0.5764, allocations: 43.81 kB / 396 MB, free: 4.688 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.5764, allocations: 8 kB / 396.1 MB, free: 4.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0002471/0.5767, allocations: 145 kB / 396.2 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.5768, allocations: 27.7 kB / 396.2 MB, free: 4.504 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.5769, allocations: 25.83 kB / 396.2 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5769, allocations: 4 kB / 396.3 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5769, allocations: 0 / 396.3 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.5769, allocations: 3.953 kB / 396.3 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.5774, allocations: 309.3 kB / 396.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.5774, allocations: 0 / 396.6 MB, free: 4.117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.5778, allocations: 35.97 kB / 396.6 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007346/0.5785, allocations: 96.72 kB / 396.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.5786, allocations: 7.938 kB / 396.7 MB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.582, allocations: 1.665 MB / 398.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5821, allocations: 0 / 398.4 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.5843, allocations: 449.4 kB / 398.8 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.5844, allocations: 108.7 kB / 398.9 MB, free: 1.582 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-05/0.5845, allocations: 12 kB / 398.9 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.585, allocations: 27.97 kB / 398.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.5851, allocations: 27.95 kB / 399 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.5851, allocations: 4 kB / 399 MB, free: 1.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.5854, allocations: 186 kB / 399.2 MB, free: 1.332 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5854, allocations: 4 kB / 399.2 MB, free: 1.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005329/0.586, allocations: 84.09 kB / 399.2 MB, free: 1.246 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002762/0.5888, allocations: 0.9889 MB / 400.2 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.5903, allocations: 401.9 kB / 400.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.5903, allocations: 0 / 400.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007047/0.591, allocations: 242.8 kB / 400.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.5916, allocations: 36.53 kB / 400.9 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005528/0.5971, allocations: 2.595 MB / 403.5 MB, free: 12.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.5976, allocations: 0.7601 MB / 404.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.5978, allocations: 26.28 kB / 404.3 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.598, allocations: 75.42 kB / 404.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.598, allocations: 0 / 404.3 MB, free: 11.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.6301, allocations: 5.675 MB / 410 MB, free: 6.312 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/0.6305, allocations: 211.1 kB / 410.2 MB, free: 6.07 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.797/3.427, allocations: 0 / 410.2 MB, free: 6.07 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.HighPass_res.mat does not exist to compare? outputFormat=mat