Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_CauerLowPassOPV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 194.8 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003499/0.0003499, allocations: 15.94 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09321, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5271, allocations: 74.61 MB / 383.1 MB, free: 14.6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/0.5274, allocations: 72.27 kB / 383.2 MB, free: 14.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0482/0.5757, allocations: 12.96 MB / 396.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.5757, allocations: 0 / 396.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.443e-05/0.5758, allocations: 22.34 kB / 396.2 MB, free: 13.27 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.0025/0.5783, allocations: 1.062 MB / 397.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.5783, allocations: 19.34 kB / 397.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002192/0.5786, allocations: 146.7 kB / 397.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002048/0.5788, allocations: 109.3 kB / 397.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007125/0.5795, allocations: 434.1 kB / 398 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.5796, allocations: 71 kB / 398 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.5798, allocations: 93.34 kB / 398.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.5817, allocations: 0.856 MB / 399 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/0.5817, allocations: 0 / 399 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.5819, allocations: 47.67 kB / 399 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.333e-05/0.5819, allocations: 23.5 kB / 399 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.5835, allocations: 0.5655 MB / 399.6 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006294/0.5898, allocations: 3.002 MB / 402.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006382/0.5905, allocations: 306.9 kB / 402.9 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.893e-05/0.5906, allocations: 11.83 kB / 402.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.5906, allocations: 37.44 kB / 403 MB, free: 10.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 3.186e-06/0.5906, allocations: 0 / 403 MB, free: 10.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.002206/0.5928, allocations: 0.6438 MB / 403.6 MB, free: 10.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5929, allocations: 59.19 kB / 403.7 MB, free: 10.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006929/0.5936, allocations: 460.7 kB / 404.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.5937, allocations: 32.83 kB / 404.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.5939, allocations: 0.5186 MB / 404.7 MB, free: 10.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.5941, allocations: 154.1 kB / 404.8 MB, free: 9.934 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.5941, allocations: 21.62 kB / 404.8 MB, free: 9.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.5942, allocations: 339.8 kB / 405.2 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/0.5947, allocations: 168 kB / 405.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.5953, allocations: 449.1 kB / 405.8 MB, free: 9.211 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005426/0.5958, allocations: 237.8 kB / 406 MB, free: 9.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.5958, allocations: 0 / 406 MB, free: 9.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001679/0.5975, allocations: 0.7257 MB / 406.7 MB, free: 8.992 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.5976, allocations: 8.375 kB / 406.7 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.5976, allocations: 8.25 kB / 406.7 MB, free: 8.992 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004292/0.5981, allocations: 92.44 kB / 406.8 MB, free: 8.965 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.5993, allocations: 200.4 kB / 407 MB, free: 8.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002132/0.6014, allocations: 1.842 MB / 408.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008128/0.6023, allocations: 83.12 kB / 408.9 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.6023, allocations: 33.06 kB / 409 MB, free: 7.41 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004617/0.6028, allocations: 217.9 kB / 409.2 MB, free: 7.273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.6029, allocations: 66.2 kB / 409.3 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.6031, allocations: 61.69 kB / 409.3 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.6031, allocations: 7.938 kB / 409.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.6031, allocations: 3.969 kB / 409.3 MB, free: 7.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6031, allocations: 3.984 kB / 409.3 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009486/0.6041, allocations: 0.641 MB / 410 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.6041, allocations: 0 / 410 MB, free: 6.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007428/0.6048, allocations: 104.8 kB / 410.1 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003119/0.6052, allocations: 78.45 kB / 410.2 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.197e-05/0.6052, allocations: 7.422 kB / 410.2 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.6072, allocations: 1.813 MB / 412 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.6072, allocations: 0 / 412 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.6085, allocations: 0.6609 MB / 412.6 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.6087, allocations: 134.9 kB / 412.8 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.6088, allocations: 3.438 kB / 412.8 MB, free: 5.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006978/0.6095, allocations: 56.72 kB / 412.8 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.298e-05/0.6096, allocations: 31.05 kB / 412.9 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.6097, allocations: 15.56 kB / 412.9 MB, free: 4.98 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000471/0.6101, allocations: 343.7 kB / 413.2 MB, free: 4.848 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6102, allocations: 0 / 413.2 MB, free: 4.848 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001013/0.6112, allocations: 254.4 kB / 413.5 MB, free: 4.801 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.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 (33): * Single equations (assignments): 32 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001532/0.6127, allocations: 1.225 MB / 414.7 MB, free: 4.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.614, allocations: 0.5872 MB / 415.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.614, allocations: 0 / 415.3 MB, free: 3.816 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.6147, allocations: 328.6 kB / 415.6 MB, free: 3.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.6154, allocations: 104.3 kB / 415.7 MB, free: 3.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009179/0.6246, allocations: 9.907 MB / 425.6 MB, free: 11.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/0.6253, allocations: 0.9521 MB / 426.5 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004552/0.6258, allocations: 266.5 kB / 426.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6258, allocations: 0 / 426.8 MB, free: 10.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.885/3.51, allocations: 14.02 MB / 440.8 MB, free: 3.48 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.CauerLowPassOPV_res.mat does not exist to compare? outputFormat=mat