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.Integrator.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.Integrator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 194.9 MB / 211.1 MB, free: 8.562 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004589/0.000459, allocations: 11.98 kB / 264.1 MB, free: 3.461 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2877, allocations: 44.5 MB / 308.6 MB, free: 12.76 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.003547/0.2913, allocations: 2.111 MB / 310.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2928, allocations: 0.6324 MB / 311.3 MB, free: 10 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.293, allocations: 4 kB / 311.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.101e-05/0.2931, allocations: 31.69 kB / 311.3 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003215/0.2934, allocations: 87.75 kB / 311.4 MB, free: 9.879 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.2937, allocations: 39.95 kB / 311.5 MB, free: 9.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.2941, allocations: 199.5 kB / 311.7 MB, free: 9.645 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.2944, allocations: 68.73 kB / 311.7 MB, free: 9.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002334/0.2946, allocations: 103.7 kB / 311.8 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.2949, allocations: 115.5 kB / 311.9 MB, free: 9.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.828e-05/0.2949, allocations: 12 kB / 312 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.295, allocations: 16 kB / 312 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.2951, allocations: 43.81 kB / 312 MB, free: 9.289 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.086e-05/0.2952, allocations: 69.52 kB / 312.1 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003332/0.2955, allocations: 216.4 kB / 312.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2955, allocations: 0 / 312.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.2956, allocations: 0 / 312.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.2956, allocations: 0 / 312.3 MB, free: 9.004 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001435/0.297, allocations: 0.5518 MB / 312.9 MB, free: 8.395 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.2971, allocations: 12.03 kB / 312.9 MB, free: 8.383 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.783e-05/0.2972, allocations: 58.53 kB / 312.9 MB, free: 8.316 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.2973, allocations: 27.66 kB / 312.9 MB, free: 8.289 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.2977, allocations: 258.5 kB / 313.2 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.2978, allocations: 16.38 kB / 313.2 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.2978, allocations: 16 kB / 313.2 MB, free: 7.965 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008155/0.2986, allocations: 224.3 kB / 313.4 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.2987, allocations: 0 / 313.4 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.747e-05/0.2987, allocations: 8 kB / 313.5 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.848e-06/0.2987, allocations: 4 kB / 313.5 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.2998, allocations: 219.6 kB / 313.7 MB, free: 7.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.3019, allocations: 0.8015 MB / 314.5 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.303, allocations: 222.6 kB / 314.7 MB, free: 6.418 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.303, allocations: 3.953 kB / 314.7 MB, free: 6.414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006317/0.3037, allocations: 165.2 kB / 314.9 MB, free: 6.234 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 4.879e-06/0.3037, allocations: 3.938 kB / 314.9 MB, free: 6.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.002672/0.3064, allocations: 491 kB / 315.3 MB, free: 5.723 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.3065, allocations: 85.09 kB / 315.4 MB, free: 5.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.3069, allocations: 231.4 kB / 315.7 MB, free: 5.387 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.622e-05/0.3069, allocations: 37.64 kB / 315.7 MB, free: 5.344 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3071, allocations: 164 kB / 315.8 MB, free: 5.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.3072, allocations: 39.45 kB / 315.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.3072, allocations: 0 / 315.9 MB, free: 5.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.3073, allocations: 326.8 kB / 316.2 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.3079, allocations: 92.31 kB / 316.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005048/0.3084, allocations: 147.5 kB / 316.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.3089, allocations: 121.7 kB / 316.6 MB, free: 4.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.3089, allocations: 3.953 kB / 316.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001709/0.3106, allocations: 370.6 kB / 316.9 MB, free: 4.051 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.3107, allocations: 33.7 kB / 317 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.3107, allocations: 0 / 317 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000684/0.3114, allocations: 84.81 kB / 317 MB, free: 3.926 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/0.3118, allocations: 51.91 kB / 317.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/0.3148, allocations: 1.493 MB / 318.6 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.3153, allocations: 47.91 kB / 318.6 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.3154, allocations: 4 kB / 318.6 MB, free: 2.188 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: 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 (20): * Single equations (assignments): 18 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002241/0.3156, allocations: 141.7 kB / 318.8 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.167e-05/0.3157, allocations: 23.81 kB / 318.8 MB, free: 2.016 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.3157, allocations: 21.39 kB / 318.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.3158, allocations: 0 / 318.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3158, allocations: 0 / 318.8 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3158, allocations: 4 kB / 318.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.3162, allocations: 285.4 kB / 319.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.3162, allocations: 0 / 319.1 MB, free: 1.668 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.3165, allocations: 35.97 kB / 319.1 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006244/0.3172, allocations: 76.8 kB / 319.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.3172, allocations: 4 kB / 319.2 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002804/0.32, allocations: 1.497 MB / 320.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3201, allocations: 0 / 320.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001973/0.322, allocations: 417.9 kB / 321.1 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3222, allocations: 100.9 kB / 321.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.251e-05/0.3222, allocations: 0 / 321.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.3226, allocations: 35.91 kB / 321.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.3227, allocations: 19.97 kB / 321.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3227, allocations: 4.062 kB / 321.3 MB, free: 15.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000236/0.323, allocations: 168.5 kB / 321.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.323, allocations: 0 / 321.4 MB, free: 15.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004155/0.3234, allocations: 59.84 kB / 321.5 MB, free: 15.09 MB / 266.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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002308/0.3257, allocations: 0.9486 MB / 322.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001258/0.327, allocations: 370 kB / 322.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.327, allocations: 0 / 322.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.3277, allocations: 214.8 kB / 323 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.328, allocations: 32.64 kB / 323.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.3326, allocations: 1.504 MB / 324.6 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.333, allocations: 0.7479 MB / 325.3 MB, free: 11.11 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001685/0.3332, allocations: 21.95 kB / 325.3 MB, free: 11.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001724/0.3334, allocations: 67.41 kB / 325.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3334, allocations: 3.938 kB / 325.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03278/0.3662, allocations: 4.771 MB / 330.2 MB, free: 6.297 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003023/0.3666, allocations: 221.2 kB / 330.4 MB, free: 6.047 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/2.88, allocations: 0 / 330.4 MB, free: 6.047 MB / 266.7 MB "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,Vin,Vns,Vps,c.C,c.i,c.n.i,c.n.v,c.p.i,c.p.v,c.v,der(c.v),f,ground.p.i,ground.p.v,k,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,time,vIn.V,vIn.falling,vIn.i,vIn.n.i,vIn.n.v,vIn.nperiod,vIn.offset,vIn.p.i,vIn.p.v,vIn.period,vIn.rising,vIn.signalSource.T_falling,vIn.signalSource.T_rising,vIn.signalSource.T_start,vIn.signalSource.T_width,vIn.signalSource.amplitude,vIn.signalSource.count,vIn.signalSource.falling,vIn.signalSource.nperiod,vIn.signalSource.offset,vIn.signalSource.period,vIn.signalSource.rising,vIn.signalSource.startTime,vIn.signalSource.width,vIn.signalSource.y,vIn.startTime,vIn.v,vIn.width,vOut.n.i,vOut.n.v,vOut.p.i,vOut.p.v,vOut.v