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.ChuaCircuit.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.ChuaCircuit,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 0.984/0.984, allocations: 111.1 MB / 126.7 MB, free: 6.145 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002555/0.0002556, allocations: 4 kB / 158.4 MB, free: 15.1 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05224/0.05254, allocations: 25.17 MB / 183.6 MB, free: 5.887 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2098/0.2624, allocations: 34.62 MB / 218.2 MB, free: 6.504 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.2626, allocations: 64.62 kB / 218.3 MB, free: 6.496 MB / 170.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.2741, allocations: 2.991 MB / 221.3 MB, free: 5.238 MB / 170.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2741, allocations: 0 / 221.3 MB, free: 5.238 MB / 170.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.2742, allocations: 3.844 kB / 221.3 MB, free: 5.238 MB / 170.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000823/0.275, allocations: 470.7 kB / 221.7 MB, free: 4.816 MB / 170.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2751, allocations: 7.688 kB / 221.7 MB, free: 4.816 MB / 170.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.795e-05/0.2751, allocations: 53.3 kB / 221.8 MB, free: 4.773 MB / 170.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.942e-05/0.2752, allocations: 19.41 kB / 221.8 MB, free: 4.762 MB / 170.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.2755, allocations: 216 kB / 222 MB, free: 4.543 MB / 170.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.2755, allocations: 16.61 kB / 222 MB, free: 4.539 MB / 170.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/0.2756, allocations: 22.31 kB / 222.1 MB, free: 4.535 MB / 170.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005158/0.2761, allocations: 178.2 kB / 222.2 MB, free: 4.473 MB / 170.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2761, allocations: 1.312 kB / 222.2 MB, free: 4.473 MB / 170.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.2762, allocations: 11.02 kB / 222.2 MB, free: 4.469 MB / 170.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2762, allocations: 7.5 kB / 222.3 MB, free: 4.469 MB / 170.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.2767, allocations: 150.9 kB / 222.4 MB, free: 4.441 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.2783, allocations: 0.7541 MB / 223.2 MB, free: 3.926 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000609/0.279, allocations: 169.6 kB / 223.3 MB, free: 3.879 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.279, allocations: 3.875 kB / 223.3 MB, free: 3.879 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2791, allocations: 38.17 kB / 223.4 MB, free: 3.836 MB / 170.7 MB Notification: Performance of pre-optimization done (n=13): time 3.838e-06/0.2791, allocations: 0 / 223.4 MB, free: 3.836 MB / 170.7 MB Notification: Performance of matching and sorting (n=13): time 0.000718/0.2798, allocations: 203.7 kB / 223.6 MB, free: 3.766 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.2799, allocations: 51.41 kB / 223.6 MB, free: 3.703 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.28, allocations: 142 kB / 223.7 MB, free: 3.598 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.28, allocations: 25.7 kB / 223.8 MB, free: 3.566 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.2801, allocations: 205.7 kB / 224 MB, free: 3.383 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.111e-05/0.2802, allocations: 42.92 kB / 224 MB, free: 3.352 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.2802, allocations: 3.5 kB / 224 MB, free: 3.352 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.2803, allocations: 318.6 kB / 224.3 MB, free: 3.035 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.2805, allocations: 48.27 kB / 224.4 MB, free: 3.031 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.2807, allocations: 77.16 kB / 224.5 MB, free: 2.996 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.2809, allocations: 63.55 kB / 224.5 MB, free: 2.984 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2809, allocations: 0 / 224.5 MB, free: 2.984 MB / 170.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004916/0.2814, allocations: 175.6 kB / 224.7 MB, free: 2.934 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2815, allocations: 3.812 kB / 224.7 MB, free: 2.934 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2815, allocations: 0 / 224.7 MB, free: 2.934 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.2815, allocations: 7.781 kB / 224.7 MB, free: 2.93 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.2819, allocations: 45.53 kB / 224.7 MB, free: 2.918 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2819, allocations: 0 / 224.7 MB, free: 2.918 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.2821, allocations: 24.17 kB / 224.8 MB, free: 2.906 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.2821, allocations: 3.844 kB / 224.8 MB, free: 2.906 MB / 170.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(start = 4.0 unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L.i:VARIABLE(unit = "A" fixed = true ) "Current flowing from pin p to pin n" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (19): * Single equations (assignments): 19 * 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.0002549/0.2824, allocations: 140.6 kB / 224.9 MB, free: 2.781 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.2825, allocations: 19.38 kB / 224.9 MB, free: 2.766 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.98e-05/0.2825, allocations: 21.55 kB / 224.9 MB, free: 2.762 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2825, allocations: 3.844 kB / 225 MB, free: 2.762 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.2825, allocations: 0 / 225 MB, free: 2.762 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2826, allocations: 4 kB / 225 MB, free: 2.758 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.2829, allocations: 263.4 kB / 225.2 MB, free: 2.531 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2829, allocations: 0 / 225.2 MB, free: 2.531 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.2833, allocations: 44.77 kB / 225.3 MB, free: 2.527 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.2833, allocations: 7.969 kB / 225.3 MB, free: 2.52 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.2833, allocations: 0 / 225.3 MB, free: 2.52 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2834, allocations: 0 / 225.3 MB, free: 2.52 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2834, allocations: 0 / 225.3 MB, free: 2.52 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.2841, allocations: 316.8 kB / 225.6 MB, free: 2.352 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.2841, allocations: 92.59 kB / 225.7 MB, free: 2.246 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.2842, allocations: 11.59 kB / 225.7 MB, free: 2.242 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.2844, allocations: 11.66 kB / 225.7 MB, free: 2.238 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/0.2845, allocations: 11.73 kB / 225.7 MB, free: 2.234 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.2845, allocations: 2.875 kB / 225.7 MB, free: 2.234 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.2846, allocations: 116.8 kB / 225.8 MB, free: 2.152 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.2847, allocations: 0 / 225.8 MB, free: 2.152 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.285, allocations: 48.09 kB / 225.9 MB, free: 2.145 MB / 170.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.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 (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0009299/0.286, allocations: 0.8571 MB / 226.7 MB, free: 1.438 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.0004998/0.2865, allocations: 128.5 kB / 226.8 MB, free: 1.418 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.2865, allocations: 3.688 kB / 226.8 MB, free: 1.418 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.2868, allocations: 61.03 kB / 226.9 MB, free: 1.41 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.2873, allocations: 36.59 kB / 226.9 MB, free: 1.398 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002474/0.2898, allocations: 1.366 MB / 228.3 MB, free: 436 kB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.2901, allocations: 0.7308 MB / 229 MB, free: 15.7 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.2902, allocations: 50.42 kB / 229.1 MB, free: 15.7 MB / 186.7 MB Notification: Performance of SimCode: time 1.273e-06/0.2903, allocations: 0 / 229.1 MB, free: 15.7 MB / 186.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.591/2.881, allocations: 2.769 MB / 231.9 MB, free: 14.33 MB / 186.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat does not exist to compare? outputFormat=mat