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.InvertingSchmittTrigger.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.InvertingSchmittTrigger,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_OpAmps_InvertingSchmittTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 194.8 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003409, allocations: 8 kB / 264.1 MB, free: 2.492 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.289, allocations: 44.49 MB / 308.6 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.003832/0.2929, allocations: 2.201 MB / 310.8 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.2945, allocations: 0.6441 MB / 311.4 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.2947, allocations: 4 kB / 311.4 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.133e-05/0.2948, allocations: 31.75 kB / 311.4 MB, free: 9.754 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.2952, allocations: 103.7 kB / 311.5 MB, free: 9.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.2954, allocations: 51.83 kB / 311.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.2959, allocations: 219.4 kB / 311.8 MB, free: 9.387 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.2961, allocations: 65.16 kB / 311.9 MB, free: 9.324 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001805/0.2963, allocations: 103.6 kB / 312 MB, free: 9.223 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.2965, allocations: 131.4 kB / 312.1 MB, free: 9.094 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.2966, allocations: 12 kB / 312.1 MB, free: 9.082 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.79e-05/0.2967, allocations: 19.94 kB / 312.1 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.2968, allocations: 47.81 kB / 312.2 MB, free: 9.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.581e-05/0.2969, allocations: 69.58 kB / 312.2 MB, free: 8.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.2972, allocations: 232.3 kB / 312.5 MB, free: 8.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2972, allocations: 0 / 312.5 MB, free: 8.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2973, allocations: 0 / 312.5 MB, free: 8.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.2973, allocations: 0 / 312.5 MB, free: 8.715 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001486/0.2988, allocations: 0.5833 MB / 313.1 MB, free: 8.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2988, allocations: 8.031 kB / 313.1 MB, free: 8.066 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.817e-05/0.2989, allocations: 58.55 kB / 313.1 MB, free: 8 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.189e-05/0.299, allocations: 31.7 kB / 313.2 MB, free: 7.969 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004249/0.2995, allocations: 266.5 kB / 313.4 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.2995, allocations: 12.44 kB / 313.4 MB, free: 7.656 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.39e-05/0.2996, allocations: 24 kB / 313.4 MB, free: 7.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.3004, allocations: 227.2 kB / 313.7 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3004, allocations: 0 / 313.7 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.3005, allocations: 11.94 kB / 313.7 MB, free: 7.391 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.3005, allocations: 8 kB / 313.7 MB, free: 7.383 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3016, allocations: 229.6 kB / 313.9 MB, free: 7.16 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002248/0.3038, allocations: 0.8581 MB / 314.8 MB, free: 6.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/0.3049, allocations: 222.5 kB / 315 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.305, allocations: 0 / 315 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006549/0.3056, allocations: 177.8 kB / 315.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.3057, allocations: 0 / 315.2 MB, free: 5.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.003208/0.3089, allocations: 0.5576 MB / 315.7 MB, free: 5.223 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.309, allocations: 106.8 kB / 315.8 MB, free: 5.094 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.3094, allocations: 266.6 kB / 316.1 MB, free: 4.828 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.3095, allocations: 29.7 kB / 316.1 MB, free: 4.793 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.3096, allocations: 175.8 kB / 316.3 MB, free: 4.617 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.736e-05/0.3097, allocations: 43.44 kB / 316.3 MB, free: 4.574 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.3097, allocations: 4 kB / 316.3 MB, free: 4.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3099, allocations: 334.8 kB / 316.7 MB, free: 4.234 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004721/0.3104, allocations: 91.94 kB / 316.8 MB, free: 4.145 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.311, allocations: 165.4 kB / 316.9 MB, free: 3.949 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000511/0.3115, allocations: 136.4 kB / 317 MB, free: 3.812 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3115, allocations: 0 / 317 MB, free: 3.812 MB / 250.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001807/0.3133, allocations: 407.7 kB / 317.4 MB, free: 3.398 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.3134, allocations: 45.72 kB / 317.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/0.3134, allocations: 0 / 317.5 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000779/0.3142, allocations: 100.7 kB / 317.6 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003565/0.3146, allocations: 43.97 kB / 317.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003846/0.3184, allocations: 1.766 MB / 319.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005479/0.319, allocations: 59.75 kB / 319.5 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/0.3191, allocations: 15.94 kB / 319.5 MB, free: 1.211 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002274/0.3193, allocations: 144.5 kB / 319.6 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.3194, allocations: 19.81 kB / 319.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.187e-05/0.3194, allocations: 25.83 kB / 319.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.3195, allocations: 4 kB / 319.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.3195, allocations: 0 / 319.7 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3195, allocations: 4 kB / 319.7 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.3199, allocations: 293.3 kB / 319.9 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3199, allocations: 0 / 319.9 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002599/0.3202, allocations: 27.97 kB / 320 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007289/0.3209, allocations: 92.97 kB / 320.1 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.321, allocations: 4 kB / 320.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.3245, allocations: 1.758 MB / 321.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.3246, allocations: 0 / 321.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.3262, allocations: 342 kB / 322.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3263, allocations: 104.8 kB / 322.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.476e-05/0.3264, allocations: 0 / 322.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.3268, allocations: 35.97 kB / 322.3 MB, free: 14.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3269, allocations: 23.95 kB / 322.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.327, allocations: 0 / 322.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002788/0.3273, allocations: 190 kB / 322.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3273, allocations: 0 / 322.5 MB, free: 13.94 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005526/0.3278, allocations: 75.84 kB / 322.6 MB, free: 13.86 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00195/0.3298, allocations: 0.8708 MB / 323.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001389/0.3312, allocations: 401.8 kB / 323.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3312, allocations: 0 / 323.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.3319, allocations: 230.9 kB / 324.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.3323, allocations: 40.48 kB / 324.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/0.339, allocations: 1.747 MB / 325.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.3394, allocations: 0.7557 MB / 326.6 MB, free: 9.66 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.3397, allocations: 26.42 kB / 326.6 MB, free: 9.637 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.3398, allocations: 71.41 kB / 326.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3399, allocations: 4 kB / 326.7 MB, free: 9.566 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03363/0.3735, allocations: 5.368 MB / 332.1 MB, free: 4.238 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003564/0.3739, allocations: 236.1 kB / 332.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/2.826, allocations: 0 / 332.3 MB, free: 3.988 MB / 266.7 MB "" Variables in the reference:time,opAmp.out.v,opAmp.out.i Variables in the result:R1,R2,Vin,Vns,Vps,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,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,vHys,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