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.ChuaCircuit.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.ChuaCircuit,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 171.2 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8 kB / 233.3 MB, free: 0.8672 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08342/0.08381, allocations: 38.77 MB / 272 MB, free: 10.02 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002992/0.08686, allocations: 1.687 MB / 273.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.08812, allocations: 0.5344 MB / 274.2 MB, free: 7.77 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.08827, allocations: 7.938 kB / 274.3 MB, free: 7.762 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.83e-05/0.08835, allocations: 23.83 kB / 274.3 MB, free: 7.738 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.08859, allocations: 63.86 kB / 274.3 MB, free: 7.676 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/0.08881, allocations: 43.89 kB / 274.4 MB, free: 7.633 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.08913, allocations: 159.5 kB / 274.5 MB, free: 7.477 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.08934, allocations: 62.09 kB / 274.6 MB, free: 7.41 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.08949, allocations: 67.77 kB / 274.7 MB, free: 7.344 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.08967, allocations: 83.67 kB / 274.7 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.078e-05/0.08972, allocations: 12 kB / 274.8 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.831e-05/0.08978, allocations: 8 kB / 274.8 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.287e-05/0.08984, allocations: 35.84 kB / 274.8 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.749e-05/0.08992, allocations: 61.64 kB / 274.9 MB, free: 7.141 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.0902, allocations: 171.8 kB / 275 MB, free: 6.973 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.09021, allocations: 0 / 275 MB, free: 6.973 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.09022, allocations: 0 / 275 MB, free: 6.973 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.09024, allocations: 0 / 275 MB, free: 6.973 MB / 234.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.0009411/0.09119, allocations: 470.7 kB / 275.5 MB, free: 6.465 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.09124, allocations: 8.031 kB / 275.5 MB, free: 6.457 MB / 234.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.445e-05/0.09134, allocations: 62.42 kB / 275.6 MB, free: 6.387 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.09141, allocations: 19.72 kB / 275.6 MB, free: 6.367 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/0.09173, allocations: 214.8 kB / 275.8 MB, free: 6.117 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.09177, allocations: 19.95 kB / 275.8 MB, free: 6.098 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.09183, allocations: 19.98 kB / 275.8 MB, free: 6.078 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005627/0.0924, allocations: 185.5 kB / 276 MB, free: 5.891 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.09243, allocations: 0 / 276 MB, free: 5.891 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.09247, allocations: 4 kB / 276 MB, free: 5.887 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.09249, allocations: 8 kB / 276 MB, free: 5.879 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005514/0.09305, allocations: 147.9 kB / 276.2 MB, free: 5.734 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.0949, allocations: 0.7546 MB / 276.9 MB, free: 4.91 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006725/0.0956, allocations: 174.5 kB / 277.1 MB, free: 4.73 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.09564, allocations: 4 kB / 277.1 MB, free: 4.727 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.09569, allocations: 34.81 kB / 277.1 MB, free: 4.684 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.615e-06/0.0957, allocations: 0 / 277.1 MB, free: 4.684 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007607/0.09647, allocations: 201.4 kB / 277.3 MB, free: 4.48 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.235e-05/0.09657, allocations: 59.41 kB / 277.4 MB, free: 4.41 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.09678, allocations: 153.7 kB / 277.5 MB, free: 4.254 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.09683, allocations: 29.7 kB / 277.6 MB, free: 4.219 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.09696, allocations: 198.5 kB / 277.7 MB, free: 4.023 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.09703, allocations: 47.27 kB / 277.8 MB, free: 3.977 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.09706, allocations: 4 kB / 277.8 MB, free: 3.973 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.09721, allocations: 318.8 kB / 278.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.09745, allocations: 59.97 kB / 278.2 MB, free: 3.594 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.0977, allocations: 69.69 kB / 278.2 MB, free: 3.52 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.09795, allocations: 61.39 kB / 278.3 MB, free: 3.461 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.09797, allocations: 0 / 278.3 MB, free: 3.461 MB / 234.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005755/0.09856, allocations: 179.8 kB / 278.5 MB, free: 3.281 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.09859, allocations: 4 kB / 278.5 MB, free: 3.277 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.09861, allocations: 3.984 kB / 278.5 MB, free: 3.273 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.09864, allocations: 7.953 kB / 278.5 MB, free: 3.266 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/0.09903, allocations: 39.95 kB / 278.5 MB, free: 3.227 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.09905, allocations: 8 kB / 278.5 MB, free: 3.219 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.09926, allocations: 23.83 kB / 278.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.09929, allocations: 0 / 278.6 MB, free: 3.195 MB / 234.7 MB 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.0001558/0.09946, allocations: 125.8 kB / 278.7 MB, free: 3.062 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.09952, allocations: 15.81 kB / 278.7 MB, free: 3.047 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.09958, allocations: 12.84 kB / 278.7 MB, free: 3.035 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.0996, allocations: 11.94 kB / 278.7 MB, free: 3.023 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.09962, allocations: 4 kB / 278.7 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.09964, allocations: 3.938 kB / 278.7 MB, free: 3.016 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1001, allocations: 269.4 kB / 279 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1001, allocations: 0 / 279 MB, free: 2.703 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.1005, allocations: 43.92 kB / 279 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.1005, allocations: 0 / 279 MB, free: 2.66 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.1006, allocations: 7.984 kB / 279 MB, free: 2.652 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1006, allocations: 4 kB / 279 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1006, allocations: 3.953 kB / 279.1 MB, free: 2.645 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.1014, allocations: 307.3 kB / 279.4 MB, free: 2.328 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.1015, allocations: 85.02 kB / 279.4 MB, free: 2.227 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.1015, allocations: 8 kB / 279.4 MB, free: 2.219 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002421/0.1018, allocations: 16.03 kB / 279.5 MB, free: 2.203 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.1019, allocations: 7.984 kB / 279.5 MB, free: 2.195 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1019, allocations: 7.953 kB / 279.5 MB, free: 2.188 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001312/0.102, allocations: 122.6 kB / 279.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.102, allocations: 0 / 279.6 MB, free: 2.07 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003726/0.1024, allocations: 47.84 kB / 279.6 MB, free: 2.023 MB / 234.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.001101/0.1035, allocations: 0.8535 MB / 280.5 MB, free: 1.145 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.1041, allocations: 123.9 kB / 280.6 MB, free: 1.023 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1041, allocations: 0 / 280.6 MB, free: 1.023 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.1043, allocations: 67.91 kB / 280.7 MB, free: 0.957 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1047, allocations: 30.8 kB / 280.7 MB, free: 0.9297 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2783/0.383, allocations: 1.209 MB / 281.9 MB, free: 15.05 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.3833, allocations: 0.7292 MB / 282.6 MB, free: 14.36 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.3835, allocations: 48.72 kB / 282.7 MB, free: 14.35 MB / 234.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3835, allocations: 0 / 282.7 MB, free: 14.35 MB / 234.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.413/2.797, allocations: 2.722 MB / 285.4 MB, free: 14.28 MB / 234.7 MB "" Variables in the reference:time,C1.v,C2.v,L.i Variables in the result:C1.C,C1.i,C1.n.i,C1.n.v,C1.p.i,C1.p.v,C1.v,C2.C,C2.i,C2.n.i,C2.n.v,C2.p.i,C2.p.v,C2.v,G.G,G.G_actual,G.LossPower,G.T,G.T_heatPort,G.T_ref,G.alpha,G.i,G.n.i,G.n.v,G.p.i,G.p.v,G.useHeatPort,G.v,Gnd.p.i,Gnd.p.v,L.L,L.i,L.n.i,L.n.v,L.p.i,L.p.v,L.v,Nr.Ga,Nr.Gb,Nr.Ve,Nr.i,Nr.n.i,Nr.n.v,Nr.p.i,Nr.p.v,Nr.v,Ro.LossPower,Ro.R,Ro.R_actual,Ro.T,Ro.T_heatPort,Ro.T_ref,Ro.alpha,Ro.i,Ro.n.i,Ro.n.v,Ro.p.i,Ro.p.v,Ro.useHeatPort,Ro.v,der(C1.v),der(C2.v),der(L.i),time