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.LCOscillator.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.LCOscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_LCOscillator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 194.9 MB / 211.1 MB, free: 8.473 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.0003537, allocations: 11.98 kB / 264.1 MB, free: 3.387 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2862, allocations: 44.51 MB / 308.6 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator): time 0.003548/0.2898, allocations: 2.149 MB / 310.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.2914, allocations: 0.6478 MB / 311.4 MB, free: 9.934 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001882/0.2916, allocations: 4 kB / 311.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.594e-05/0.2917, allocations: 31.75 kB / 311.4 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003321/0.2921, allocations: 107.7 kB / 311.5 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.2923, allocations: 43.95 kB / 311.6 MB, free: 9.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.2928, allocations: 223.4 kB / 311.8 MB, free: 9.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.293, allocations: 77.69 kB / 311.8 MB, free: 9.457 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002262/0.2932, allocations: 103.6 kB / 311.9 MB, free: 9.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002263/0.2935, allocations: 111.5 kB / 312.1 MB, free: 9.246 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.868e-05/0.2936, allocations: 20 kB / 312.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.2936, allocations: 12 kB / 312.1 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.484e-05/0.2937, allocations: 47.83 kB / 312.1 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.522e-05/0.2938, allocations: 77.45 kB / 312.2 MB, free: 9.086 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.2941, allocations: 224.3 kB / 312.4 MB, free: 8.867 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2942, allocations: 4 kB / 312.4 MB, free: 8.863 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2942, allocations: 0 / 312.4 MB, free: 8.863 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2942, allocations: 0 / 312.4 MB, free: 8.863 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001038/0.2952, allocations: 0.5145 MB / 312.9 MB, free: 8.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2953, allocations: 8.031 kB / 313 MB, free: 8.293 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.71e-05/0.2954, allocations: 66.53 kB / 313 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.2955, allocations: 31.62 kB / 313.1 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.2959, allocations: 238.6 kB / 313.3 MB, free: 7.914 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.2959, allocations: 20.56 kB / 313.3 MB, free: 7.895 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.296, allocations: 31.94 kB / 313.3 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006087/0.2966, allocations: 212.9 kB / 313.5 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.2966, allocations: 0 / 313.5 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.2967, allocations: 11.98 kB / 313.6 MB, free: 7.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2967, allocations: 8 kB / 313.6 MB, free: 7.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004749/0.2972, allocations: 158.2 kB / 313.7 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.2996, allocations: 0.9135 MB / 314.6 MB, free: 6.492 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.3001, allocations: 158.6 kB / 314.8 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.3002, allocations: 0 / 314.8 MB, free: 6.328 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.3002, allocations: 34.56 kB / 314.8 MB, free: 6.285 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.744e-06/0.3002, allocations: 0 / 314.8 MB, free: 6.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.002162/0.3024, allocations: 449 kB / 315.3 MB, free: 5.82 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3025, allocations: 59.34 kB / 315.3 MB, free: 5.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.3028, allocations: 232.1 kB / 315.5 MB, free: 5.512 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.3028, allocations: 33.7 kB / 315.6 MB, free: 5.473 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.303, allocations: 163.9 kB / 315.7 MB, free: 5.305 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.3031, allocations: 63.09 kB / 315.8 MB, free: 5.242 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.522e-05/0.3031, allocations: 4 kB / 315.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.3033, allocations: 330.8 kB / 316.1 MB, free: 4.906 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.3034, allocations: 56.39 kB / 316.2 MB, free: 4.848 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/0.3036, allocations: 107.1 kB / 316.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.3038, allocations: 67.75 kB / 316.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3038, allocations: 0 / 316.4 MB, free: 4.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001106/0.305, allocations: 300.1 kB / 316.6 MB, free: 4.359 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.305, allocations: 12.19 kB / 316.7 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.305, allocations: 3.984 kB / 316.7 MB, free: 4.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007809/0.3058, allocations: 92.78 kB / 316.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.3062, allocations: 47.92 kB / 316.8 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003686/0.3099, allocations: 1.77 MB / 318.6 MB, free: 2.289 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.3101, allocations: 27.72 kB / 318.6 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.3102, allocations: 8 kB / 318.6 MB, free: 2.254 MB / 250.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001814/0.3104, allocations: 133.8 kB / 318.7 MB, free: 2.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.3104, allocations: 23.88 kB / 318.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.3105, allocations: 25.86 kB / 318.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3105, allocations: 0 / 318.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3105, allocations: 0 / 318.8 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3106, allocations: 7.953 kB / 318.8 MB, free: 2.059 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004752/0.311, allocations: 301.3 kB / 319.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3111, allocations: 0 / 319.1 MB, free: 1.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.3113, allocations: 31.98 kB / 319.1 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000703/0.3121, allocations: 88.78 kB / 319.2 MB, free: 1.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.3121, allocations: 4 kB / 319.2 MB, free: 1.59 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003456/0.3156, allocations: 1.766 MB / 321 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3156, allocations: 0 / 321 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.3167, allocations: 396.7 kB / 321.4 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.34e-05/0.3169, allocations: 100.8 kB / 321.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.908e-05/0.3169, allocations: 0 / 321.5 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.3172, allocations: 16 kB / 321.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.3172, allocations: 7.984 kB / 321.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.3173, allocations: 11.98 kB / 321.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.3175, allocations: 159.5 kB / 321.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3175, allocations: 4.062 kB / 321.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006032/0.3181, allocations: 71.84 kB / 321.7 MB, free: 14.89 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (c.v,l.i) * 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): 12 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001448/0.3196, allocations: 0.9291 MB / 322.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.3203, allocations: 268.7 kB / 322.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.3203, allocations: 8.047 kB / 322.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003778/0.3207, allocations: 186.6 kB / 323.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3211, allocations: 36.61 kB / 323.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004742/0.3258, allocations: 1.607 MB / 324.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.3262, allocations: 0.7557 MB / 325.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001492/0.3264, allocations: 17.95 kB / 325.5 MB, free: 10.94 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.3266, allocations: 75.41 kB / 325.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3266, allocations: 0 / 325.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.3545, allocations: 4.55 MB / 330.1 MB, free: 6.355 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003494/0.3549, allocations: 219.7 kB / 330.4 MB, free: 6.109 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.487/2.842, allocations: 4 kB / 330.4 MB, free: 6.105 MB / 266.7 MB "" Variables in the reference:time,c.v,l.i,opAmp.out.v,opAmp.out.i Variables in the result:A,C,L,R,R1,R2,VAmp,c.C,c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,der(c.v),der(l.i),f,gamma,ground.p.i,ground.p.v,l.L,l.i,l.n.i,l.n.v,l.p.i,l.p.v,l.v,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.i_s,opAmp.in_n.i,opAmp.in_n.v,opAmp.in_p.i,opAmp.in_p.v,opAmp.out.i,opAmp.out.v,opAmp.p_in,opAmp.p_out,opAmp.p_s,opAmp.useSupply,opAmp.v_in,opAmp.v_out,opAmp.vns,opAmp.vps,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.v,r1.LossPower,r1.R,r1.R_actual,r1.T,r1.T_heatPort,r1.T_ref,r1.alpha,r1.i,r1.n.i,r1.n.v,r1.p.i,r1.p.v,r1.useHeatPort,r1.v,r2.LossPower,r2.R,r2.R_actual,r2.T,r2.T_heatPort,r2.T_ref,r2.alpha,r2.i,r2.n.i,r2.n.v,r2.p.i,r2.p.v,r2.useHeatPort,r2.v,time,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v